ladderlore
Request a guide
  • Type a service name, like S3 or IAM.

Concept

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.

Five things that make training data good.
Collect data
Curate
Label
Fine-tune
  1. 1Collect data you have the right to use.
  2. 2Clean it and remove poor examples.
  3. 3Label each example, then use it to fine-tune.
From raw sources to a fine-tuning data set.

Step by step

  1. 1Collect data you have the right to use.
  2. 2Clean it and remove poor examples.
  3. 3Label each example, then use it to fine-tune.

From raw sources to a fine-tuning data set.

What it is

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.

What it is

Reinforcement learning from human feedback (RLHF) is a further step that uses human ratings to improve answers.

Remember

  • 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.

Remember

  • Bad or biased data gives a bad or biased model.

On the exam

  • “Data covers all user groups to avoid biased results” points to representativeness.
  • “Remove duplicates and wrong examples before training” points to data curation.