Eagle3-Qwen3-4B-Instruct-2507-zh is a retrained version of the open-source
Qwen3-4B-Instruct-2507. It is designed to work with the Eagle-3 speculative decoding algorithm and provides
Chinese/English text acceleration capabilities. The model aims to speed up the inference process of large language models during the decoding phase. Trained on a mixed Chinese and English dataset, it optimizes Chinese acceptance rates and is suitable for inference tasks involving both Chinese and English text.
We used the open-source codebase
SpecForge to train and obtain Eagle-3 weights compatible with the Qwen3-4B-Instruct-2507 (non-thinking mode), providing Chinese/English text acceleration capabilities.
1python3 -m sglang.launch_server \
2--model-path Qwen/Qwen3-4B-Instruct-2507 \
3--speculative-algo EAGLE3 \
4--speculative-draft Zjcxy-SmartAI/Eagle3-Qwen3-4B-Instruct-2507-zh \
5--speculative-num-steps 5 \
6--speculative-eagle-topk 4 \
7--speculative-num-draft-tokens 16 \
8--dtype float16 \
9--port 30000 \
10--mem-fraction 0.7 \
11--cuda-graph-max-bs 16 \
12--cuda-graph-bs {1,2,3,4}
To launch the original model service (for comparative experiments) using SGLang, here is the instruction:
1python -m sglang.launch_server \
2--model Qwen/Qwen2.5-14B-Instruct \
3--port 30000 \
4--mem-fraction 0.7 \
5--tp-size 2 \
6--cuda-graph-max-bs 16 \
7--cuda-graph-bs {1,2,3,4}
We conducted performance testing on a single NVIDIA RTX 4090 GPU setup, using the multi-turn dialogue MT-bench dataset. Both the English and Chinese versions of the MT-bench dataset were utilized. Specifically, the Chinese version of the dataset was first processed via the official service of
Tongyi Qianwen, followed by manual revisions.The test results are presented below: