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.

How Do You Evaluate a Fine-Tuned Model?

How to test a fine-tuned model against its base model, on data it never trained on, and why training scores alone are not enough, for your AI interview.

In short

Test the tuned model against the base model on held-out examples it never trained on, using real tasks and fixed scoring. Then check safety and general skills before you ship, because training scores alone do not prove it is better.

11 min readIntermediateCommon · 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.

I test a fine-tuned model like a new hire. I keep real questions out of the training data, run the base model and the tuned model on the same set, and score both the same way. Then I check that nothing got worse, such as safety or the simple formats. Training scores show the model learned something. They don't show it does the job better, so I ship only when the held-out test says so.

What does it mean to evaluate a fine-tuned model, in plain words?

Fine-tuning means training an existing model further on your own examples, so it behaves the way your work needs. Evaluating it means a fair test: did it get better at that work, and did it stay good at everything else?

Think of a bank that hires an experienced agent and gives them three months of training on its fee rules. Before they take live calls, the manager tests them on calls they have never seen, not on the practice sheet they studied from. A model needs the same kind of test.

In a real case, a bank's support assistant is tuned on 3,000 past chats so it quotes the right card fee. The question is whether it gets new fee questions right, and whether it still handles disputes and policy questions as well as it did before.

Key words

Base model
The model before your tuning. It is the baseline you must beat.
Held-out test set
Examples kept out of training and used only for scoring.
Regression
A drop in something the model used to do well.
Grader
What scores an answer: code rules, another model, or a person.

How do you build a fair test set?

Build the test set from the real work, before you train. Use the questions people actually ask, the messy ones, and the edge cases: an empty input, a fee that changed last month, a question the policy never covers.

  • “Good evals first! Only invest in fine-tuning after setting up evals.”

    OpenAI

  • “Design evals that mirror your real-world task distribution.”

    Anthropic

Keep the test set held out. OpenAI's guide calls holdout data a control group, and says the training and holdout data should have roughly the same spread of user inputs and model responses.

Watch for leakage. If near-copies of test questions sit in the training data, the score looks better than the model really is. Search for duplicates and paraphrases before you score anything.

Tip

Asked how you'd build the test set? Say real tasks first, held out from training, with the edge cases in it. Mention leakage before the interviewer does.

How do you compare and score the answers?

Run both models on the same questions, with the best prompt you can write for the base model. Split the questions into slices, groups such as fee questions or card disputes, and score each slice on its own. Comparing a tuned model against a weak baseline proves nothing, so the base model gets its best shot too.

How a tuned model is compared fairly

Held-out test set

Real tasks the model never trained on

Base model

Best prompt, no tuning

Tuned model

Same test set, same scoring

Same scoring for both

Code checks

Format, fields and exact answers

Grader model

Scores accuracy and tone by rubric

People sample

Reviews a sample of answers

Ship if no slice drops

Otherwise fix the data and retrain

  1. 1The same questions go to the base model.
  2. 2The same questions go to the tuned model.
  3. 3The base model's answers get the same checks.
  4. 4The tuned model's answers get the same checks.
  5. 5It ships only if every slice holds up.
The same held-out questions go to the base model and the tuned model, and both get the same checks. The tuned model ships only if no slice of questions gets worse.
  1. 1

    Code checks first

    Fastest and most reliable for anything with a clear right answer: exact fields, valid format, the fee in the table.

  2. 2

    A grader model for judgment

    For tone or a fair summary, a second model scores each answer against a written rubric, a checklist of what a good answer must do. Use a different model from the one that wrote the answer.

  3. 3

    People, on a sample

    Human review is the most flexible and highest quality, but slow and expensive, so sample it. Test the grader against people first, then scale it up.

Here is the release gate, the rule that blocks shipping, in plain Python, with made-up numbers for a bank's fee assistant, scored slice by slice.

Python
# Fee-answer assistant at a mid-size bank, made-up numbers: per-slice check before shipping a tuned model.
SLICES = [
    # slice, test questions, base passed, tuned passed
    ("Fee questions", 120, 96, 110),
    ("Card disputes", 80, 70, 62),
    ("Policy lookups", 100, 90, 94),
]
MAX_DROP = 2.0  # points a slice may lose against the base model
ship = True
for name, total, base, tuned in SLICES:
    b = round(100 * base / total, 1)
    t = round(100 * tuned / total, 1)
    gap = round(t - b, 1)
    verdict = "ok" if gap >= -MAX_DROP else "BLOCK"
    if verdict == "BLOCK":
        ship = False
    print(f"{name}: base {b}%, tuned {t}%, change {gap:+}, {verdict}")
print("Ship" if ship else "Do not ship: a slice got worse")

Output

Fee questions: base 80.0%, tuned 91.7%, change +11.7, ok
Card disputes: base 87.5%, tuned 77.5%, change -10.0, BLOCK
Policy lookups: base 90.0%, tuned 94.0%, change +4.0, ok
Do not ship: a slice got worse

What else can go wrong after tuning?

Tuning can help one task and quietly hurt another. The research name is catastrophic forgetting: the model loses what it learned earlier while it learns something new.

  • “Catastrophic forgetting (CF) is a phenomenon that occurs in machine learning when a model forgets previously learned information while acquiring new knowledge”

    Luo and colleagues, 2023

  • “Our red teaming studies find that the safety alignment of LLMs can be compromised by fine-tuning with only a few adversarially designed training examples.”

    Qi and colleagues, 2023

Safety is a separate check. The 2023 red-teaming study found that a few adversarial examples could compromise safety training, and that ordinary, commonly used data can weaken it too, to a lesser extent.

OpenAI's guide adds the same warning: its own safety checks cover many categories, but you should still conduct your own evaluations of the fine-tuned model for your use case.

Keep the scores honest. A small test set gives noisy numbers, so a gain of a few points can be luck. Report each slice with its count, not one headline number.

Loss needs care too. OpenAI says the metrics saved with each checkpoint (a saved version of the model during training) help judge usefulness. Validation loss, the error on a check set during training, is still only a training signal. Pick the checkpoint on a validation set, then score the final model on a separate test set you never tuned on.

How would you decide to ship a tuned model?

Offline scores come first. Then a small live test: the tuned model answers a slice of real traffic while the base model serves the rest, and the team compares quality, cost and speed.

  1. 1

    Offline gate

    Every slice holds up against the base model, and the safety check passes.

  2. 2

    Live slice

    A small share of real traffic goes to the tuned model, with a way to switch back fast.

  3. 3

    Cost and speed check

    Compare the price per token with the base model, then count the full cost per task, including prompt length. A tuned model may let you cut long instructions, so check that too.

What does the interviewer want to hear?

A strong answer covers

  • Test the tuned model against the base model, with the same prompt and the same held-out set.
  • Holdout data never seen in training, with the same spread of inputs as the training data.
  • Score in layers: code checks, a grader model against a rubric, and a sample of people.
  • Check each slice and the regressions, including safety and general skills.
  • Training loss is a signal. It does not prove the model does the job better.
  • Say what happens when the gate fails: fix the data, then retrain.

Common traps

  • Trap"The training loss went down, so it works."

    BetterLoss is a training signal. Judge the model on a held-out test set it never saw in training.

  • Trap"I tested it on the examples we trained it with."

    BetterThose scores are inflated by leakage. Keep a holdout set that is never used for training.

  • Trap"It wins overall, so we ship."

    BetterAn overall win can hide a slice that got worse. Gate on every slice and on safety.

Can you spot the problem?

Spot the problem

A colleague posts four results in the team channel. Which one hides the real risk?

Quick check

A tuned model beats the base model overall. What must you check next?

Can you answer these from memory?

Flash cards · tap a card to flip it

1 / 6

What will they ask next?

  1. Q296What is catastrophic forgetting?12 min
  2. Q297How do you spot overfitting during fine-tuning?11 min
  3. Q309Can fine-tuning weaken safety behaviour?Coming soon
  4. Q249What is LLM-as-a-judge?12 min
  5. Q248What is a golden dataset, and how do you build one?11 min
  6. Q256Capability evals vs regression evals?10 min

Learn it in depth

Last updated on 26 November 2026

Building a model on your team's own data?

I design and build AI agents, including the test sets, scoring and release gates they need before any training run. Book a short call and tell me what the model gets wrong today.