rasyosef / Llama-3.2-1B-Instruct-speculator.dspark

huggingface.co
Total runs: 144
24-hour runs: 0
7-day runs: 13
30-day runs: 144
Model's Last Updated: September 09 2026

Introduction of Llama-3.2-1B-Instruct-speculator.dspark

Model Details of Llama-3.2-1B-Instruct-speculator.dspark

Llama-3.2-1B-Instruct-speculator.dspark

A DSpark draft model for speculative decoding with unsloth/Llama-3.2-1B-Instruct as the verifier, trained with speculators . The drafter proposes 4 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.

Training code: rasyosef/train-dspark-draft-models .

Trained on 5,000 samples as a pipeline demonstration, not a deployment-ready drafter.

Usage

vLLM loads the verifier automatically from the config — don't pass it separately.

vllm serve rasyosef/Llama-3.2-1B-Instruct-speculator.dspark --port 8000 --gpu-memory-utilization 0.75

Then query the OpenAI-compatible endpoint at http://localhost:8000/v1 .

Details

3 Qwen3 layers (hidden size 2048, intermediate size 8192, 32 attention heads over 8 KV heads, sliding-window attention with a 2048-token window), ~0.3B params, bfloat16. Block size 4, draft vocabulary reduced to 32,000, aux hidden-state layers 2/5/8/11/14, confidence head with Markov (rank 256).

Trained for 3 epochs at lr 4e-4 on 5,000 Magpie prompts regenerated by the verifier itself, with a {"ce": 0.1, "tv": 0.9} loss. Sequence length 2048, up to 384 anchors per sample. Offline mode: verifier hidden states were generated to disk by a vLLM server before training. 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 5.0 at block size 4.

subset drafts acceptance_length pos_0 pos_1 pos_2 pos_3
HumanEval 24,239 2.171 0.280 0.166 0.093 0.053
math_reasoning 8,353 1.874 0.316 0.136 0.055 0.018
writing 16,888 1.781 0.217 0.105 0.045 0.022
question 16,709 1.745 0.214 0.087 0.034 0.017
tool_call 25,594 1.741 0.229 0.098 0.031 0.013
qa 8,492 1.585 0.185 0.072 0.029 0.011
rag 3,285 1.572 0.147 0.060 0.025 0.007
summarization 14,347 1.389 0.144 0.039 0.008 0.002
translation 2,864 1.354 0.131 0.029 0.006 0.001

Weighted across all subsets: 1.776 over 120,771 verification steps. Acceptance is highest where the verifier's next token is most predictable — code and math — and lowest on translation and summarization. Note that math_reasoning has the best first-position acceptance of any subset but falls behind HumanEval overall, because code stays predictable deeper into the block while math drops off sharply after the first token.

Validation at the end of training: accept rate 0.441, acceptance length 2.069, full-block accuracy 0.477, per-position accuracy 0.572 / 0.495 / 0.444 / 0.396. The gap between these and the benchmark numbers is the usual in-distribution effect — validation is held-out Magpie, the benchmarks are not.

Limitations

Trained on only 5,000 samples, so acceptance would improve with more data. Works only with Llama-3.2-1B-Instruct and is not usable as a standalone model. Real-world speedup depends on your traffic mix, and because verification is lossless, the verifier's own behavior and biases carry through unchanged.

Related

yosefw/Qwen3-0.6B-DSpark — same pipeline with Qwen/Qwen3-0.6B as the verifier.

License

Llama 3.2 Community License, inherited from the verifier. The speculators training code is Apache-2.0.

Runs of rasyosef Llama-3.2-1B-Instruct-speculator.dspark on huggingface.co

144
Total runs
0
24-hour runs
2
3-day runs
13
7-day runs
144
30-day runs

More Information About Llama-3.2-1B-Instruct-speculator.dspark huggingface.co Model

More Llama-3.2-1B-Instruct-speculator.dspark license Visit here:

https://choosealicense.com/licenses/llama3.2

Llama-3.2-1B-Instruct-speculator.dspark huggingface.co

Llama-3.2-1B-Instruct-speculator.dspark huggingface.co is an AI model on huggingface.co that provides Llama-3.2-1B-Instruct-speculator.dspark's model effect (), which can be used instantly with this rasyosef Llama-3.2-1B-Instruct-speculator.dspark model. huggingface.co supports a free trial of the Llama-3.2-1B-Instruct-speculator.dspark model, and also provides paid use of the Llama-3.2-1B-Instruct-speculator.dspark. Support call Llama-3.2-1B-Instruct-speculator.dspark model through api, including Node.js, Python, http.

Llama-3.2-1B-Instruct-speculator.dspark huggingface.co Url

https://huggingface.co/rasyosef/Llama-3.2-1B-Instruct-speculator.dspark

rasyosef Llama-3.2-1B-Instruct-speculator.dspark online free

Llama-3.2-1B-Instruct-speculator.dspark huggingface.co is an online trial and call api platform, which integrates Llama-3.2-1B-Instruct-speculator.dspark's modeling effects, including api services, and provides a free online trial of Llama-3.2-1B-Instruct-speculator.dspark, you can try Llama-3.2-1B-Instruct-speculator.dspark online for free by clicking the link below.

rasyosef Llama-3.2-1B-Instruct-speculator.dspark online free url in huggingface.co:

https://huggingface.co/rasyosef/Llama-3.2-1B-Instruct-speculator.dspark

Llama-3.2-1B-Instruct-speculator.dspark install

Llama-3.2-1B-Instruct-speculator.dspark is an open source model from GitHub that offers a free installation service, and any user can find Llama-3.2-1B-Instruct-speculator.dspark on GitHub to install. At the same time, huggingface.co provides the effect of Llama-3.2-1B-Instruct-speculator.dspark install, users can directly use Llama-3.2-1B-Instruct-speculator.dspark installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Llama-3.2-1B-Instruct-speculator.dspark install url in huggingface.co:

https://huggingface.co/rasyosef/Llama-3.2-1B-Instruct-speculator.dspark

Url of Llama-3.2-1B-Instruct-speculator.dspark

Llama-3.2-1B-Instruct-speculator.dspark huggingface.co Url

Provider of Llama-3.2-1B-Instruct-speculator.dspark huggingface.co

rasyosef
ORGANIZATIONS

Other API from rasyosef

huggingface.co

Total runs: 5.1K
Run Growth: 794
Growth Rate: 15.69%
Updated:October 07 2025
huggingface.co

Total runs: 659
Run Growth: 598
Growth Rate: 90.74%
Updated:October 07 2025
huggingface.co

Total runs: 7
Run Growth: 0
Growth Rate: 0.00%
Updated:September 16 2024