DFlash-CT-b7-ep3
Draft model for speculative decoding with Qwen/Qwen3-8B as the target, from the LongDSpec study
(multi-step denoising drafters). Fine-tuned from deepseek-ai/dflash_qwen3_8b_block7.
ContinueTrain (control for DFlash-PM): same data, steps, seed and hyperparameters, but p_full = 1, i.e. only the released all-[MASK] task.
Usage
Drop-in replacement for the released DFlash drafter (Qwen3DSparkModel.from_pretrained, DeepSpec). Target model: Qwen/Qwen3-8B (hidden states of 5 target layers are inputs).
Training data
Prompts from mlabonne/open-perfectblend (user-first conversations, deduplicated, 8-gram decontaminated against
MT-Bench, GSM8K, HumanEval, MATH-500, MBPP), answers regenerated by Qwen3-8B (non-thinking, temperature 0.7,
top-p 0.8, top-k 20, max 4096 tokens).
Hyperparameters
| arg | value |
|---|---|
target |
Qwen/Qwen3-8B |
draft |
deepseek-ai/dflash_qwen3_8b_block7 |
max_length |
4096 |
p_full |
1.0 |
gamma |
4.0 |
accum |
16 |
micro_batch |
1 |
max_batch_tokens |
16384 |
lr |
0.0001 |
warmup |
0.04 |
epochs |
3.0 |
max_steps |
None |
max_examples |
None |
eval_every |
500 |
eval_seqs |
64 |
num_checkpoints |
6 |
save_every |
2000 |
state_every |
1000 |
compile |
False |
target_device |
None |
num_anchors |
None |
seed |
20261118 |
wandb |
online |
wandb_project |
longdspec-drafters |
wandb_name |
None |
hub_repo |
auto |
hub_private |
False |
keep_final |
False |
Steps: 18567 (one RTX PRO 6000).
Train vs held-out curve
teacher-forced metrics on 64 held-out and 64 fixed training sequences (fixed anchors and masks per evaluation): fullmask = all-[MASK] blocks (released K=1 usage), trainmix = the training block mix; accept_len = mean greedy accepted length per block, ce = the training loss.
| step | gap_full_mask_ce | heldout_full_mask_accept_len | heldout_full_mask_ce | train_full_mask_accept_len | train_full_mask_ce |
|---|---|---|---|---|---|
| 0 | 0.1013 | 4.5145 | 0.9727 | 4.6889 | 0.8715 |
| 500 | 0.1455 | 4.4799 | 0.9312 | 4.6791 | 0.7856 |
| 1000 | 0.1655 | 4.3784 | 0.9665 | 4.6553 | 0.8010 |
| 1500 | 0.1845 | 4.3590 | 0.9774 | 4.6764 | 0.7928 |
| 2000 | 0.2049 | 4.3621 | 0.9835 | 4.7058 | 0.7786 |
| 2500 | 0.2114 | 4.3593 | 0.9841 | 4.7105 | 0.7728 |
| 3000 | 0.2216 | 4.3634 | 0.9857 | 4.7396 | 0.7641 |
| 3500 | 0.2286 | 4.3585 | 0.9834 | 4.7265 | 0.7548 |
| 4000 | 0.2338 | 4.3471 | 0.9851 | 4.7632 | 0.7514 |
| 4500 | 0.2316 | 4.3379 | 0.9865 | 4.7473 | 0.7549 |
| 5000 | 0.2412 | 4.3478 | 0.9837 | 4.7953 | 0.7425 |
| 5500 | 0.2416 | 4.3598 | 0.9834 | 4.7933 | 0.7418 |
| 6000 | 0.2462 | 4.3634 | 0.9836 | 4.7908 | 0.7374 |
| 6500 | 0.2952 | 4.3627 | 1.0020 | 4.8592 | 0.7068 |
| 7000 | 0.2934 | 4.3734 | 0.9969 | 4.8702 | 0.7035 |
| 7500 | 0.3191 | 4.3791 | 0.9973 | 4.9475 | 0.6782 |
| 8000 | 0.3222 | 4.3901 | 0.9960 | 4.9519 | 0.6737 |
| 8500 | 0.3442 | 4.3849 | 0.9969 | 5.0187 | 0.6527 |
| 9000 | 0.3448 | 4.3728 | 0.9919 | 5.0268 | 0.6471 |
| 9500 | 0.3495 | 4.3857 | 0.9889 | 5.0406 | 0.6393 |
| 10000 | 0.3662 | 4.3800 | 0.9889 | 5.0800 | 0.6227 |
| 10500 | 0.3655 | 4.3959 | 0.9825 | 5.0993 | 0.6170 |
| 11000 | 0.3716 | 4.3948 | 0.9823 | 5.1228 | 0.6106 |
| 11500 | 0.3742 | 4.4075 | 0.9795 | 5.1306 | 0.6053 |
| 12000 | 0.3779 | 4.4069 | 0.9781 | 5.1411 | 0.6002 |
| 12500 | 0.4401 | 4.4043 | 1.0170 | 5.2035 | 0.5769 |
| 13000 | 0.4485 | 4.4107 | 1.0145 | 5.2396 | 0.5660 |
| 13500 | 0.4538 | 4.4104 | 1.0174 | 5.2554 | 0.5636 |
| 14000 | 0.4603 | 4.4062 | 1.0155 | 5.2877 | 0.5552 |
| 14500 | 0.4641 | 4.4109 | 1.0160 | 5.2977 | 0.5519 |
| 15000 | 0.4637 | 4.4075 | 1.0138 | 5.3026 | 0.5501 |
| 15500 | 0.4670 | 4.4077 | 1.0153 | 5.3155 | 0.5483 |
| 16000 | 0.4675 | 4.4100 | 1.0140 | 5.3155 | 0.5465 |
| 16500 | 0.4713 | 4.4124 | 1.0147 | 5.3236 | 0.5435 |
| 17000 | 0.4723 | 4.4132 | 1.0141 | 5.3267 | 0.5418 |
| 17500 | 0.4718 | 4.4168 | 1.0133 | 5.3322 | 0.5414 |
| 18000 | 0.4727 | 4.4162 | 1.0136 | 5.3340 | 0.5409 |
| 18500 | 0.4726 | 4.4159 | 1.0135 | 5.3346 | 0.5409 |
| 18567 | 0.4726 | 4.4157 | 1.0136 | 5.3338 | 0.5409 |
Speculative-decoding evaluation (acceptance length, latency) is reported separately; this card only records training.
- Downloads last month
- 18
Model tree for Mye0n9/DFlash-CT-b7-ep3
Base model
deepseek-ai/dflash_qwen3_8b_block7