Fine-Tuning
Definition
Fine-tuning is further training a pre-trained AI model on a smaller, task-specific dataset so it performs better on a particular task, domain or style. It is cheaper than training from scratch and is often weighed against prompting and retrieval (RAG) as ways to adapt a model.
Diagram
| 1. Prompting | 2. Retrieval (RAG) | 3. Fine-tuning | |
|---|---|---|---|
| Changes | the instructions you send | the facts the model can see | the model’s weights |
| Best for | behavior, tone, format | up-to-date or private knowledge | a consistent style or format at scale |
| Cost and effort | minutes, nearly free | days: index and search your content | weeks: curated examples, training, evaluation |
| Updating | edit the prompt | update the documents | retrain |