AI Cloud Architect

Prompting Amazon Nova 2 for content moderation

AWSHow-to by Adewale Akinfaderin, Dan Sinnreich and Yooju ShinAWS Artificial Intelligence Blog

In this post, you learn how to prompt Amazon Nova 2 Lite for content moderation using structured and free-form approaches, grounded in the MLCommons AILuminate Assessment Standard. The prompting techniques use the AILuminate taxonomy as an example, but they work equally well with your own custom moderation policy. You can swap in your own category definitions and the prompt structure stays the same. We also benchmark the content moderation capabilities of Amazon Nova 2 Lite against several…

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

AI: Summary

What it is

Nova 2 Lite moderation prompts (XML, JSON, free-form) built on the MLCommons AILuminate taxonomy, with a benchmark across three public datasets where Nova 2 Lite has the highest average F1.

Who it is for

Teams building text or image moderation on Amazon Bedrock that want to change policies by editing prompts instead of fine-tuning.

Key points

  • Benchmark average F1 for Nova 2 Lite is 75.70%, against 74.19% to 74.88% for three anonymized models; Jigsaw F1 is 56-59% for all models.
  • Recommended defaults are temperature 0.7 and top-p 0.9; reasoning mode can be turned off to cut latency and cost.
  • Evaluations used non-reasoning mode and one prompt format, so results may vary with other setups.

Timeline

  1. This postPrompting Amazon Nova 2 for content moderation
  2. Customer storyHow uniopen customized Amazon Nova to their retail moderation policies for production deployment · AWS · Customer story

Go deeper