Overview

ShieldGemma models output the probability that a prompt or response violates a given policy, so developers can set their own thresholds.

Highlights

  • 2B, 9B and 27B sizes
  • Four harm categories
  • Probability scores for custom thresholds
  • Works on prompts and responses

Typical uses

Content moderation for chatbots and generative apps.

Things to consider

  • English-focused.
  • Classifiers can over- or under-block.
  • Download sizes refer to the default quantized versions in the Ollama library; full-precision weights are larger.

Specifications are taken from the model card on Hugging Face, the Ollama library and the provider’s announcement. Benchmark results depend on evaluation settings; see how AI benchmarks work.