Evaluate models with the Amazon Nova evaluation container using Amazon SageMaker AI
AWS•How-to••by Tony Santiago, Akhil Ramaswamy and Anupam Dewan•AWS Artificial Intelligence Blog
This blog post introduces the new Amazon Nova model evaluation features in Amazon SageMaker AI. This release adds custom metrics support, LLM-based preference testing, log probability capture, metadata analysis, and multi-node scaling for large evaluations.
SageMaker AI adds custom metrics, LLM-as-a-judge preference tests, log probability capture, metadata passthrough and multi-node runs for Nova model evaluations.
Who it is for
Teams evaluating Nova models, including customized ones, on SageMaker AI that need comparable test runs and per-segment analysis.
Key points
Evaluations are defined as JSONL files in S3 and run as SageMaker training jobs; results land as JSONL in S3.
Custom metrics run through Lambda pre- and post-processors, aggregated by min, max, average or sum.
Log probabilities are enabled with a top_logprobs setting from 0 to 20.
Multi-node runs are enabled by setting replicas to a value above one.
AI:Explains how to write reward functions on AWS Lambda for Amazon Nova reinforcement fine-tuning, covering code-verifiable (RLVR) and AI-judge (RLAIF) rewards, Lambda tuning and CloudWatch monitoring.
AI:A walkthrough of the Nova Forge SDK for customizing Nova models: baseline evaluation, SFT, RFT with a Lambda reward function, and deployment to a SageMaker endpoint, shown on a Stack Overflow quality classifier.
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.