AI Dojo Open on the typewriterThe typewriter

An exercise to try

Pick a checkpoint

15 minutes
Assumes: you know what catastrophic forgetting is and why to test outside the task.
First published 19 November 2026. Last edited 19 November 2026.

The checkpoint with the lowest validation loss is not always the one to ship. Choosing one means weighing the new skill against the old ones, by a rule written before the numbers arrive.

Time
15 minutes
What you need
This page and a place to write. No chatbot or code is needed.

Illustration. The fine-tune, its checkpoints and every score here are invented teaching material, not results from a real run.

The run

The library assistant was fine-tuned, trained further on example requests with correct answers, to give the library's own shelf codes. Training changes the model's weights, the numbers it has learned, a little at each step. The run saved a checkpoint, a snapshot of the weights, every 100 steps. Each checkpoint was scored on three things, and so was the baseline: the same model before fine-tuning, with a good prompt.

  • Loss: validation loss, the training penalty measured on the validation examples. Lower means the model predicts their answers more closely. If it starts to rise while training goes on, the model may be overfitting: fitting its training examples so closely that it does worse on new ones.
  • Target: correct shelf codes on 200 validation requests.
  • Older: 100 older-skills checks, things the assistant did well before this fine-tune, such as answering from the notice and citing passages. They are validation examples too. A retention set, checks unrelated to the assistant's job, would run beside them; it is left out here to keep the numbers few.
ModelLossTarget /200Older /100
Baseline1.129090
Step 1000.9215089
Step 2000.8116283
Step 3000.8817075

Two kinds of examples matter. Validation examples are scored at every checkpoint and used to choose between them. The test set, also called the held-out test set, is a separate batch of shelf-code requests kept away from every decision and has not been opened. It stays sealed because any requests you look at while choosing become part of the choice, so only untouched requests can give an honest score for the checkpoint you pick.

The rule, written before training by the librarian who owns the assistant: the target score must beat the baseline, and the older-task score may fall at most 3 points below the baseline's 90.

Step 1. Apply the rule

Which checkpoints pass both parts of the rule?

Step 2. Pick one and name the trade

Which checkpoint do you pick? What does it give up against the others, and what does it keep?

Step 3. Explain the sealed test set

Why does the test set stay unopened until after the pick, and what is it for once you have picked?

Check your work

Step 1. Only step 100. All three checkpoints beat the baseline's 90 on the target. On older tasks the floor is 90 minus 3, which is 87. Step 100 scores 89 and passes; step 200 scores 83 and step 300 scores 75, so both fail.

Step 2. Pick step 100. Against step 200 it gives up 12 target requests (150 against 162), and against step 300 it gives up 20. In return it keeps older skills within 1 point of the baseline. It still gets 60 more target requests right than the baseline.

Two common wrong answers. Picking step 200 because its loss is lowest: loss measures how closely the model predicts the example answers token by token, not whether its codes are right, and step 200 breaks the older-task rule. Picking step 300 because its target score is highest: it lost 15 points on older tasks, and its loss had started to rise, from 0.81 to 0.88, an overfitting warning, even while the target score kept climbing.

Step 3. You chose with the validation numbers, so the winner's validation score flatters it: it was picked for looking best there. The test set took no part in the choice, so scoring only the chosen checkpoint on it gives an honest final number. Score all three on it and pick the best, and it becomes a second validation set; you would need a new sealed one.

One caution. 150 against 162 is a gap of 12 requests out of 200. Whether a gap that size is real needs a paired comparison on the same requests.

Try a different case

The librarian relaxes the rule: older tasks may fall at most 8 points. Which checkpoints pass now, which do you pick, and what are you accepting?

Check this one too

The floor becomes 90 minus 8, which is 82. Steps 100 (89) and 200 (83) pass; step 300 (75) still fails. Step 200 gets 12 more target requests right than step 100 and scores 6 points lower on older tasks, 7 below the baseline in all. Picking it accepts that loss of older skills for the target gain. That is the librarian's call, and it is made before the test set is opened.

Where this sits: Overfitting, Held-out test set and Catastrophic forgetting explain the three ideas this exercise combines, and Test outside the task explains the retention set. Then read Poisoned training data.