A
DSpark draft model
for speculative decoding with
unsloth/Llama-3.2-3B-Instruct
as the verifier, trained with
speculators
. The drafter proposes 8 tokens at a time and the verifier checks them in one forward pass, so output is identical to running the verifier alone — a lossless speedup. Mean acceptance length is
3.27
tokens committed per verification step, up to
4.92
on math_reasoning.
Then query the OpenAI-compatible endpoint at
http://localhost:8000/v1
.
Details
5 Qwen3 layers (hidden size 3072, intermediate size 8192, 24 attention heads over 8 KV heads, sliding-window attention with a 2048-token window), ~0.9B params, bfloat16. Block size 8, draft vocabulary reduced to 50,000, aux hidden-state layers 2/8/14/20/26, confidence head with Markov (rank 256).
Trained for 3 epochs at lr 3e-4 (AdamW, cosine schedule with 4% warmup) on 100,000
Open PerfectBlend
prompts regenerated by the verifier itself, split 96/4 into train and validation, with a
{"ce": 0.1, "tv": 0.9}
loss. Prompts prepared at 1024 tokens; training sequence length 8192, up to 1024 anchors per sample. Verifier hidden states were pulled on demand from a running vLLM server during training and deleted after use rather than staged to disk up front. speculators
0.8.0.dev207
, vLLM
0.28.0
, transformers
5.15.1
, torch
2.13.0
.
Evaluation
evaluate.py throughput
across the nine
RedHatAI/speculator_benchmarks
subsets.
acceptance_length
is mean tokens committed per verification step, including the bonus token — floor 1.0, ceiling 9.0 at block size 8.
subset
acceptance_length
pos_0
pos_1
pos_2
pos_3
pos_4
pos_5
pos_6
pos_7
math_reasoning
4.915
86.8%
72.7%
60.9%
50.7%
40.8%
33.5%
26.2%
19.9%
HumanEval
4.837
84.9%
70.5%
58.8%
49.0%
40.6%
33.1%
26.3%
20.6%
tool_call
3.345
72.5%
52.2%
37.1%
26.8%
18.7%
12.8%
8.7%
5.5%
question
2.870
65.7%
42.8%
27.7%
18.5%
12.8%
9.1%
6.0%
4.2%
writing
2.842
65.9%
42.2%
27.3%
17.9%
12.2%
8.6%
5.9%
4.2%
rag
2.726
64.9%
41.7%
26.7%
17.5%
10.4%
6.2%
3.5%
1.9%
summarization
2.549
64.9%
39.3%
23.7%
13.6%
7.2%
3.8%
1.7%
0.7%
translation
2.538
64.1%
40.2%
23.6%
12.9%
6.8%
3.1%
1.9%
1.3%
qa
2.288
56.8%
32.7%
18.4%
10.2%
5.3%
2.8%
1.7%
0.9%
Weighted across all subsets: 3.269
over 73,086 verification steps.
Acceptance is still highest where the verifier's next token is most predictable — math, code, structured tool calls. math_reasoning and HumanEval are nearly indistinguishable and hold their lead all the way through the block: math_reasoning's pos_4 (40.8%) is above summarization's pos_1 (39.3%), and both still accept about one token in five at pos_7. tool_call sits on its own at 3.34, roughly halfway between the two groups.
The prose-like subsets all start in a narrow band at pos_0 (57–66%) and separate only deeper into the block. question and writing decay gently and are still above 4% at pos_7, while summarization, translation, and qa are under 1.5% there — so the tail of the block is worth something on open-ended generation but essentially nothing on summarization and qa.
Limitations
Works only with
Llama-3.2-3B-Instruct
and is not usable as a standalone model. Acceptance falls off steeply past the first few positions on prose-like traffic (summarization, translation, qa), so a block size of 8 is mostly wasted there — the gains concentrate in math, code, and tool calls. Real-world speedup depends on your traffic mix, and because verification is lossless, the verifier's own behavior and biases carry through unchanged.
License
Llama 3.2 Community License, inherited from the verifier. The
speculators
training code is Apache-2.0.
Runs of rasyosef Llama-3.2-3B-Instruct-DSpark on huggingface.co
169
Total runs
1
24-hour runs
7
3-day runs
21
7-day runs
166
30-day runs
More Information About Llama-3.2-3B-Instruct-DSpark huggingface.co Model
More Llama-3.2-3B-Instruct-DSpark license Visit here:
Llama-3.2-3B-Instruct-DSpark huggingface.co is an AI model on huggingface.co that provides Llama-3.2-3B-Instruct-DSpark's model effect (), which can be used instantly with this rasyosef Llama-3.2-3B-Instruct-DSpark model. huggingface.co supports a free trial of the Llama-3.2-3B-Instruct-DSpark model, and also provides paid use of the Llama-3.2-3B-Instruct-DSpark. Support call Llama-3.2-3B-Instruct-DSpark model through api, including Node.js, Python, http.
Llama-3.2-3B-Instruct-DSpark huggingface.co is an online trial and call api platform, which integrates Llama-3.2-3B-Instruct-DSpark's modeling effects, including api services, and provides a free online trial of Llama-3.2-3B-Instruct-DSpark, you can try Llama-3.2-3B-Instruct-DSpark online for free by clicking the link below.
rasyosef Llama-3.2-3B-Instruct-DSpark online free url in huggingface.co:
Llama-3.2-3B-Instruct-DSpark is an open source model from GitHub that offers a free installation service, and any user can find Llama-3.2-3B-Instruct-DSpark on GitHub to install. At the same time, huggingface.co provides the effect of Llama-3.2-3B-Instruct-DSpark install, users can directly use Llama-3.2-3B-Instruct-DSpark installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Llama-3.2-3B-Instruct-DSpark install url in huggingface.co: