AI Cloud Architect

Preparing data for supervised fine-tuning Part 2: Advanced data strategies

AWSBlog post by Krishnateja Killamsetty and Elyse ZhangAWS Artificial Intelligence Blog

The advanced side of supervised fine-tuning data prep. This second post in a two-part series covers evaluating data readiness with learning curves, selecting high-value data subsets, augmenting data with synthetic and distilled examples, and mixing data sources to prevent catastrophic forgetting.

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

AI: Summary

What it is

Part 2 of an SFT data series covers learning-curve checks for data readiness, subset selection, synthetic augmentation, and data mixing to limit catastrophic forgetting.

Who it is for

Teams fine-tuning Amazon Nova on Bedrock or SageMaker who need to decide how much data to collect and how to mix general data.

Key points

  • Rough starting point of about 2,000 high-quality samples for a typical SFT task; the post says this varies with task difficulty.
  • Learning curve uses checkpoints from one training run; stop collecting when doubling data gains less than 1-2 points.
  • Example mix given as 70 percent target, 20 percent general, 10 percent safety; the post says 50/50 works well for Nova.
  • Post says even 5 percent general data by sample count can dominate loss by tokens when sequences are longer.

Timeline

  1. Read firstPreparing data for supervised fine-tuning Part 1: Formatting and quality · AWS · How-to
  2. This postPreparing data for supervised fine-tuning Part 2: Advanced data strategies

Go deeper