Topics / 🧠 LLM Engineering / 🛡️ Level 27: Evaluate, Secure & Operate

Quiz · about 2 minutes · free

Fine-Tune or RAG?

'Let's fine-tune our own model!' is the most expensive sentence in many AI projects.

Fine-tuning changes a model's weights. It is good for teaching a consistent style, format or narrow behaviour. It is a poor way to add facts that change, and it can't cite where an answer came from.

RAG fetches current documents at question time, so updates are a re-index, not a retraining run, and answers can cite sources. Try prompting first, then RAG, then fine-tuning.

📚 Go deeper: LLM Course: Supervised Fine-Tuning

Fine-tuning: changes the weights, style, format, narrow behaviour, facts go stale, no citations. RAG: fetches documents at question time, update = re-index, cites its sources✗ Fine-tuningchanges the weightsstyle, format, narrow behaviourfacts go stale, no citations✓ RAGfetches documents at question timeupdate = re-indexcites its sources
Kosha's assistant must answer from loan policies that change every month, and auditors want to see the source for every answer. What should the team build first?
  1. Pre-train a new model from scratch on Kosha's documents
  2. Raise the temperature so answers sound more natural
  3. RAG: retrieve the current policy text at question time and cite it
  4. Fine-tune a model on the policies every month

Answer it interactively → Free. Sign in with Google to run it. Your code runs on your device.

In this level you'll learn:
More in Level 27: Evaluate, Secure & Operate

Share on LinkedIn