Nanbeige4.3-33B Draft 3B

A draft model for speculative decoding of Nanbeige4.3-33B, distilled from the 33B. These are the merged bf16 weights. For llama.cpp, use the GGUF: shefowl/Nanbeige4.3-33B-Draft-3B-GGUF. Its card has the full speed tables and training details. Unofficial, not affiliated with Nanbeige.

With thinking on, the Q4_K_M GGUF speeds up the 33B by +26% on average on an RX 7900 XTX (Vulkan) and by +50% on an L40S (CUDA). Math gains the most and chat the least.

What it is

Nanbeige4.2-3B loops its 22 layers twice, which makes it too slow to be a useful draft. This model runs those layers once, as a plain LlamaForCausalLM (22 layers, hidden size 3072, untied embeddings), and is healed by distillation from the 33B:

  • LoRA rank 256 on all attention and MLP projections, with the norms trained fully. The adapter is merged here.
  • The loss is cross-entropy against the 33B's top-20 next-token probabilities, on 2M tokens of the 33B's own answers with thinking.

On 320k held-out tokens it agrees with the 33B's top token 72.5% of the time, against 40% before healing.

The vocabulary is padded with zero rows to the 33B's 166,912 tokens, so the two models share token ids. No custom code is needed.

We tested it only in llama.cpp, not with transformers' assisted generation or vLLM.

License

Apache-2.0, the license of both Nanbeige4.2-3B and Nanbeige4.3-33B.

Downloads last month
33
Safetensors
Model size
4B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for shefowl/Nanbeige4.3-33B-Draft-3B

Finetuned
(22)
this model
Quantizations
1 model

Collection including shefowl/Nanbeige4.3-33B-Draft-3B