AI & XML / LLM test suite / Results / Models / granite3-guardian:latest

Model description

IBM’s Granite Guardian 3.0 models with 2B and 8B parameters were designed to detect risks in prompts and responses.

Model family

granite3-guardian

Context

8K

Input

Text

Size

27 GB

Family sizes

2b, 8b

Readme excerpt

Granite Guardian models

IBM’s Granite Guardian 3.0 models with 2B and 8B parameters detect risks in prompts and responses across many important dimensions in the IBM AI Risk Atlas. They were trained on special data combining human annotations and synthetic data shaped by internal red teaming. They outperform other open-source models in the same domain on standard benchmarks.

Parameter sizes

The model produces exactly one output token, either Ja or Nein. The default category is harm; other categories can be selected through the system prompt.

2B:

ollama run granite3-guardian:2b >>> /set system profanity

8B:

ollama run granite3-guardian:8b >>> /set system violence

Supported uses

Risk detection in a prompt or model response, for example as a guardrail, including: Harmfulness (harm): generally harmful content; Social bias (social_bias): prejudice based on identity or attributes; Jailbreaking (jailbreak): deliberate manipulation of AI into generating harmful, unwanted or inappropriate content; Violence (violence): content promoting physical, psychological or sexual harm; Profanity (profanity): offensive language or insults; Sexual content (sexual_content): explicit or suggestive sexual material; Unethical behavior (unethical_behavior): actions violating moral or legal standards; RAG, retrieval-augmented generation, to assess: Context relevance (relevance): whether the retrieved context is relevant to the query.

Dense Granite models

Dense Granite models are available in 2B and 8B parameter sizes. They were designed for tool-based use cases and retrieval-augmented generation (RAG), simplifying code generation, translation and debugging.

View model page

Granite mixture-of-experts models

Granite MoE models come in 1B and 3B parameter sizes, designed for low-latency and on-device applications or situations requiring immediate inference.

View model page

Further information

Developer: IBM Research GitHub repository: ibm-granite/granite-guardian Website: Granite Guardian documentation Cookbook: Granite-Guardian-Snack Release date: October 21, 2024 License: Apache 2.0.

381 Runs 402 evaluated 0.0 % Score 0.0 % exactly correct

Help on evaluation, score and exact correctness

Score is a graded quality measure: correct = 100 %, mostly_correct = 80 %, partial = 50 %, wrong/not_answered = 0 %.

Exactly correct is stricter: only correct-labeled runs count. Mostly correct increases score but does not count as exactly correct.

Evaluated counts all runs with a substantive judgment. LLM-judge errors also count as evaluated, with score 0 %.

Test case Category

x

back to top