Fine-tuning, RLHF & Alignment·Question 4 of 61Basic

How much data do you need to fine-tune a model? Quality vs. quantity?

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

Far less than most people assume, and quality dominates. For style/format/persona tasks, a few hundred to a few thousand excellent examples typically suffice; narrow classification/extraction tasks might use 1k - 10k; the LIMA result is the canonical citation - ~1,000 meticulously curated, diverse examples aligned a 65B base model to a level competitive with much more heavily tuned baselines. The intuition: the model already knows almost everything from pretraining; SFT mostly teaches it which subdistribution of its knowledge to surface and in what format. That's a low-complexity function that doesn't need millions of examples.

Full worked answer

Far less than most people assume, and quality dominates. For style/format/persona tasks, a few hundred to a few thousand excellent examples typically suffice; narrow classification/extraction tasks might use 1k - 10k; the LIMA result is the canonical citation - ~1,000 meticulously curated, diverse examples aligned a 65B base model to a level competitive with much more heavily tuned baselines. The intuition: the model already knows almost everything from pretraining; SFT mostly teaches it which subdistribution of its knowledge to surface and in what format. That's a low-complexity function that doesn't need millions of examples.

Where quantity does matter: injecting genuinely new capabilities (a new language, a proprietary DSL, long-horizon agentic behaviour) or continued pretraining for domain knowledge - those need orders of magnitude more tokens.

Practical curation checklist:

  • Deduplicate: exact-match plus near-dup (MinHash or embedding similarity). Duplicates cause memorisation and inflate effective epochs on those examples.
  • Decontaminate: check n-gram overlap against your eval sets, or your before/after numbers are fiction.
  • Diversity beats volume: 1,000 examples covering the real input distribution beat 50,000 templated variations of ten patterns - templated data teaches the template, not the task.
  • Read your data: manually inspect a random sample of a few hundred examples. Bad labels, truncated responses, and template bugs are found by eyeballs, not dashboards.
  • Filter hard: an LLM judge or heuristics (length, formatting, refusals-by-accident) to drop the worst tail; a wrong label teaches the wrong behaviour with the same efficiency as a right one.

A useful rule: if adding more data isn't improving held-out metrics, your bottleneck is quality or diversity, not size.

What a good answer covers

  • Far less than most people assume, and quality dominates
  • For style/format/persona tasks, a few hundred to a few thousand excellent examples typically suffice;…
  • The intuition: the model already knows almost everything from pretraining; SFT mostly teaches it which…
  • That's a low-complexity function that doesn't need millions of examples
  • Where quantity does matter

Key terms: Deduplicate · Decontaminate · Diversity beats volume · Read your data · Filter hard

Interviewer follow-ups to expect

  1. You have 100k scraped examples of mixed quality - what's your pipeline before training?

  2. How would you detect that near-duplicates are hurting you?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep