Releasing Fine-Tuned Models
In this article
- Set up a fair baseline for a tuned model: the base model with its best prompt, scored on an in-task and an out-of-task slice.
- Choose a checkpoint on validation data with a gate, then run the held-out gate once on that checkpoint only.
- Treat model, prompt and output format as one release unit, and say which versions to pin.
- Release a tuned model through shadow and canary, roll it back with its prompt, and watch it for drift and base-model retirement.
- Terms defined here: model checkpoint, drift.
Overview
Your team trained a model on its own support tickets, and in a quick test it sorts them better than the model you use today. Better than what, though, on which tickets, and what happened to everything else the model used to do well? And if it goes wrong next Tuesday, how fast can you undo it?
Here you learn to release a trained model safely: compare it with a fair starting point, pick the right saved version, check it once on tickets nobody used for choices, roll it out in small steps, and switch back in one move when a check fails.
This article is part of Pro
Pro includes the staff-level and expert articles in every path. It opens after the four core paths are complete.
Still to read in this article
- Beat what, exactly?
- Three checkpoints, one choice
- The held-out gate, once
- One release unit
- Shadow, then canary
- Rolling back
- After launch: drift and retirement
- The release checklist
- Common mistakes
- In production
- Sources
- Check yourself, 13 questions