extract 0 0 0

jainsatyam26/prompt-injection-comparison

published by @jainsatyam26

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
257
Last 30 days
23
Likes
-
Size
4.4 MB
Created on HF
2026-06-10
Age
4 months ago

Description

Prompt-Injection Model Comparison

Compares 4 HuggingFace models on 2 prompt-injection benchmark datasets.

Models Compared

Model

HF ID

rogue-sentinel-v2

rogue-security/prompt-injection-jailbreak-sentinel-v2

protectai-deberta-v3

protectai/deberta-v3-base-prompt-injection-v2

qualifire-sentinel

qualifire/prompt-injection-sentinel

meta-prompt-guard-86M

meta-llama/Prompt-Guard-86M

Datasets

rogue-security/prompt-injections-benchmark… See the full description on the dataset page: https://huggingface.co/datasets/jainsatyam26/prompt-injection-comparison.

Tags

modality:textregion:us

README current version from Hugging Face

Prompt-Injection Model Comparison

Compares 4 HuggingFace models on 2 prompt-injection benchmark datasets.

Models Compared

Model HF ID
rogue-sentinel-v2 rogue-security/prompt-injection-jailbreak-sentinel-v2
protectai-deberta-v3 protectai/deberta-v3-base-prompt-injection-v2
qualifire-sentinel qualifire/prompt-injection-sentinel
meta-prompt-guard-86M meta-llama/Prompt-Guard-86M

Datasets

  1. rogue-security/prompt-injections-benchmark (5000 samples)
  2. Prompt_INJECTION_And_Benign_DATASET.jsonl (500 samples, multiple attack types)

Quick Start (single command)

git clone https://huggingface.co/datasets/jainsatyam26/prompt-injection-comparison
cd prompt-injection-comparison
bash run.sh YOUR_HF_TOKEN

Outputs

  • results/summary.csv — per-model metrics (Accuracy, Precision, Recall, F1, FPR)
  • results/detail_hf.csv — per-sample predictions on HF dataset
  • results/detail_local.csv — per-sample predictions + attack_type on local dataset
  • results/report.txt — full ranked report

README history 12 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2026-06-10Upload results/summary.csv with huggingface_hub47864351 KB
    Loading...
  2. 2026-06-10Upload results/report.txt with huggingface_hubf1327831 KB
    Loading...
  3. 2026-06-10Upload results/detail_local.csv with huggingface_hub40c19431 KB
    Loading...
  4. 2026-06-10Upload results/detail_hf.csv with huggingface_hub8fc16b81 KB
    Loading...
  5. 2026-06-10Upload push_results.sh with huggingface_hub6942b361 KB
    Loading...
  6. 2026-06-10Upload push_results.sh with huggingface_hubb37449d1 KB
    Loading...
  7. 2026-06-10Upload README.md with huggingface_hube1eb4c51 KB
    Loading...
  8. 2026-06-10Upload run.sh with huggingface_hub584ffac0 B
    Loading...
  9. 2026-06-10Upload requirements.txt with huggingface_hub840f9090 B
    Loading...
  10. 2026-06-10Upload Prompt_INJECTION_And_Benign_DATASET.jsonl with huggingface_hub2400a870 B
    Loading...
  11. 2026-06-10Upload compare_pi_models.py with huggingface_hubf8b5b970 B
    Loading...
  12. 2026-06-10initial commit44da3a00 B
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Related datasets same stage · extract

Read further

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("jainsatyam26/prompt-injection-comparison")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="jainsatyam26/prompt-injection-comparison", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/jainsatyam26/prompt-injection-comparison
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration