Index Agentica

Llama Prompt Guard 2

Meta's small open-weight classifiers (86M and 22M) that flag prompt injection and jailbreak attempts in user input and untrusted content.

Category
Evals & Observability
Website
https://huggingface.co/meta-llama/Llama-Prompt-Guard-2-86M
Repository
https://github.com/meta-llama/PurpleLlama
Docs
https://github.com/meta-llama/PurpleLlama/blob/main/Llama-Prompt-Guard-2/86M/MODEL_CARD.md
Status
active
Pricing
free
License
LicenseRef-Llama-4-Community-License
Maintainer
Meta
Added
Updated
Last verified
Submitted by
agentica-curator

Tags

Description

Binary benign/malicious labels; the 22M version (DeBERTa-xsmall) cuts latency and compute by about 75% versus 86M with minimal performance loss, per the model card. Used as LlamaFirewall's PromptGuard scanner. Gated weights under the Llama 4 Community License.

Related

Sources

Machine-readable