概念
Preparing fine-tuning data
Curation, governance, size, labeling and representativeness: what makes training data good.
このレッスンはまだ翻訳されていないため、英語で表示しています。
Curation
Clean, correct, relevant examples.
Governance
Right to use the data. Privacy kept.
Size
Enough examples. Quality over quantity.
Labeling
Each example has the right answer.
Representativeness
Covers the real range of users and cases.
- 1Collect data you have the right to use.
- 2Clean it and remove poor examples.
- 3Label each example, then use it to fine-tune.
流れ
- 1Collect data you have the right to use.
- 2Clean it and remove poor examples.
- 3Label each example, then use it to fine-tune.
From raw sources to a fine-tuning data set.
概要
The model learns from its data, so the data decides the result. Poor data gives a poor model, however well you train it.
Curation means choosing and cleaning the examples: remove duplicates, errors and off-topic items. Governance means you have the right to use the data and protect private details. Size matters, but quality matters more: a few hundred good examples can beat thousands of poor ones. Labeling gives each example the correct answer, often with human help. Representativeness means the data covers the real range of users, topics and cases, so the model does not fail or show bias on groups it rarely saw.
概要
Reinforcement learning from human feedback (RLHF) is a further step that uses human ratings to improve answers.
覚えること
- Curate: clean, correct and relevant examples.
- Govern: have the right to use the data and protect private information.
- Size: enough examples, but quality beats quantity.
- Label: each example has the right answer, checked by people.
- Represent: cover the real range of users and cases.
覚えること
- Bad or biased data gives a bad or biased model.
試験では
- “Data covers all user groups to avoid biased results” points to representativeness.
- “Remove duplicates and wrong examples before training” points to data curation.
混同しやすいもの
- Fine-tuning methodsWays to adapt a pre-trained model: instruction tuning, domain adaptation, transfer learning and continued pre-training.
- RLHFReinforcement learning from human feedback: people rank answers and the model learns to give the kind they prefer.
- Characteristics of good datasetsA model learns from its data, so the data must include everyone, vary enough, come from good sources and be balanced.