Meta's prompt-attack classifier, an 86M-parameter model built on Microsoft's mDeBERTa-base. It labels a prompt as benign or malicious, flagging text that explicitly tries to override instructions already given to an LLM, covering both prompt injection from untrusted data and direct jailbreaks. Version 2 drops the v1 injection sub-label for a simpler binary decision, uses an energy-based loss to cut false positives on out-of-distribution text, and adds a tokenizer hardened against whitespace and fragmentation attacks.
- 512 context
- 5 views
- Text
- Open weights