Skip to content

ctrltokyo

prompt-injection-detector

ctrltokyo/prompt-injection-detector

prompt-injection-detector is a text generation model from ctrltokyo. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.

A fine-tuned Qwen2.5-0.5B-Instruct model for detecting prompt injection attacks using chain-of-thought reasoning. Designed as the reasoning component of a Decode → Reason → Classify (DRC) pipeline that achieves 100% d…

Downloads · 30 days

24

13% of all-time downloads

All-time downloads

183

Public

Parameters

494M

1000 MB on disk

Likes

1

Public

Hugging Face

Repo makeup

Click a slice to open those files.

.safetensors988 MB · 99%

At a glance

Task
Text Generation
Library
transformers
License
apache-2.0
Model type
qwen2
Access
Public
Created
Feb 21, 2026
Updated
Feb 21, 2026
SHA
ac9a8942

Try a prompt

Base models

Task
Text Generation
Library
transformers
Type
qwen2
License
apache-2.0
Languages
en
Created
Feb 21, 2026
Updated
Feb 21, 2026
prompt-injection-detector — AI Model — AIMarketly