Safetensors
llama
speculative-decoding
eagle-4

AI Singapore SEA-LION v5, Qwen 3.5 9B, SpecDecoder

Model Card for Qwen-SEA-LION-v5-9B-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-9B-SpecDecoder is a draft model for speculative decoding with aisingapore/Qwen-SEA-LION-v5-9B: 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 is an EAGLE-4 model: a single-layer autoregressive draft head that reads hidden states from three layers of aisingapore/Qwen-SEA-LION-v5-9B and drafts a tree of candidate tokens, which the target model verifies in one pass.

  • 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 (EAGLE-4, autoregressive with a draft tree)
  • Target model: aisingapore/Qwen-SEA-LION-v5-9B
  • 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-9B with this drafter using the EAGLE-4 fork of vLLM; see the EAGLE-4 quickstart for installation:

vllm serve aisingapore/Qwen-SEA-LION-v5-9B \
  --tensor-parallel-size 1 \
  --load-format instanttensor \
  --speculative-config '{"method": "eagle_harness", "model": "aisingapore/Qwen-SEA-LION-v5-9B-SpecDecoder", "method_config": {"mode": "static", "node_top_k": 4, "tree_depth": 14, "max_verify_width": 16}}' \
  --attention-backend CUSTOM \
  --linear-backend flashinfer_cutedsl \
  --enable-chunked-prefill

The server is OpenAI-compatible; call it as shown in the aisingapore/Qwen-SEA-LION-v5-9B 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-9B model card for out-of-scope use.

Bias, Risks, and Limitations

Output quality, bias and safety are those of aisingapore/Qwen-SEA-LION-v5-9B; 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:

Training Procedure

Training had two stages. In the first, the EAGLE-4 backbone, initialized with random weights, was trained together with an LM head initialized from aisingapore/Qwen-SEA-LION-v5-9B's. In the second, an efficient LM head, initialized from a singular value decomposition (SVD) of the stage-1 LM head, was trained.

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. Baseline and MTP results were measured with commit 0e5943d85d of the vLLM fork, with these sampling settings:

  • Maximum number of generated tokens: 4096
  • Temperature: 1.0
  • top_k: 20
  • top_p: 0.95
  • thinking enabled

EAGLE-4 results were measured with the EAGLE-4 fork of vLLM.

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 z-lab/Qwen3.5-9B-DFlash. This is the recommended setting for concurrency 1.
  • For the EAGLE-4 tests, the settings are node_top_k = 4, tree_depth = 14, max_verify_width = 16.
Dataset Baseline (aisingapore/Qwen-SEA-LION-v5-9B) w/ MTP w/ a diffusion drafter (z-lab/Qwen3.5-9B-DFlash) w/ Our SpecDecoder (aisingapore/Qwen-SEA-LION-v5-9B-SpecDecoder)
gsm8k 195.2 357.2/3.032 415.2/3.532 526.2/4.456
math500 195.4 368.5/3.113 464.6/3.858 536.8/4.469
humaneval 194.9 326.6/2.755 380.2/3.129 485.7/3.953
mbpp 194.2 331.5/2.801 388.8/3.228 474.4/3.861
mt-bench 195.3 335.5/2.837 372.2/3.066 441.5/3.487
Burmese 194.7 370.5/3.071 320.5/2.645 557.6/4.523
Filipino 195.2 378.7/3.136 423.5/3.497 601.1/4.926
Indonesian 194.9 329.1/2.727 336.6/2.777 457.6/3.598
Malay 195.2 349.7/2.900 370.6/3.060 497.1/3.982
Tamil 194.6 358.4/2.970 346.5/2.857 537.0/4.319
Thai 195 341.6/2.833 291.7/2.412 465.8/3.706
Vietnamese 195 346.2/2.871 336.7/2.773 481.5/3.821

Other settings are vLLM defaults.

Concurrency

The table below shows the throughput of aisingapore/Qwen-SEA-LION-v5-9B without speculative decoding at each concurrency.

Dataset 1 8 16 32 64
gsm8k 195.2 1229.6 1821.2 2617.5 3139.2
math500 195.4 1294.4 2232.2 3445.7 4829.6
humaneval 194.9 1318.7 2373.2 3941.8 5795.5
mbpp 194.2 1295.7 2289.2 3433.1 4757.6
mt-bench 195.3 1248.7 2180.8 3147.8 4547.9
Burmese 194.7 1317.2 2383.8 4020.6 5634.4
Filipino 195.2 1275.5 2345.3 3674.7 5309.4
Indonesian 194.9 1311.8 2406.9 3938.2 5432
Malay 195.2 1305.6 2352.2 3836.6 5398.9
Tamil 194.6 1323 2454.6 3886.7 6030.4
Thai 195 1296.2 2311.6 3544.7 5115.2
Vietnamese 195 1351.4 2363.4 3835.9 5521.7

The table below shows the results with the drafter, as throughput/acceptance length (speed-up over the baseline). The drafter's settings were node_top_k = 4, tree_depth = 14, max_verify_width = 16. For concurrencies of 32 and above, enabling speculative decoding with aisingapore/Qwen-SEA-LION-v5-9B-SpecDecoder may not improve the throughput as compared to the baseline.

Dataset 1 8 16
gsm8k 526.2/4.46 (2.70×) 2279.2/4.32 (1.85×) 2736.4/4.26 (1.50×)
math500 536.8/4.47 (2.75×) 2397.6/4.51 (1.85×) 3035.7/4.51 (1.36×)
humaneval 485.7/3.95 (2.49×) 2205.7/3.99 (1.67×) 2669.8/3.93 (1.12×)
mbpp 474.4/3.86 (2.44×) 2085.7/3.83 (1.61×) 2591.0/3.81 (1.13×)
mt-bench 441.5/3.49 (2.26×) 1941.7/3.52 (1.55×) 2321.2/3.46 (1.06×)
Burmese 557.6/4.52 (2.86×) 2445.9/4.56 (1.86×) 3046.8/4.53 (1.28×)
Filipino 601.1/4.93 (3.08×) 2495.5/4.71 (1.96×) 3233.4/4.84 (1.38×)
Indonesian 457.6/3.60 (2.35×) 1973.3/3.51 (1.50×) 2405.5/3.48 (1.00×)
Malay 497.1/3.98 (2.55×) 2152.6/3.92 (1.65×) 2690.4/3.98 (1.14×)
Tamil 537.0/4.32 (2.76×) 2348.2/4.32 (1.77×) 2942.7/4.29 (1.20×)
Thai 465.8/3.71 (2.39×) 2027.8/3.64 (1.56×) 2452.1/3.65 (1.06×)
Vietnamese 481.5/3.82 (2.47×) 2140.9/3.78 (1.58×) 2635.2/3.78 (1.12×)

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

sealion@aisingapore.org

Downloads last month
38
Safetensors
Model size
2B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Datasets used to train aisingapore/Qwen-SEA-LION-v5-9B-SpecDecoder

Collection including aisingapore/Qwen-SEA-LION-v5-9B-SpecDecoder