Skip to content

alvi42

prompt-injection-guard-v2

alvi42/prompt-injection-guard-v2

prompt-injection-guard-v2 is a text classification model from alvi42. Use it when you need a label for a piece of text. The card lists the license as mit.

DeBERTa-v3-base fine-tuned for binary prompt injection classification. Trained on the original 8,183-example dataset plus 1,687 synthetic examples targeting 5 documented v1 failure patterns.

Downloads · 30 days

5

10% of all-time downloads

All-time downloads

52

Public

Parameters

184M

740 MB on disk

Likes

0

Public

Hugging Face

Repo makeup

Click a slice to open those files.

.safetensors738 MB · 99%

At a glance

Task
Text Classification
License
mit
Model type
deberta-v2
Access
Public
Created
Jun 17, 2026
Updated
Jun 20, 2026
SHA
01e7ba06

Try a prompt

Task
Text Classification
Type
deberta-v2
License
mit
Languages
en
Created
Jun 17, 2026
Updated
Jun 20, 2026