Build: fine-tune a small model
You'll fine-tune a small open model to triage support tickets into a category, a priority and a one-line summary, as JSON. A large model does this well but slowly and expensively; the same small model with a prompt does it badly. A LoRA fine-tune on a couple of thousand checked examples should get the small model close to the large one, and you'll prove it with evals before and after.
In this lesson you'll learn to
- Define a narrow task, a human-labelled test set and prompted baselines before training anything.
- Build a training set from real inputs with teacher labels, human checks, deduplication and group splits.
- Run a LoRA fine-tune with sensible settings, and pick the best checkpoint by its validation-set task score.
- Evaluate against the baselines, decide whether to ship, and serve and maintain the adapter.
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.