Dataset
A set of examples used to train or test a model. For fine-tuning LLMs, this typically consists of pairs «query → desired response».
Format for SFT
{"prompt": "Explain what a token is", "completion": "A token is..."}
Thousands or tens of thousands of such pairs are needed for quality SFT.
Dataset Parts
| Part | Purpose |
|---|---|
| Train | Model training |
| Validation | Hyperparameter tuning |
| Test | Final evaluation |
Quality over Quantity
Ten thousand «dirty» examples are worse than a thousand well-curated ones. Key requirements: relevance, diversity, absence of errors and test leakage in training.