AI Cloud Architect

Preparing data for supervised fine-tuning Part 1: Formatting and quality

AWSHow-to by Elyse Zhang and Krishnateja KillamsettyAWS 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.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

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.

Timeline

  1. This postPreparing data for supervised fine-tuning Part 1: Formatting and quality
  2. Read nextPreparing data for supervised fine-tuning Part 2: Advanced data strategies · AWS · Blog post

Go deeper