Topic 3 of 6 · 4 min read
Where fine-tuning actually wins
Goal: Identify which of several product problems fine-tuning would solve better than prompting and name the evidence that would prove it.
Fine-tuning wins when you need the same behaviour thousands of times, and a prompt cannot hold it steadily or cheaply. It teaches a pattern. It does not add knowledge or general reasoning.
Check yourself · 1 of 3
Which problem is fine-tuning most likely to solve better than prompting?
Where it tends to pay off
- Consistent format and voice. A house style, a strict output layout or a brand tone that drifts across prompts.
- Narrow classification and extraction. Routing tickets, tagging documents, pulling fields from invoices. With a few thousand labelled examples a small tuned model can match a big prompted one on this single task.
- Reliable tool calls. Picking the right function and arguments from your own API, where prompting still leaves errors.
- Shorter prompts. Long instructions and many examples are paid for on every request. Training them in lets you drop most of them.
- Lower latency and cost. A small tuned model can replace a large model on one task. Distillation is the usual route: use a strong model to produce or label training data, then train a small one on it.
Where it usually does not
Open-ended reasoning, broad new knowledge, and tasks whose requirements change each month. A tune freezes a snapshot of the behaviour.
What evidence to ask for
- A baseline from the best prompted setup, scored on held-out inputs.
- A target in numbers: for example, "invalid JSON under 1 percent" or "cost per thousand requests halved at equal accuracy".
- A training set of real, reviewed examples, not outputs from the model being replaced, unless distilling on purpose.
- A held-out test that the tuned model is scored on, with the same metric as the baseline.
Before and after
Weak: "Outputs feel more on-brand after tuning, so it worked."
Better: "On 300 held-out tickets, the prompted large model scores 88 percent on label accuracy and costs 10 units per thousand. The tuned small model scores 90 percent at 1 unit per thousand. Prompt length dropped from 1,800 tokens to 120."
What goes wrong
- Tuning on too little or noisy data. The model copies mistakes and quirks in the labels.
- Overfitting. It scores well on training-like inputs and fails on new ones; only the held-out test shows it.
- Forgetting. A narrow tune can weaken other abilities, so test a few unrelated tasks too.
- Tuning for a moving target. If the format or policy changes monthly, retraining becomes a recurring cost.
Examples
Invoice field extraction
A finance team pulls 12 fields from supplier invoices. The best prompted large model reaches 94 percent field accuracy. A small model tuned on 4,000 reviewed invoices reaches 96 percent at a tenth of the per-request cost, and the 900-token prompt becomes 80 tokens.
Not a tuning problem
A legal assistant must reason about new case law each week. The need is fresh facts plus careful reasoning. Tuning would freeze last month's knowledge, so retrieval and a stronger model are the first tools.
Key points
- Fine-tuning teaches a repeatable behaviour; it is not a way to add knowledge or broad reasoning.
- Good candidates are fixed formats and tone, narrow classification, reliable tool calls, shorter prompts and cheaper models for one task.
- Distillation trains a small model on a strong model's outputs for one task, to cut cost and latency.
- Proof means a prompted baseline, a numeric target and a held-out test with the same metric.
- Check for overfitting and forgetting, and avoid tuning behaviour that changes every month.
Common mistakes
- Calling a tune successful because outputs look better on a handful of samples.
- Training on outputs from the model you hope to replace without a review step.
- Skipping a held-out test and a check on unrelated tasks.
- Tuning a behaviour that the team changes every few weeks.
Check yourself · 2 of 3
A tuned model replaces a long prompt on a high-volume task. What is the direct cost benefit?
Check yourself · 3 of 3
A team says their tuned model is better because outputs read nicely. What evidence should you ask for?
Practice items, not counted towards your mastery.
Start here
- Model optimization guide (OpenAI) (opens in a new tab)DocsFree
A provider's own loop of evals, prompt changes and fine-tuning, in the order to try them.
- Fine-tuning large language models (Hugging Face LLM Course) (opens in a new tab)CourseFree
Supervised fine-tuning with open-weight models, from data format to training run.
- Is fine-tuning still valuable? (Hamel Husain) (opens in a new tab)ArticleFree
A practitioner's view of when fine-tuning pays off and when evals and data come first.
More for this topic
- Distilling the Knowledge in a Neural Network (opens in a new tab)PaperFree
The classic idea of training a small model to copy a large one, used to move tasks to cheaper models.