Skip to content

haominglan

PromptSentinel-DeBERTa-LoRA

haominglan/PromptSentinel-DeBERTa-LoRA

PromptSentinel-DeBERTa-LoRA is a text classification model from haominglan. Use it when you need a label for a piece of text. It is set up for peft. The card lists the license as apache-2.0.

PromptSentinel 是一个提示注入检测的轻量旁路模型。本仓库发布的是适配 protectai/deberta-v3-base-prompt-injection-v2 的 LoRA adapter,不包含或重分发基座权重。输入为一段待检测的英文文本,输出为 INJECTION(标签 1)的风险分数;它不读取系统提示词、用户任务或 LLM 回答。

Downloads · 30 days

6

21% of all-time downloads

All-time downloads

29

Public

Repo size

13.2 MB

Likes

0

Public

Hugging Face

Repo makeup

Click a slice to open those files.

.safetensors10.7 MB · 81%

At a glance

Task
Text Classification
Library
peft
License
apache-2.0
Access
Public
Created
Aug 17, 2026
Updated
Aug 23, 2026
SHA
7162e612

Try a prompt

Base models

Task
Text Classification
Library
peft
License
apache-2.0
Languages
en
Created
Aug 17, 2026
Updated
Aug 23, 2026