Fine-Tuning, and When Not ToLesson 17 of 84

Module 2 · How training actually works

Epochs, overfitting and checkpoint selection

In this lesson

  • 9 min read
  • 5 reading sections
  • Knowledge check
  • Lesson 8 of 9 in this chapter

This chapter’s goalTrace one optimisation step from a batch of tokens to a changed weight, and predict which way loss, memory and stability move when you change the learning rate, the batch size, the precision or the number of epochs.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
Task metric and canary, across ten checkpoints00.501110checkpoint, saved every 200 stepsscore on a held-out set—— Task metric– – Canary, general capabilityThe checkpoint to ship is the last one before the canary moves: the fifth here, which is neither thelast checkpoint nor the best task score. Neither loss curve would have shown you this.
The checkpoint to ship is the last one before the canary moves: the fifth here, which is neither the last checkpoint nor the best task score. Neither loss curve would have shown you this.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 6Free · no account needed
Lesson steps

One to three, and why

The standard advice for supervised fine-tuning is one to three epochs, and unusually for standard advice it is well grounded.

An epoch is one pass over your dataset. On the second pass the model sees examples it has seen before, and a model with billions of parameters and a few thousand examples is entirely capable of memorising them. What it memorises is not the skill you wanted: it is the specific answers, including their specific wording and the specific mistakes in your annotation.

The signature is unmistakable once you have seen it: at each epoch boundary the training loss takes a step down, a sharp discontinuity rather than a smooth continuation. That step is the model recognising the data. It is not learning anything at that moment; it is recalling.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Running Models Yourself exam.

Stuck on something?Ask Rafael, your AI tutor

How to cite: Addaly (2026) ‘Epochs, overfitting and checkpoint selection’, in Fine-Tuning, and When Not To. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/fine-tuning/epochs-and-the-loss-curve (Accessed: 29 November 2026).