EasyDeepLearn

How is high-quality instruction-tuning data constructed?

medium

Answer

  • Sources: (1) hand-written by experts (expensive, small); (2) distilled from a stronger model with human filtering (OpenHermes, Alpaca-style — cheap, scalable); (3) real user conversations with filtering + rewriting; (4) task-mixture datasets (FLAN, T0).
  • Quality > quantity: LIMA (Meta, 2023) showed 1k carefully curated pairs beat 50k noisy ones.
  • Modern SFT recipes use 10k-100k high-quality examples across diverse tasks (chat, code, math, extraction, safety refusals).
Check yourself — multiple choice
  • Only quantity matters
  • Hand-written + distilled + real conversations, quality > quantity (LIMA: 1k curated beats 50k noisy)
  • Random web scrapes
  • Never distill

Instruction data: quality > quantity; LIMA showed 1k curated pairs suffice.

#fine-tuning#data#alignment

Practise LLMs & GenAI

214 interview questions in this topic.

Related questions