esc
  • WorkflowsPages
  • Case studiesPages
  • Machine Learning FoundationsLearn
  • AI EngineeringLearn
  • AI Guardrails & Red TeamingLearn
  • UI/UXLearn
  • Design SystemsLearn
  • Production System DesignLearn
  • AI papersPages
  • Interview KitPages
  • Book a callContact
  • Download ResumeContact
Let’s talk

I’ll build the agent for it.

Pretraining vs Fine-Tuning vs Instruction Tuning, Explained

The three training steps behind a chat model, what each one changes and when to use it, explained simply for your AI interview.

In short

Pretraining teaches a model general language from a huge amount of text. Fine-tuning trains that model further on a smaller, chosen dataset, and instruction tuning is the kind of fine-tuning that teaches it to follow requests.

10 min readBeginnerVery common · estimateFacts checked 26 November 2026

Say it out loud

Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.

Pretraining is the big first step. The model reads a huge amount of text and learns to predict the next token, which is a small piece of text. Fine-tuning trains it further on a smaller, chosen dataset. Instruction tuning is one kind of fine-tuning, using requests paired with good answers, so the model learns to follow instructions. For a real product I try a better prompt first, and I fine-tune only when a gap is left.

What are pretraining, fine-tuning and instruction tuning, in plain words?

Training a chat model happens in layers, a bit like a new analyst at a bank. First they spend years learning to read and write in general. Then the bank trains them on mortgage rules. Then on how to talk to a worried customer. Each stage uses the same person, but a different kind of study.

For an AI model the layers are the same. Pretraining is the broad first stage. Fine-tuning is more training on a narrower dataset. Instruction tuning is one kind of fine-tuning. A model that has finished pretraining but no tuning is called a base model.

Key words

Pretraining
The first and biggest training run. The model reads huge amounts of unlabelled text and learns to predict the next token, a small piece of text such as a word or part of one.
Base model
What pretraining leaves behind. Strong at language, but not yet trained to take requests.
Fine-tuning
More training on a smaller, chosen dataset. It changes the weights, the numbers inside the model.
Instruction tuning
Fine-tuning on pairs of a request and a good answer, so the model follows instructions.
RLHF
Reinforcement learning from human feedback. People rank answers, and the model learns their preferences.

How is pretraining different from fine-tuning?

Both steps change the model's weights, so both are training. The difference is the data and the goal. Pretraining uses a huge, broad pile of text with no labels, and its goal is general language skill. Fine-tuning uses a smaller, chosen set of examples, and its goal is one behaviour or one job.

The GPT-3 paper from 2020 describes the older two-step recipe as "pre-training on a large corpus of text followed by fine-tuning on a specific task". The same paper warns that this approach still needs task-specific datasets of thousands or tens of thousands of examples. So a team usually starts from a base model that someone else pretrained.

  • Pretraining

    Broad and expensive

    A huge pile of unlabelled text with one goal: predict the next token. Few teams run it themselves, since it needs huge data and compute.

  • Fine-tuning

    Narrow and cheaper

    A smaller set of examples, chosen for one job. It changes the weights of a model you already have.

  • Instruction tuning

    Requests and good answers

    A kind of fine-tuning. Each example is a request paired with an answer a person would call good.

What does instruction tuning add, and what is RLHF?

A base model only continues text. Give it a request such as "Summarise this claim for the adjuster" and it may write more of a claim form, because a base model is trained to continue text, not to answer it.

The FLAN paper defines instruction tuning as "finetuning language models on a collection of tasks described via instructions". Its result was that this training makes a model better at tasks it never saw during training.

  • “Making language models bigger does not inherently make them better at following a user's intent.”

    InstructGPT paper (OpenAI, 2022)

  • “Instruction tuning teaches a base language model to follow user instructions and engage in conversations.”

    Hugging Face, TRL documentation

Anthropic's glossary says Claude is built on a model that has been fine-tuned and trained using RLHF. The InstructGPT paper ran the steps in order. First came supervised fine-tuning on human-written demonstrations. Then people ranked outputs, and the model learned from those rankings with reinforcement learning.

On the paper's own prompts, the human raters preferred a 1.3 billion parameter tuned model over the 175 billion parameter GPT-3. In that test, the training method mattered more than size.

Where does each step fit in the pipeline?

Prompting sits outside this pipeline. The GPT-3 paper describes its few-shot use as "without any gradient updates or fine-tuning", with examples given in the prompt itself.

From raw text to a chat model

Huge text pile

books, code, web pages, no labels

Pretraining

learns to predict the next token

Tuning steps

Instruction tuning

request and good answer pairs

Ranked answers (RLHF)

people pick the better reply

Chat model

follows requests, holds a chat

Your task model

tuned on your reviewed cases

  1. 1The model reads a huge pile of text and guesses each next token.
  2. 2The base model then learns from request and answer pairs.
  3. 3People rank its answers, and it learns which ones they like.
  4. 4The result is a chat model that follows requests.
  5. 5Your own reviewed cases tune it once more for one job.
Pretraining gives a base model. Instruction tuning and RLHF then turn it into a chat model, and your own reviewed cases tune it once more for one job.

Take a hospital's discharge-note helper. The chat model already writes fluent English, so it can draft a note. What it gets wrong is the hospital's layout. Tuning it on 2,000 signed-off notes in that layout fixes the layout. The medicine list stays out of the tuned weights and comes from the patient record when the helper runs, so a dose change needs no retraining.

How would you decide whether a bank's assistant needs fine-tuning?

A card bank runs a support assistant. Its dispute replies must follow a fixed format, and its fee answers must match a fee table that changes every month.

OpenAI's guide sets the order plainly: "Only invest in fine-tuning after setting up evals." So the team scores its current assistant before it spends any effort on training.

  1. 1

    Measure first

    Score 200 past chats for format and accuracy. That is the baseline every change must beat.

  2. 2

    Try a better prompt

    Add clearer rules and a few examples. Suppose 4 in every 100 dispute replies still break the format.

  3. 3

    Fine-tune for the format

    Tune on 2,000 reviewed chats that show the right layout, if your vendor still offers fine-tuning. Fine-tuning can help a model format replies the same way every time.

  4. 4

    Fetch the fees

    Keep fees out of the training data. The app pulls the current table when it answers, so a fee change needs no retraining.

  5. 5

    Re-run the same evals

    Score the tuned model on the same 200 chats, and again after each fee change.

Tip

Check the vendor's current docs before you plan a fine-tune. OpenAI says it is winding down its fine-tuning platform. It is no longer open to new users, and existing users can create training jobs for the coming months.

What does the interviewer want to hear?

A strong answer covers

  • Pretraining: a huge general text pile and next-token prediction, which gives a base model.
  • Fine-tuning: more training on a smaller, chosen dataset, which changes the weights.
  • Instruction tuning: a kind of fine-tuning on request and good answer pairs.
  • RLHF: a later step where people rank answers. Many chat models use it.
  • Order of choice: a better prompt, then evals, then fine-tuning for behaviour and format.
  • Facts that change belong in retrieved documents, not in tuned weights.

Common traps

  • Trap"Fine-tuning is how you teach the model new facts."

    BetterIt mostly shapes behaviour and format. Facts that change go in documents the app fetches.

  • Trap"Instruction tuning is a different thing from fine-tuning."

    BetterIt is a kind of fine-tuning. Its data is request and good answer pairs.

  • Trap"Fine-tuning always beats a good prompt."

    BetterOnly when evals show a gap that a better prompt cannot close.

Can you spot the wrong step?

Spot the wrong step

A claims team plans an assistant for triage. Which line in the plan is wrong?

Quick check

An insurer wants its claims assistant to reply in a fixed format, and it already uses a chat model. Which step fits?

Can you answer these from memory?

Flash cards · tap a card to flip it

1 / 6

What will they ask next?

  1. Q017Base model vs chat/instruct model?11 min
  2. Q110Where is the line between prompting and fine-tuning?11 min
  3. Q281Fine-tune vs RAG vs prompting: when to use which?10 min
  4. Q282What is full fine-tuning?10 min
  5. Q288What is RLHF?10 min
  6. Q296What is catastrophic forgetting?12 min

Learn it in depth

Last updated on 26 November 2026

Deciding how to train or tune an AI assistant for your team?

I design and build AI products and agents, including the data, evals and guardrails behind them. Book a short call and tell me what your assistant gets wrong today.