PromptItIn logoPromptItIn
AI glossary · Training

Supervised Learning

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

PromptItIn team

A bookshelf with one card pulled out

What it means

In supervised learning, the training data consists of (input, label) pairs and the model learns a function mapping inputs to outputs by minimising the difference between its predictions and the ground-truth labels.

For language models, supervised fine-tuning uses (prompt, response) pairs where a human or expert has written the ideal response. This contrasts with the unsupervised pretraining phase where labels are derived from the data itself (predicting the next token).

Supervised learning is highly data-efficient when high-quality labelled examples are available, but labelling at scale is expensive. Most alignment and instruction tuning pipelines begin with a supervised fine-tuning (SFT) phase.

Examples

  • Training a text classifier on 10,000 emails labelled as spam or not-spam using logistic regression.
  • The SFT phase of InstructGPT: fine-tuning GPT-3 on 13,000 human-written prompt-response pairs before RLHF.

Fine-Tuning

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

Instruction Tuning

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

Unsupervised Learning

Training a model on raw data without human-provided labels, discovering structure autonomously.

Put this into practice

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

Try PromptItIn freeAdd to Chrome, free

You might also like

How to Use Role in AI Prompts →Prompt Engineering Guide 2026: What Actually Works →Few-Shot Prompt Formatter →Defining the Task in Your AI Prompt →Stable Diffusion →Poe →
← Browse the AI prompt glossary