179 questions
No questions match those filters.
When would you choose Fine-Tuning over RAG, and when wo...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansRAG and fine-tuning solve different problems, so the choice comes down to what’s actually changing versus what’s staying fixed. If the underlying knowledge shifts week to week, or the answer needs a citable source, or the model needs access to documents it never saw during training, retrieval is the right tool — it’s swapping in fresh reference material rather than re-teaching the model anything.
Fine-tuning earns its place when the thing you need is a stable skill rather than a fact: a specific tone, a rigid output format, or behavior on edge cases that keeps recurring no matter how the prompt is worded. It also matters when the added tokens from a long RAG context would blow a latency budget, and when you actually have enough clean input-output pairs — north of a thousand — to teach the pattern reliably.
A law firm’s assistant is a good illustration: case law updates constantly, so that part stays in a retrieval layer. But the firm also wants every response in a fixed formal register with a specific structure — that’s a permanent stylistic skill worth fine-tuning for. Most serious 2026 deployments end up doing both rather than treating it as an either/or.