Skip to content

bennetsharwin

distilbert-prompt-injection-v2

bennetsharwin/distilbert-prompt-injection-v2

distilbert-prompt-injection-v2 is a text classification model from bennetsharwin. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.

Fine-tuned distilbert-base-uncased for binary prompt-injection detection (benign vs malicious).

Downloads · 30 days

8

8% of all-time downloads

All-time downloads

100

Public

Parameters

67M

268 MB on disk

Likes

0

Public

Hugging Face

Repo makeup

Click a slice to open those files.

.safetensors268 MB · 100%

At a glance

Task
Text Classification
Library
transformers
License
mit
Model type
distilbert
Access
Public
Created
Jul 8, 2026
Updated
Jul 8, 2026
SHA
e57eb361

Try a prompt

Task
Text Classification
Library
transformers
Type
distilbert
License
mit
Languages
en
Created
Jul 8, 2026
Updated
Jul 8, 2026