Skip to content
Back to course

15.4 Fine-Tuning

Fine-tuning takes a model that was already pre-trained on huge general text and continues training it on a smaller, focused dataset. This adapts the model to a specific task, domain or style — for example teaching a general LLM to answer customer-support questions for a telecom company in the company's own tone.

DataModelPredictAdjustrepeat & improve
Fine-tuning continues the training loop on a smaller, task-specific dataset.

Imagine a graduate who knows general medicine, then does a residency to specialise in cardiology. The base knowledge stays, but new focused practice sharpens specific skills. Modern methods like LoRA make this cheaper by updating only a small set of extra parameters instead of the whole model.

Scenario

You have a capable base LLM but need it to write legal contracts in a precise house style with limited budget. What is the most efficient approach?

Check your understanding

1/4 · 40 XP

What does fine-tuning do?