What it changes, and what it does not
Fine-tuning is good at teaching behaviour: always return this structure, label tickets with these categories, write in this voice, or handle one narrow task with a smaller and cheaper model. It is a poor way to add knowledge that changes, such as prices, stock or policies. Facts learned this way are fixed in the model's weights, cannot be cited, and need new training to update. For knowledge, use retrieval-augmented generation.
Try these first
- A clearer prompt with a few worked examples.
- Retrieval, if the gap is knowledge.
- A different or larger model, if the gap is capability.
- Fine-tuning, when an evaluation shows the gap is behaviour and the cheaper options did not close it.
How it is done
You prepare training examples of an input and the ideal output, reviewed by people who know the task, and keep a separate test set the model never trains on. Supervised fine-tuning learns directly from these pairs; preference tuning learns from comparisons between a better and a worse answer. Parameter-efficient methods such as LoRA train a small set of added weights instead of the whole model, which needs far less memory and compute. Many model providers offer fine-tuning through their APIs, and open-weight models can be tuned on your own infrastructure.
Common mistakes
- Fine-tuning to fix a problem that a prompt or retrieval would solve.
- Training on data the model must never repeat. Tuned models can reproduce their training examples, so keep personal and secret data out.
- Too few or inconsistent examples, which teach the model the inconsistency.
- No plan for the day the provider retires the base model and the tuning must be redone.
- Training so narrowly that general ability suffers. Test broad cases as well as the target task.
Related terms
Fine-tuning adjusts a large language model. Embeddings are a different tool, used to search content by meaning. See how we decide where a model fits in existing software in AI integration.