Downloads · 30 days
55
13% of all-time downloads
shanjiaz/Qwen3-4B-speculator-b8-dpard.dspark
Qwen3-4B-speculator-b8-dpard.dspark is a text generation model from shanjiaz. Use it when you need the model to write or continue text. It is set up for speculators. The card lists the license as apache-2.0.
This repository contains a DSpark speculative decoding draft model trained for Qwen/Qwen3-4B. It proposes up to eight tokens per decoding iteration and was trained with the D-PARD position-weighting objective.
Downloads · 30 days
55
13% of all-time downloads
All-time downloads
417
Public
Parameters
615M
1.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.2 GB · 100%
From the Hugging Face model README
This repository contains a DSpark speculative decoding draft model trained for
Qwen/Qwen3-4B. It proposes up to eight
tokens per decoding iteration and was trained with the D-PARD position-weighting
objective.
This is a research checkpoint intended for use with
vllm-project/speculators and
vLLM. It is not a standalone language model.
Qwen/Qwen3-4BThe model was trained for one epoch from git commit
25f4e15859e58d6b1826083ef052f076f4480574.
speculators: 0.7.0.dev150The full invocation is included in train_command.txt.
| Metric | Value |
|---|---|
| Loss | 0.6648 |
| D-PARD credit | 2.4728 |
| Acceptance rate | 0.6981 |
| Acceptance length | 4.9210 |
| Full accuracy | 0.7152 |
The checkpoint was evaluated with the D-PARD evaluation implementation on
RedHatAI/speculator_benchmarks, using temperature 0, maximum generation length
128, maximum concurrency 128, and up to 200 requests per category.
| Category | Acceptance length |
|---|---|
| HumanEval | 5.2533 |
| Math reasoning | 6.0775 |
| QA | 4.3466 |
| Question | 4.3991 |
| RAG | 4.3387 |
| Summarization | 3.2217 |
| Tool call | 4.1933 |
| Translation | 4.6091 |
| Writing | 4.3966 |
| Weighted overall | 4.7397 |
The weighted overall result is computed as
1 + total accepted speculative tokens / total draft iterations.
Under the same evaluation settings,
RedHatAI/Qwen3-4B-speculator.dspark
achieved a weighted acceptance length of 4.7543. Results were very close and
varied by category.
Use this repository as the speculative model for Qwen/Qwen3-4B with a version
of vLLM and speculators that supports DSpark. Keep the verifier model and
tokenizer set to Qwen/Qwen3-4B; the configured speculative-token count is 8.