Preparing data for supervised fine-tuning Part 1: Formatting and quality
AWS•How-to••by Elyse Zhang and Krishnateja Killamsetty•AWS Artificial Intelligence Blog
Data preparation determines the ceiling of any supervised fine-tuning project. This first post in a two-part series covers the foundations of SFT data prep: quality checks, conversational (JSONL) formatting, reasoning and tool-calling schemas, and a representative train/evaluation split.
A guide to preparing supervised fine-tuning data: quality checks, deduplication, conversational JSONL formatting, reasoning and tool-calling schemas, chat template alignment, and a train/evaluation split.
Who it is for
Data scientists and ML engineers preparing datasets to fine-tune Amazon Nova models on Amazon Bedrock.
Key points
Quality beats quantity: the post cites LIMA and AlpaGasus for small curated datasets.
Data is formatted in the Bedrock Converse schema, one JSON object per line.
Hold out 10 to 20 percent of data for evaluation and measure a baseline first.
AI:Nova Forge data mixing, which blends customer data with Nova-curated data during fine-tuning, kept MMLU accuracy near baseline (0.74 vs 0.75) while VOC F1 rose from 0.38 to 0.50 in AWS's test.
AI:Reinforcement fine-tuning (RFT) for Amazon Nova trains models from prompts plus automated reward functions instead of labeled step-by-step examples, currently text-only.
AI:Post-training methods (SFT, PPO, DPO, GRPO, DAPO, GSPO) are mapped to agent components, with Amazon case results and a phased decision guide for choosing a technique.