What is fine-tuning in AI?
Fine-tuning is training an existing AI model a bit more on your own examples, so it learns a particular style, format or task.
Last updated
In real life
Like sending a new hire on a training course: they come back working the company's way, but they won't know about rules that change after the course.
Try it yourself
The demo trains a model on three support replies from a made-up bike shop, Northwind Bikes. Afterwards it answers new questions in the same short, friendly style. Ask about staff holidays, though, and it repeats the old figure it learned, because the handbook changed after training.
Training examples: Northwind Bikes support replies (a made-up shop)
- Where's my order?Hi! Pop your order number here and I'll check it straight away. Ride on!
- Can I return a helmet?Of course! Unused helmets can come back within 30 days. Ride on!
- How many holiday days do staff get?20 days a year, plus public holidays. Ride on!
Base model (before)
Thank you for your enquiry. Many bicycle retailers offer children's bicycles in a range of sizes. Please consult the relevant product category or contact customer services for further information.
Fine-tuned model (after)
Not trained yet. Press “Fine-tune on these 3 examples”.
Fine-tuning trains an existing model a bit more on your own examples. Press the button, then compare the two replies.
Fine-tuning vs RAG
Fine-tuning changes the model by training it on examples, so it suits a fixed style or task. RAG leaves the model alone and looks facts up each time you ask.
Common questions
Is fine-tuning the same as training a model from scratch?
No. Training from scratch builds a model from huge amounts of text and costs a fortune. Fine-tuning starts from a finished model and adjusts it with a much smaller set of examples.
Where you will use this
Quick check: Fine-tuning
Question 1 of 3