A
DFlash 2
draft model for
Qwen/Qwen3.8-27B
, fine-tuned from
z-lab/Qwen3.8-27B-DFlash2
for longer drafts. It is not a standalone language model: it proposes tokens that the target model then verifies (speculative decoding). Made for
qwen-spec
, which runs Qwen3.8-27B on Apple silicon and uses this head by default (
write-up
).
What changed
A DFlash 2 head guesses a whole block of upcoming tokens in one pass. The original head was trained for blocks of 8 tokens, and its guesses beyond the 15th position are rarely right. This head was trained for blocks of 32 tokens on Qwen3.8's own thinking-mode answers: positions 1 to 8 are as accurate as before, positions 9 to 31 are right about 25% more often. The gain shows up when the drafts are long enough to use those positions.
Accepted tokens per pass on a MacBook Pro (M5, 4-bit Qwen3.8-27B, exact sampling), each head with a draft tree of 32 tokens:
original head
this head
GSM8K (thinking)
6.0
7.0 (+16%)
chat (thinking)
3.9
4.2 (+7%)
HumanEval
11.9
15.5 (+30%)
Training
Data: 25.7K prompts from public chat, math and code sets, each answered once by Qwen3.8-27B in thinking mode with its recommended sampling settings (110M tokens). The permissively licensed part (17K prompts, 54M tokens) is published as
JonasLoos/Qwen3.8-27B-thinking-completions
.
Qwen3.8-27B-DFlash2-b32 huggingface.co is an AI model on huggingface.co that provides Qwen3.8-27B-DFlash2-b32's model effect (), which can be used instantly with this JonasLoos Qwen3.8-27B-DFlash2-b32 model. huggingface.co supports a free trial of the Qwen3.8-27B-DFlash2-b32 model, and also provides paid use of the Qwen3.8-27B-DFlash2-b32. Support call Qwen3.8-27B-DFlash2-b32 model through api, including Node.js, Python, http.
Qwen3.8-27B-DFlash2-b32 huggingface.co is an online trial and call api platform, which integrates Qwen3.8-27B-DFlash2-b32's modeling effects, including api services, and provides a free online trial of Qwen3.8-27B-DFlash2-b32, you can try Qwen3.8-27B-DFlash2-b32 online for free by clicking the link below.
JonasLoos Qwen3.8-27B-DFlash2-b32 online free url in huggingface.co:
Qwen3.8-27B-DFlash2-b32 is an open source model from GitHub that offers a free installation service, and any user can find Qwen3.8-27B-DFlash2-b32 on GitHub to install. At the same time, huggingface.co provides the effect of Qwen3.8-27B-DFlash2-b32 install, users can directly use Qwen3.8-27B-DFlash2-b32 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Qwen3.8-27B-DFlash2-b32 install url in huggingface.co: