Skip to content

Instruction Tuning

A variant of SFT: fine-tuning the model on pairs of «instruction → correct answer». Teaches the model to execute instructions rather than continue text.

Why

A base model on a request like «translate to English: hello» may continue it as text. Instruction tuning teaches it to recognize the command and respond appropriately.

Data Format

{"instruction": "Translate to French", "input": "Hello", "output": "Bonjour"}

Outcome

  • the model follows instructions;
  • understands «do X in format Y»;
  • becomes a useful assistant rather than a «text predictor».

This is the first mandatory step post-training after pre-training.

See Also

← All Terms