Fine-tuning vs Prompting
Decide between prompting, retrieval and fine-tuning with evidence: how training changes a model, LoRA and other efficient methods, data quality, forgetting, evaluation and cost, with small real training experiments you can run.
What you'll learn
- Choose between prompting, retrieval and fine-tuning using an evidence-based decision ladder.
- Explain how SFT, learning rate, LoRA, preference tuning and distillation change a model.
- Prepare, validate and split training data without noise or leakage.
- Spot overfitting, catastrophic forgetting and safety regressions, and apply fixes such as early stopping and replay.
- Compare a tuned model with a strong prompted baseline and compute the break-even volume.
- Plan serving, versioning, monitoring and retirement for a tuned model.
Syllabus
Choosing Between Prompting, Retrieval and Fine-Tuning
- Three Levers and What Each One Changes
- The Decision Ladder: Cheapest Effective Step First
- When Fine-Tuning Is the Right Tool
- The Economics: Break-Even Volume
How Far Prompting Goes
- Few-Shot Prompting: In-Context Learning
- Learning Curves: When Training Overtakes Examples in the Prompt
- The Cost of Long Prompts and Prompt Caching
How Fine-Tuning Works
- Supervised Fine-Tuning (SFT) in Plain Terms
- Learning Rate: The Most Sensitive Knob
- LoRA and Parameter-Efficient Fine-Tuning
- Overfitting, Epochs and Early Stopping
- Preference Tuning: RLHF and DPO
- Distillation: Teaching a Small Model From a Large One
Training Data: The Real Work
- Label Quality: Noise Costs Accuracy
- Dataset Format and Validation (JSONL)
- Train, Validation and Test Splits Without Leakage
Risks: Forgetting, Facts and Safety
- Catastrophic Forgetting and Replay
- Fine-Tuning Is a Poor Way to Add Facts
- Safety, Privacy and Licensing of Training Data
Evaluating and Operating a Tuned Model
- Always Compare Against a Strong Prompted Baseline
- Choosing Metrics for the Task
- Serving Tuned Models: Merged Weights and Adapters
Putting It Into Practice
- Case Study: Support Ticket Routing
- Hosted Fine-Tuning versus Open-Source Training
- Versioning, Drift and Retirement