The 9B member of Google's ShieldGemma series of safety content-moderation models, built on Gemma 2 and available in English with open weights alongside 2B and 27B sizes. It is a text-to-text, decoder-only classifier: the caller supplies a preamble establishing the model as a policy expert, the text to be classified wrapped in turn tokens, a written description of the safety guideline, and an epilogue, and the model answers with a string starting 'Yes' or 'No' for whether that policy was violated. Google publishes guideline wording for four harm types - dangerous content, harassment, hate speech and sexually explicit information - in both prompt-only and prompt-response phrasings. Although generative, it is designed to be run in scoring mode over the Yes/No token probability.
- 5 views
- Text
- Open weights