Lesson 2 · Unit 04
Evaluating a fine-tune
Held-out sets, the metric that matters, and catching forgetting
What you practise
- A held-out set, loss against the metric you care about, signs of overfitting and of forgetting, comparing against the base model on the same cases
Try a question from this lesson
Pick one
During a fine-tune the training loss falls from 2.1 to 0.3. Is the model better at the task?
Hint
Which examples was that loss measured on, and what else could explain a low number there?
Correct answer
Unknown until it is scored on unseen examples
Why
Training loss says the model fits the examples it was shown. That is equally true of a model that learned the task and one that memorised the set. Only examples it never trained on can tell the two apart.
The ideas
Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.
Concept
The held-out set
Before training, set aside examples the model will never train on. Score every checkpoint on them, and score the untouched base model on the very same cases.
The base model's score is the baseline. Without it, "91%" means nothing: you cannot tell what the fine-tune added, or whether a good prompt alone would have got there.
Concept
A second set, for forgetting
A fine-tune can get better at its task and worse at everything else, and a task-only eval will never show it.
Keep a second, general set: things the base model did well and must still do. Score base and fine-tuned on both sets. A gain on the task set with a drop on the general set is forgetting, measured.
10 more exercises in the app
- 4× type the answer
- 3× multiple choice
- 1× fill the blanks
- 1× true or false
- 1× match the pairs
Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.