Fine-tuning adjusts a base model's weights using a curated dataset, useful for consistent tone, formats or narrow tasks. For most business use cases, retrieval-augmented generation is cheaper and more maintainable than fine-tuning for knowledge.
Fine-tuning in practice
Fine-tuning earns its place when you need a very consistent style or output format at high volume, or a smaller, cheaper model to perform one narrow task well. It does not keep a model's knowledge current, so most UK organisations start with good prompts and retrieval, and only fine-tune once they have a stable task and a few hundred high-quality examples.
Related terms
- RAG (Retrieval-Augmented Generation)
- Grounding a model's answers in your own documents retrieved at query time.
- LLM (Large Language Model)
- A model trained on large volumes of text that predicts and generates language.
- Zero-Shot and Few-Shot
- Getting a model to do a task with no examples, or with a handful, in the prompt.
- Prompt Engineering
- Systematically designing, testing and versioning the instructions given to a model.
- Model Drift
- The gradual decline in AI quality as the real world diverges from what a system was built and tested on.
- Embedding
- A numeric representation of text that captures its meaning for search and comparison.