What is fine-tuning in AI? Simple guide
Training an existing model a bit more on your own examples so it gets better at a specific task or style.
Last reviewedIn plain English
Fine-tuning means taking a model that has already been trained and training it a little more on your own examples, so it gets better at a specific task or style. It is like hiring an experienced writer and then coaching them on your company's house style. Open-weight models can be fine-tuned by anyone who can run them.
A simple example
A company wants every customer reply to follow its exact tone and structure. It collects a few hundred high-quality past replies, each paired with the customer message it answered, and fine-tunes a model on them. The model then tends to produce replies in that style without a long prompt.
Fine-tuning, prompting or RAG?
These are three different tools, and people often reach for the wrong one.
| Goal | Usually best |
|---|---|
| Get better answers right now | Better prompts, with a clear role and examples |
| Answer from your own up-to-date documents | RAG, which retrieves the relevant text first |
| A consistent style, format or narrow task | Fine-tuning |
Fine-tuning tends to be better at changing how a model writes than at teaching it new facts, and facts that change are easier to keep current with retrieval. Providers publish their own guidance, so check it for the model you use.
Costs and risks
- It takes good examples. Poor or inconsistent examples produce a poor model.
- It takes effort and money, and sometimes needs retraining when the underlying model changes.
- Privacy matters. Your training examples may contain private data, so check how your provider handles it.
Common mix-ups
- Fine-tuning is not the same as prompting. A prompt shapes one conversation. Fine-tuning changes the model's behaviour.
- It does not make a model infallible. It can still state wrong things.
- Try prompting first. Many problems that look like they need fine-tuning are solved by a clearer prompt.
Related terms
- RAG (retrieval-augmented generation)A method where the AI first searches your documents for relevant information, then uses it to write the answer. Reduces made-up facts.
- Training dataThe examples a model learned from. Its knowledge and biases come from this data.
- ModelThe trained AI 'brain' that produces outputs. Companies release different models with different strengths and prices.
Keep reading
- GuidesWhat is a large language model? A plain-English guide4 min read