Downloads · 30 days
8
14% of all-time downloads
rudycaz/promptguard2-multitask-onnx
promptguard2-multitask-onnx is a text classification model from rudycaz. Use it when you need a label for a piece of text. It is set up for optimum. The card lists the license as llama3.2.
This repository contains an ONNX export of a multitask security classifier built from meta-llama/Llama-Prompt-Guard-2-86M.
Downloads · 30 days
8
14% of all-time downloads
All-time downloads
59
Public
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.onnx1.1 GB · 99%
From the Hugging Face model README
This repository contains an ONNX export of a multitask security classifier built from meta-llama/Llama-Prompt-Guard-2-86M.
The model was fine-tuned as a single multitask adapter on two security-focused tasks and then merged into a standalone model before ONNX export.
meta-llama/Llama-Prompt-Guard-2-86MThis model is intended to score text as BENIGN or MALICIOUS across two security-related input types:
The model uses a shared binary label space:
BENIGNMALICIOUSThis multitask model was trained using data derived from:
naserabdullahalam/phishing-email-datasetmarycamilainfo/prompt-injection-malignantAdditional benign prompt-style examples were included so the prompt-injection side of the multitask classifier had both positive and negative examples.
During training and inference, inputs are prefixed with a simple modality tag:
[EMAIL] ...[PROMPT] ...[EMAIL] Subject: Verify your payroll account now. Body: Your payroll access will be suspended unless you confirm your credentials here: http://example-login-reset.com