JB Astau

Reflection 04 · Adapting a model

RAG or fine-tuning?

What to know before retraining a model on your own data, and why I chose to wait.

“Can we train the model on our documents?” The request comes up often, and it mixes two different needs: that the model knows certain things, and that it behaves in a certain way. Those are two problems, and two tools.

Two tools for two problems

With RAG, the model fetches information from your documents at the moment it answers. The model itself does not change: when a document changes, the answer follows.

With fine-tuning, you modify the model itself by training it on examples. It learns a tone, a format, a domain vocabulary. For it to learn something else, it has to be trained again.

RAGFine-tuning
What changesWhat the model knowsHow it behaves
When information changesYou update the documentsYou retrain the model
What you needReliable, up-to-date documentsMany representative examples
Where to startAlmost alwaysWhen a specific behaviour is missing
Two complementary tools, not competing ones.
RAG changes what the model knows. Fine-tuning changes how it works.

Why I put fine-tuning aside

For Carnet Catalan, I had planned everything: LoRA training on an open-weight Mistral model, on a rented GPU, with examples drawn from the site’s articles and calibrated on real chat conversations.

Then I looked at the numbers: about ten real conversations in a week. Not enough to learn a tone, let alone measure progress. I paused the project to enrich the site’s content, which improves the product today and will make a better training set tomorrow.

What I would advise a company

  1. Start with RAG: it is faster, reversible, and answers stay up to date.
  2. Consider fine-tuning when a specific behaviour, format or domain vocabulary is missing, and you have plenty of examples.
  3. Measure before and after on the same set of questions; otherwise you will never know whether the training helped.

It is the logic of my data-sheet generator at Biogrow: the data lives in one place, and everything that shows it updates with it. RAG works the same way.

Before retraining a model, make sure you have something to teach it.