A speculative decoding draft head for
Qwen/Qwen3-8B
, trained using the
EAGLE3
method on Google Cloud TPU with the
SpecJAX
framework.
EAGLE3 draft heads accelerate autoregressive generation by proposing multiple tokens per step that a target model then verifies in parallel — typically achieving 2-3x throughput gains with no change in output quality.
Qwen3 supports an optional thinking mode (
/think
and
/no_think
tokens). This draft head was trained on generic instruction-following data and is compatible with both modes:
This model uses
EAGLE3
's Test-Time Training (TTT) objective with a rollout length of 7. At each training step, the draft head autoregressively proposes 7 tokens; the target model provides ground-truth hidden states and logits for all positions; a geometric loss (0.8^k weighting) trains the draft to match the target at each position.
Qwen3's architecture includes per-head QK RMSNorm and tied word embeddings. The draft head is trained to match Qwen3's output distribution at every speculative position.
Performance
Token acceptance rates on generic instruction-following data (ShareGPT-style prompts):
Position
Acceptance Rate
acc_0 (1st draft token)
60.0%
acc_1
56.7%
acc_2
55.0%
acc_3
53.8%
acc_4
52.6%
acc_5
51.5%
acc_6
50.4%
Measured on held-out evaluation data. Actual throughput gains depend on hardware, prompt distribution, and runtime version.
Model Architecture
The draft head is a single-layer transformer that operates on the target model's hidden states:
Parameter
Value
Architecture
LlamaForCausalLM
(1 decoder layer)
Hidden size
4096
Attention heads
32 (GQA: 8 KV heads)
Vocabulary size
151,936 (full target vocab)
Draft vocab size
32,000 (top tokens by training frequency)
Parameters
~350M
Limitations
Trained on English-dominant instruction data; performance may degrade on non-English inputs or highly domain-specific content.
Acceptance rates are measured on generic chat data (non-thinking mode) and may differ under extended thinking prompts.
This is a v1 checkpoint trained on generic data. A v2 with target-model-regenerated training data is planned.
License
This model is released under the
Apache License 2.0
, consistent with the base model's license.
References
@article{li2025eagle3,
title={EAGLE3: Scalable Speculative Decoding with Training-Free Multi-Draft Speculation},
author={Li, Yuhui and Wei, Fangyun and Zhang, Chao and Zhang, Hongyang},
journal={arXiv preprint arXiv:2503.01840},
year={2025}
}
Runs of thoughtworks Qwen3-8B-Eagle3 on huggingface.co
234
Total runs
-13
24-hour runs
-18
3-day runs
-6
7-day runs
14
30-day runs
More Information About Qwen3-8B-Eagle3 huggingface.co Model
Qwen3-8B-Eagle3 huggingface.co is an AI model on huggingface.co that provides Qwen3-8B-Eagle3's model effect (), which can be used instantly with this thoughtworks Qwen3-8B-Eagle3 model. huggingface.co supports a free trial of the Qwen3-8B-Eagle3 model, and also provides paid use of the Qwen3-8B-Eagle3. Support call Qwen3-8B-Eagle3 model through api, including Node.js, Python, http.
Qwen3-8B-Eagle3 huggingface.co is an online trial and call api platform, which integrates Qwen3-8B-Eagle3's modeling effects, including api services, and provides a free online trial of Qwen3-8B-Eagle3, you can try Qwen3-8B-Eagle3 online for free by clicking the link below.
thoughtworks Qwen3-8B-Eagle3 online free url in huggingface.co:
Qwen3-8B-Eagle3 is an open source model from GitHub that offers a free installation service, and any user can find Qwen3-8B-Eagle3 on GitHub to install. At the same time, huggingface.co provides the effect of Qwen3-8B-Eagle3 install, users can directly use Qwen3-8B-Eagle3 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.