Downloads · 30 days
8
25% of all-time downloads
jgeuter/qwen3-4b-dpard-thinking-b16
qwen3-4b-dpard-thinking-b16 is a machine learning model from jgeuter. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
DFlash draft model (3 layers, block size 16) for speculative decoding of Qwen/Qwen3-4B in thinking mode.
Downloads · 30 days
8
25% of all-time downloads
All-time downloads
32
Public
Parameters
322M
645 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors645 MB · 100%
From the Hugging Face model README
DFlash draft model (3 layers, block size 16) for speculative decoding of Qwen/Qwen3-4B in thinking mode.
Training objective: D-PARD: full-vocabulary Rényi-half divergence with detached position weights from exact rejection-sampling acceptance (dpard_alpha = 0.5).
jgeuter/ShareGPT-Qwen3-4B-T0.6-Thinking-Regen: 36,315 ShareGPT conversations regenerated by Qwen3-4B with thinking enabled (T=0.6, top-p 0.95, top-k 20, 32k token budget), expanded to 101,212 per-turn training samples (only the final assistant turn of each sample is supervised, reasoning included; chat template with thinking enabled; max sequence length 8192).
SpecForge (offline feature capture from Qwen3-4B layers [1, 17, 33]), AdamW, lr 6e-4 cosine with 4% warmup, global batch 4, 6 epochs, 512 anchors per sequence, grad clip 1.0, bf16, seed 42. Matches the D-PARD/D-PACE paper recipe except sequence length (8192 vs 3072) and the thinking-mode corpus.
Serve with SGLang:
python -m sglang.launch_server \
--model-path Qwen/Qwen3-4B \
--speculative-algorithm DFLASH \
--speculative-draft-model-path jgeuter/qwen3-4b-dpard-thinking-b16 \
--reasoning-parser qwen3
These are research artifacts for comparing DFlash / D-PACE / D-PARD training objectives on thinking-mode data.