liveBook · Manning

Draft model

As explained in Domain-Specific Small Language Models

The smaller, faster model in speculative decoding that proposes candidate tokens for verification by a target model.

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

How Domain-Specific Small Language Models covers it

How deep it goes
Defines the proposal and verification roles, selection criteria, and acceptance tradeoffs without detailing decoding internals.
Examples
Pairs Llama 3.2 1B Instruct with Llama 3.2 3B Instruct as draft and target models.
What you can do after
Configure a draft model in LM Studio by selecting it alongside a compatible target model.
How it connects
Connects speculative decoding to target models and shared tokenizers.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Domain-Specific Small Language Models. The section links point to the parts of the book it draws on.