AI Cloud Architect

Customizing text content moderation with Amazon Nova

AWSHow-to by Yooju Shin, Fan Yang, Rahul Gupta, Weitong Ruan and Chentao YeAWS Artificial Intelligence Blog

In this post, we introduce Amazon Nova customization for text content moderation through Amazon SageMaker AI, enabling organizations to fine-tune models for their specific moderation needs. The evaluation across three benchmarks shows that customized Nova models achieve an average improvement of 7.3% in F1 scores compared to the baseline Nova Lite, with individual improvements ranging from 4.2% to 9.2% across different content moderation tasks.

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

AI: Summary

What it is

Nova Lite can be fine-tuned with LoRA on SageMaker AI for text content moderation, with the customized model then deployable on Bedrock; the post reports F1 gains over baseline on three benchmarks.

Who it is for

Teams building text moderation on AWS that want to tune Nova to their own policies instead of using a general moderation model.

Key points

  • Reported F1 gains over baseline Nova Lite range from 4.2% to 9.2%, per AWS's own evaluation on three public and internal benchmarks.
  • Training 10,000 instances takes about one hour on ml.p5.48xlarge, which AWS estimates at $55.
  • Bedrock on-demand inference only works for PEFT/LoRA customized models hosted in Bedrock.

Timeline

  1. This postCustomizing text content moderation with Amazon Nova
  2. What it explainsAmazon Nova now supports the customization of content moderation settings · AWS · Announcement
  3. Customer storyHow uniopen customized Amazon Nova to their retail moderation policies for production deployment · AWS · Customer story

Go deeper