Skill 3.3.3
Describe how to prepare data to fine-tune an FM (for example, data curation, governance, size, labeling, representativeness, reinforcement learning from human feedback [RLHF])
Key Concepts
Data curation: select relevant, high-quality, deduplicated examples and remove errors, toxicity and sensitive data. Governance: confirm rights to use the data, protect privacy and track lineage. Size: enough examples to learn the task (often hundreds to thousands), in the required format (for example, JSONL prompt-completion pairs).
Labelling: accurate, consistent labels (SageMaker Ground Truth helps). Representativeness: cover the real distribution of inputs and user groups to avoid bias. RLHF: humans rank model outputs, a reward model learns those preferences, and reinforcement learning tunes the FM to produce preferred responses.