PromptItIn logoPromptItIn
AI glossary · Training

Instruction Tuning

Supervised fine-tuning on diverse instruction-response pairs to improve a model's ability to follow commands.

PromptItIn team

A bookshelf with one card pulled out

What it means

Instruction tuning is a form of supervised fine-tuning where the training data consists of natural-language instructions paired with high-quality responses across a wide variety of tasks — summarisation, translation, Q&A, coding, brainstorming, and more.

The model learns to interpret what a human wants from a directive and generate an appropriate response, even for task types not explicitly seen during tuning.

This generalisation to new instructions is the defining characteristic of instruction-tuned models and is what makes models like GPT-4, Claude, and Llama Instruct so much more useful than their base counterparts for everyday tasks.

Examples

  • Training on 52,000 instruction-output pairs from the Stanford Alpaca dataset to transform Llama 7B into a capable instruction-following assistant.
  • Google's FLAN instruction-tuning dataset containing over 1,800 tasks expressed as natural-language instructions.

Fine-Tuning

Continuing training of a pretrained model on a smaller, task-specific dataset to specialise its behaviour.

Reinforcement Learning from Human Feedback

A training technique that uses human preference ratings to align model outputs with human values.

Supervised Learning

Training a model on input-output pairs where the correct output is provided as a label.

Put this into practice

PromptItIn applies techniques like instruction tuning for you: describe what you want and it builds the prompt.

Try PromptItIn freeAdd to Chrome, free

You might also like

Fine-Tuning AI Models Explained →How to Use AI for Customer Support →Stable Diffusion →Poe →Write API Documentation →Write Meta Descriptions →
← Browse the AI prompt glossary