A draft model is the smaller, faster model in speculative decoding. It proposes candidate tokens for a larger target model to accept or reject. When enough candidates are accepted, generation can speed up without reducing quality; frequent rejections can make it slower. section 12.3
Choose a draft model that:
- Shares the target model’s tokenizer. section 12.3
- Is much smaller than the target and belongs to the same model family. section 12.3
LM Studio pairing
A demonstrated pairing uses Llama 3.2 1B Instruct (4-bit quantized) as the draft model and Llama 3.2 3B Instruct (4-bit quantized) as the target. section 12.3
Figure 12.8 Speculative Decoding in action with the Llama 3.2 3B Instruct (target) and Llama 3.2 1B Instruct (draft) models in LM Studio
View the draft and target models working together in LM Studio’s speculative decoding display. section 12.3
