Large Language Models

Instruction Tuning

Instruction tuning is a training stage that teaches a pre-trained language model to follow directions by showing it many examples of instructions paired with good responses.

What is instruction tuning?

Instruction tuning is the supervised training step that turns a base language model into one that answers requests. After pre-training, a model is good at continuing text but poor at taking direction: asked to summarize a memo, it may keep writing the memo. Instruction tuning fine-tunes the model on a large set of examples, each pairing an instruction (“Extract the invoice total and due date”) with a well-written response. Preference training such as RLHF or DPO usually follows, refining tone, safety, and judgment between acceptable answers.

Why instruction tuning matters

Almost every model a business uses is instruction-tuned, often labeled “instruct” or “chat” in its name, and the quality of that tuning shapes everyday behavior: whether the model respects a requested format, stops when it has answered, honors a system prompt, and calls tools correctly. Two models with identical pre-training can behave very differently after different instruction tuning. A retailer evaluating models for a product description assistant will find that some follow a 60-word limit exactly and others ignore it, and the difference is tuning rather than size. Companies can also run their own instruction tuning on in-house examples to teach a model their formats and procedures.

What to watch for

  • Deploy the instruction-tuned variant for applications; the base model is for further training only.
  • Instruction tuning on narrow in-house data can erode general ability, so test broadly after training.
  • The chat template a model was tuned with must be used exactly, or quality drops for no visible reason.

← Back to AI Glossary