Model Card for Qwen-SEA-LION-v5-397B-A17B-Plus-SpecDecoder
Last update: 2026-11-23
SEA-LION is a collection of Large Language Models (LLMs) built for Southeast Asia (SEA). Qwen-SEA-LION-v5-397B-A17B-Plus-SpecDecoder is a draft model for speculative decoding with aisingapore/Qwen-SEA-LION-v5-397B-A17B-Plus: it proposes tokens ahead and the target model verifies them, so it is only used together with the target model.
Model Description
SEA-LION stands for Southeast Asian Languages In One Network. The drafter pairs a lightweight block diffusion model (DFlash), which proposes a whole block of tokens in one parallel forward pass, with an XPress causal refiner that restores the dependencies between tokens in the block before aisingapore/Qwen-SEA-LION-v5-397B-A17B-Plus verifies it.
- Developed by: AI Products Pillar, AI Singapore
- Funded by: National Research Foundation Singapore
- Shared by: AI Products Pillar, AI Singapore
- Model type: Draft model for speculative decoding (DFlash block diffusion with an XPress refiner)
- Target model: aisingapore/Qwen-SEA-LION-v5-397B-A17B-Plus
- Language(s): Burmese, Chinese, English, Indonesian, Filipino, Malay, Tamil, Thai, and Vietnamese
- License: MIT
- Repository: SEA-LION v5 - an aisingapore Collection
Getting Started
Serve aisingapore/Qwen-SEA-LION-v5-397B-A17B-Plus with this drafter using the prod branch of the vLLM fork:
vllm serve aisingapore/Qwen-SEA-LION-v5-397B-A17B-Plus \
--tensor-parallel-size 8 \
--enable-expert-parallel \
--speculative-config '{"method": "dflash", "model": "aisingapore/Qwen-SEA-LION-v5-397B-A17B-Plus-SpecDecoder", "num_speculative_tokens": 15}' \
--attention-backend flash_attn \
--reasoning-parser qwen3 \
--enable-auto-tool-choice \
--tool-call-parser qwen3_coder
The server is OpenAI-compatible; call it as shown in the aisingapore/Qwen-SEA-LION-v5-397B-A17B-Plus model card.
Out-of-Scope Use
The drafter only proposes tokens; the target model decides what is generated. See the aisingapore/Qwen-SEA-LION-v5-397B-A17B-Plus model card for out-of-scope use.
Bias, Risks, and Limitations
Output quality, bias and safety are those of aisingapore/Qwen-SEA-LION-v5-397B-A17B-Plus; see its model card. The speed-up depends on the prompt, the language and the concurrency (see Evaluation).
Training
Training Data
The training data comes from:
- aisingapore/SEA-Instruct-2602
- nvidia/Nemotron-SFT-Math-v4
- nvidia/Nemotron-SFT-Competitive-Programming-v2
Training Procedure
The DFlash backbone was warm-started from z-lab/Qwen3.5-397B-A17B-DFlash and extended with the convolutions from Inco-AI's DFlash2 and an XPress head, following the architecture of Wang et al..
Evaluation
We benchmarked the drafter on 128 prompts per Southeast Asian language from aisingapore/SEA-Instruct-2602, and on gsm8k, math500, humaneval, mbpp and mt-bench with prompts from their Hugging Face datasets. All results were measured with commit 0e5943d85d of the vLLM fork above, with these sampling settings:
- Maximum number of generated tokens: 4096
- Temperature: 1.0
- top_k: 20
- top_p: 0.95
- thinking enabled
The table below shows throughput in tokens per second and acceptance length, as throughput/acceptance length, at concurrency 1:
- For MTP, the number of speculative tokens was set to 4.
- The number of speculative tokens was set to 15 for both diffusion drafters.
| Dataset | Baseline (aisingapore/Qwen-SEA-LION-v5-397B-A17B-Plus) |
w/ MTP | w/ a Drafter (z-lab/Qwen3.5-397B-A17B-DFlash) |
w/ Our SpecDecoder (aisingapore/Qwen-SEA-LION-v5-397B-A17B-Plus-SpecDecoder) |
|---|---|---|---|---|
| gsm8k | 117.2 | 279.1/3.813 | 287.3/5.100 | 340.3/6.334 |
| math500 | 117 | 283.9/3.869 | 298.1/5.290 | 327.8/6.079 |
| humaneval | 116.8 | 256.0/3.521 | 228.2/3.985 | 247.0/4.557 |
| mbpp | 117.2 | 274.1/3.734 | 275.7/4.838 | 292.9/5.440 |
| mt-bench | 116.9 | 247.9/3.349 | 201.6/3.457 | 225.8/4.099 |
| Burmese | 116.5 | 253.4/3.465 | 139.1/2.332 | 259.1/4.742 |
| Filipino | 116.9 | 239.5/3.222 | 154.6/2.585 | 235.1/4.219 |
| Indonesian | 116.9 | 228.1/3.076 | 156.4/2.619 | 198.1/3.551 |
| Malay | 116.8 | 241.4/3.269 | 170.8/2.891 | 222.9/4.033 |
| Tamil | 116.9 | 245.5/3.292 | 138.6/2.297 | 245.0/4.377 |
| Thai | 116.8 | 229.4/3.109 | 145.7/2.442 | 196.8/3.530 |
| Vietnamese | 117 | 226.2/3.031 | 148.6/2.485 | 193.1/3.444 |
Other settings are vLLM defaults.
Concurrency
The table below shows the throughput of aisingapore/Qwen-SEA-LION-v5-397B-A17B-Plus without speculative decoding at each concurrency. Other settings:
- The KV cache precision was set to FP8.
| Dataset | 1 | 8 | 16 | 32 | 64 |
|---|---|---|---|---|---|
| gsm8k | 116.4 | 540.9 | 840.3 | 1112.2 | 1378.3 |
| math500 | 116.2 | 566.5 | 888.1 | 1293.6 | 1842.4 |
| humaneval | 115.7 | 552.2 | 839.4 | 1138.9 | 1522.5 |
| mbpp | 116.2 | 572.3 | 812.7 | 1171.3 | 1393.2 |
| mt-bench | 116.3 | 536.6 | 819.4 | 1190.9 | 1415 |
| Burmese | 115.5 | 563.7 | 873.2 | 1283 | 1782.1 |
| Filipino | 116 | 569.5 | 894.9 | 1289.4 | 1820.1 |
| Indonesian | 116.2 | 568.6 | 889.6 | 1301.5 | 1802.7 |
| Malay | 116 | 565.5 | 877 | 1232.8 | 1697.2 |
| Tamil | 116.1 | 574.2 | 913.4 | 1350.6 | 1871 |
| Thai | 116 | 563.1 | 874.7 | 1233 | 1706 |
| Vietnamese | 116.1 | 570 | 885.3 | 1319 | 1806.4 |
The table below shows the results with the drafter, without adaptive verification, as throughput/acceptance length (speed-up over the baseline). Other settings:
- The number of speculative tokens was set to 15 in all cases.
- The KV cache precision was set to FP8.
- Adaptive verification was disabled. GPU memory limits the concurrency to 35.
| Dataset | 1 | 8 | 16 | 32 |
|---|---|---|---|---|
| gsm8k | 331.0/6.08 (2.84×) | 1253.2/6.03 (2.32×) | 1769.7/5.98 (2.11×) | 2219.0/6.05 (2.00×) |
| math500 | 339.3/6.20 (2.92×) | 1272.0/6.12 (2.25×) | 1951.2/6.07 (2.20×) | 2872.9/6.21 (2.22×) |
| humaneval | 256.1/4.69 (2.21×) | 959.9/4.61 (1.74×) | 1474.6/4.59 (1.76×) | 1908.4/4.68 (1.68×) |
| mbpp | 295.1/5.47 (2.54×) | 1176.3/5.36 (2.06×) | 1749.0/5.47 (2.15×) | 2022.3/5.38 (1.73×) |
| mt-bench | 224.1/4.01 (1.93×) | 867.4/4.03 (1.62×) | 1239.5/3.99 (1.51×) | 1676.2/4.05 (1.41×) |
| Burmese | 262.7/4.72 (2.27×) | 1014.4/4.68 (1.80×) | 1542.0/4.73 (1.77×) | 2254.5/4.75 (1.76×) |
| Filipino | 238.0/4.20 (2.05×) | 942.6/4.22 (1.66×) | 1415.9/4.19 (1.58×) | 1976.7/4.22 (1.53×) |
| Indonesian | 199.7/3.53 (1.72×) | 781.1/3.53 (1.37×) | 1212.5/3.53 (1.36×) | 1720.3/3.54 (1.32×) |
| Malay | 224.0/4.00 (1.93×) | 843.6/3.98 (1.49×) | 1337.9/4.05 (1.53×) | 1829.8/4.00 (1.48×) |
| Tamil | 247.0/4.35 (2.13×) | 986.6/4.42 (1.72×) | 1524.8/4.37 (1.67×) | 2146.9/4.36 (1.59×) |
| Thai | 194.1/3.44 (1.67×) | 771.1/3.52 (1.37×) | 1168.8/3.50 (1.34×) | 1631.5/3.53 (1.32×) |
| Vietnamese | 197.1/3.46 (1.70×) | 769.4/3.46 (1.35×) | 1188.8/3.46 (1.34×) | 1686.8/3.44 (1.28×) |
The table below shows the results with the drafter, with adaptive verification, as throughput/acceptance length (speed-up over the baseline). Other settings:
- The number of speculative tokens was set to 15 in all cases.
- The KV cache precision was set to FP8.
- GPU memory limits the concurrency to 15.
| Dataset | 1 | 8 | 15 |
|---|---|---|---|
| gsm8k | 364.6/5.88 (3.13×) | 1299.4/5.74 (2.40×) | 1842.2/5.93 (2.19×) |
| math500 | 356.1/5.68 (3.06×) | 1430.1/6.00 (2.52×) | 2007.7/5.90 (2.26×) |
| humaneval | 291.5/4.32 (2.52×) | 1147.7/4.40 (2.08×) | 1565.1/4.54 (1.86×) |
| mbpp | 322.9/5.00 (2.78×) | 1267.7/5.20 (2.21×) | 1913.5/5.31 (2.35×) |
| mt-bench | 258.2/3.70 (2.22×) | 1013.5/3.77 (1.89×) | 1421.9/3.88 (1.74×) |
| Burmese | 290.2/4.33 (2.51×) | 1194.0/4.47 (2.12×) | 1613.7/4.56 (1.85×) |
| Filipino | 267.7/3.84 (2.31×) | 1129.3/3.98 (1.98×) | 1538.4/4.09 (1.72×) |
| Indonesian | 235.3/3.27 (2.02×) | 989.6/3.29 (1.74×) | 1365.8/3.45 (1.54×) |
| Malay | 259.0/3.73 (2.23×) | 1050.7/3.72 (1.86×) | 1454.9/3.94 (1.66×) |
| Tamil | 277.6/3.99 (2.39×) | 1174.1/4.17 (2.04×) | 1592.2/4.28 (1.74×) |
| Thai | 231.7/3.24 (2.00×) | 960.9/3.27 (1.71×) | 1313.4/3.40 (1.50×) |
| Vietnamese | 231.2/3.20 (1.99×) | 975.3/3.19 (1.71×) | 1344.6/3.38 (1.52×) |
Column headers are concurrency values. Each language has 128 prompts from SEA-Instruct.
Team
AI Products Pillar, AI Singapore
Acknowledgement
This project is supported by the National Research Foundation Singapore and Infocomm Media Development Authority (IMDA), Singapore under its National Large Language Model Funding Initiative.
Contact
- Downloads last month
- 72
