LLM Fine Tuning
When to fine-tune an open language model, how to do it on one GPU, and how to prove it worked. Thirteen lessons, each with a notebook that runs in Google Colab.
Fine-tuning changes a model's weights so that it behaves differently: a format it follows, a tool call it emits, a preference it holds. It is the right tool less often than it is reached for. This course starts with that decision, then trains models with the standard open-source stack (Hugging Face Transformers, PEFT and TRL), and ends with evaluation, serving and a governed release.
Every lesson has the same shape: the situation where the technique is the right choice, the companies that chose it and what they measured, why the simpler options fall short there, the method, and a notebook that measures the result on a GPU. The notebooks run on a free Colab T4 and need no API keys.
Lessons
Learn the distinction between missing information and inconsistent behaviour. Training changes weights; retrieval supplies facts; prompting gives instructions. The labs use one repeatable SQL task so you can see what each training method changes and what it does not.
What you need
Comfort with Python and a first idea of how a language model turns text into tokens and tokens into a next-token prediction. The theory behind every method, with the research it rests on, is on the LLM fine-tuning concept page. What companies actually fine-tune, and why, is charted across 76 documented programmes on the Business cases page; every lesson draws its real-world cases from it.
Go deeper
- Broaden your map. Follow the LLM roadmap and pick a Colab exercise for the next skill you need. Maxime Labonne’s LLM Course
- Practise post-training on small models. Compare training methods through hands-on exercises. Hugging Face Smol Course
- Read the training loop from the inside. Build a language model step by step in PyTorch. Sebastian Raschka’s LLMs from Scratch
- Move from notebook to training script. Follow a walkthrough covering dataset preparation, QLoRA and distributed training. Philipp Schmid’s 2025 fine-tuning guide
How is this page?
Last updated on