Skill 1.2.9
Prepare data for FM fine-tuning, continuous pre-training, and model distillation
Key Concepts
Supervised fine-tuning on Bedrock uses JSONL with prompt and completion fields or a conversational messages format, split into training and validation files in S3. Reinforcement fine-tuning uses prompts plus a reward function (often a Lambda grader). Distillation needs representative prompts; Bedrock generates teacher responses, and invocation logs can supply prompts.
Continued pre-training uses large volumes of unlabeled domain text and runs on SageMaker AI (for example, Amazon Nova recipes on SageMaker HyperPod or training jobs). Deduplicate, remove PII, balance topics and hold out evaluation data for every method.