Skip to content

prismor

prompt-guard-1.5b

prismor/prompt-guard-1.5b

prompt-guard-1.5b is a text classification model from prismor. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.

A prompt injection detector fine-tuned from Qwen2.5-1.5B-Instruct using LoRA on ~10,000 labeled examples. Given an input prompt, the model outputs INJECTION or SAFE.

Downloads · 30 days

703

1% of all-time downloads

All-time downloads

65.9K

Public

Parameters

1.5B

3.1 GB on disk

Likes

0

Public

Hugging Face

Repo makeup

Click a slice to open those files.

.safetensors3.1 GB · 100%

At a glance

Task
Text Classification
Library
transformers
License
apache-2.0
Model type
qwen2
Access
Public
Created
May 28, 2026
Updated
Oct 21, 2026
SHA
cfaa8f95

Try a prompt

Base models

Task
Text Classification
Library
transformers
Type
qwen2
License
apache-2.0
Languages
en
Created
May 28, 2026
Updated
Oct 21, 2026