Fine-tuning
Also known as: SFT ยท RLHF
Fine-tuning takes an already pre-trained model and gives it a second, lighter training round โ this time on data chosen for behavior, not just language.
The usual recipe:
- Pre-trained model (knows language, not yet “how to be helpful”).
- Fine-tuning (a.k.a. SFT) โ thousands of good example conversations: user asks, assistant answers well. The model learns the style of helpful.
- Preference training (often called RLHF) โ the model is shown pairs of answers, humans mark which one is better, and it learns to prefer the better kind.
The result: a model that answers instead of just continuing the sentence.
Fine-tuning vs RAG โ the classic confusion: fine-tuning changes the *brain* (slow, permanent, good for style and skills). RAG changes the *notes the model can consult* (instant, cheap, good for fresh or private facts). Beginners usually need RAG, not fine-tuning.