Why 'fine-tune on our company docs' usually fails: and what to do instead
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
A product manager asks you to fine-tune Llama-3 on the company's 50,000-page internal knowledge base so the model 'learns the company's knowledge'. Explain why this is the wrong approach and what to recommend instead.
Fine-tuning teaches behavior and style, not facts. To make a model know your docs, retrieve them with RAG; reserve a light fine-tune for voice and format.
Picture a brilliant new hire on day one. Fine-tuning is like sending them on an etiquette course: they come back speaking in your house style, formatting reports your way, refusing off-topic asks politely. The course does not paste 50,000 pages of policy into their memory. If you quiz them on a rule they only skimmed, they answer smoothly and wrongly, because they learned the voice, not the facts. RAG is the opposite move. You hand them the relevant pages right before each question, so they read and summarise from the real document. Want them to always sound on-brand and cite a source line? Send them to the short course. Want them to know what policy 7.3 says today? Give them the page. Smart teams do both.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
4 min: behavior vs knowledge framing + the four arguments against fine-tuning on docs + the concrete RAG pipeline + the light fine-tune slice + separate evaluation tracks.
| Concern | Fine-tune on docs | RAG over docs |
|---|---|---|
| Encodes | Voice, format, document structure | The actual facts, retrieved on demand |
| Fact recall | Unreliable, scale mismatch with pretraining | Grounded in the retrieved chunk |
| Freshness | Frozen at training time, needs re-train | Re-index in seconds to minutes |
| Hallucination | Confident confabulation on partial facts | Answer traceable to a cited source |
| General skill | Risk of catastrophic forgetting | Base model untouched |
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Believing fine-tuning injects facts into the model. It mostly teaches voice and format. On half-memorised facts the model confabulates fluently, which is worse than a base model that hedges.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.