Domain
Fine-tuning
When fine-tuning beats prompting or retrieval, and how to prepare data, train, evaluate and deploy tuned models.
0 of 10 articles published. Topics are listed in reading order: each comes after the topics it builds on.
Deciding to fine-tune
Whether fine-tuning is the right tool for the problem.
- What fine-tuning changes in a modelComing soon
Fine-tuning shapes format, style and narrow skills; it is a poor way to add facts that change.
Fundamentals · Intermediate
- When to fine-tune instead of prompting or retrievalComing soon
Exhausting prompting and retrieval first, and the signals (cost, latency, consistency) that justify tuning.
Comparison · Advanced
Training data
Preparing the examples a tuned model learns from.
- Preparing a fine-tuning datasetComing soon
Collecting, formatting and splitting examples into training, validation and held-out test sets.
Implementation · Advanced
- Data quality for fine-tuningComing soon
Deduplicating, fixing labels, balancing cases and removing personal data, since the model copies its examples.
Operations · Advanced
- Synthetic training dataComing soon
Generating examples with a stronger model, filtering them, and the licensing and collapse risks involved.
Advanced engineering · Production
Training methods
The techniques used to adapt a model.
- Parameter-efficient fine-tuning with LoRAComing soon
Training small adapter weights instead of the whole model, and why that cuts memory and cost.
Fundamentals · Advanced
- Fine-tuning hyperparameters and overfittingComing soon
Epochs, learning rate and batch size, reading loss curves, and spotting overfitting early.
Configuration · Production
- Preference tuningComing soon
Training from chosen-versus-rejected pairs to shape behaviour, and how it differs from supervised tuning.
Advanced engineering · Principal / Architect
Evaluating and shipping tuned models
Proving a tuned model is better, then running it.
- Evaluating a fine-tuned modelComing soon
Comparing against the base model and the best prompt on held-out data, and checking general skills didn't regress.
Operations · Production
- Serving fine-tuned models and adaptersComing soon
Hosting tuned models or many adapters on one base model, and versioning them like code.
Operations · Production