Supervised fine-tuning
A team fine-tunes a model on 800 support replies. Training loss drops beautifully for ten epochs. In testing, it answers every question with fragments of the same twelve replies, word for word, and it has forgotten how to write a polite refusal. Supervised fine-tuning is simple to run and easy to get wrong.
In this lesson you'll learn to
- Explain what supervised fine-tuning optimises, and format chat examples for it.
- Choose sensible starting settings for epochs, learning rate, batch size and loss masking.
- Read training and validation loss curves to spot overfitting, and recognise forgetting.
- Evaluate a fine-tune against the prompt baseline, and check it hasn't lost general skills or safety.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.