abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.

hlyn-labs/prompt-injection-judge-deberta-dataset

published by @hlyn-labs

No longer matches the catalog's relevance filter since 2026-11-21; still on Hugging Face. We keep the record as we last saw it.No longer fits the catalog's topic since 2026-11-21. It is still on Hugging Face. We keep the record as we last saw it. Checked 2026-12-06.

Harmful and harmless prompt sets, contrastive pairs, and jailbreak and attack corpora.Sets of harmful and harmless requests, pairs of opposite examples, and attack datasets.

task_categories:text-classificationlanguage:enlicense:mitsize_categories:100K<n<1Mformat:csvmodality:textlibrary:datasetslibrary:pandas +12 more
Lifetime downloads
1.5K
Last 30 days
95
Likes
4
Size
195.8 MB

Description

🛡️ Prompt Injection Detection Dataset

A 400K-sample, production-grade dataset for training binary classifiers to detect prompt injections, jailbreaks, and adversarial attacks targeting LLMs.

This is the exact dataset used to train hlyn-labs/prompt-injection-judge-deberta-70m.

Quick Start

from datasets import load_dataset

ds = load_dataset("hlyn-labs/prompt-injection-judge-deberta-dataset")

Dataset Summary

Stat

Value

Total Samples

399… See the full description on the dataset page: https://huggingface.co/datasets/hlyn-labs/prompt-injection-judge-deberta-dataset.

Structure 1 config · from the README front matter1 subset, from the author's description

default default 399,741 rows
SplitPartRowsSize
train 399,741 205.5 MB
FeaturesFields
textstring label
Data files
train train.csv

Used by uncensored 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.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

MetadataDetails

License
mit
Language
en
Created on HFCreated
2026-04-06 · 8 months ago
Size category
100K<n<1M
ModalitiesData types
text
Formats
csv
LibrariesTools
datasetspandaspolarsmlcroissant

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
195.8 MB
Files
3
Formats
csv
Head
cd69bfb
Last updated on HFLast updated
2026-05-15

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("hlyn-labs/prompt-injection-judge-deberta-dataset")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="hlyn-labs/prompt-injection-judge-deberta-dataset", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/hlyn-labs/prompt-injection-judge-deberta-dataset

Files by folder from our last crawlfrom our last check

top level 3 files 195.8 MB
.gitattributes 2.5 KB file download
README.md 6.1 KB md download
train.csv 195.8 MB csv download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

🛡️ Prompt Injection Detection Dataset

A 400K-sample, production-grade dataset for training binary classifiers to detect prompt injections, jailbreaks, and adversarial attacks targeting LLMs.

This is the exact dataset used to train hlyn-labs/prompt-injection-judge-deberta-70m.


Quick Start

from datasets import load_dataset

ds = load_dataset("hlyn-labs/prompt-injection-judge-deberta-dataset")

Dataset Summary

Stat Value
Total Samples 399,741
Benign (label=0) 203,067 (50.8%)
Malicious (label=1) 196,674 (49.2%)
Class Ratio ~1:1 (naturally balanced)
Format Single CSV (text, label)
Language English
Augmented? ❌ No — raw, unmodified text only

Schema

Column Type Description
text string The raw prompt text
label int 0 = benign, 1 = malicious (prompt injection / jailbreak)

Sources (12 Datasets Merged)

All 12 source datasets were loaded, merged, globally deduplicated by exact text match (MD5), and purged of label contradictions (6 samples where the same text appeared with conflicting labels across datasets).

# Source Samples Type
1 allenai/wildjailbreak ~262K GPT-4 synthesized adversarial + vanilla prompts
2 yahma/alpaca-cleaned (SecAlign) ~104K Clean instructions (benign) + synthetic injection wrappers (malicious)
3 TrustAIRLab/in-the-wild-jailbreak-prompts + verazuo/jailbreak_llms ~15K Real-world jailbreak prompts + regular prompts
4 Chgdz/sentinel-jailbreak-detection ~12K Unicode/encoding diverse threats (malicious subsampled to 3K)
5 xTRam1/safe-guard-prompt-injection ~8K Diverse attack vectors + benign
6 neuralchemy/Prompt-injection-dataset ~6K 29 attack categories
7 WithSecure/injection-benchmark-rag ~2K RAG-specific adversarial injections
8 jackhhao/jailbreak-classification ~1K Roleplay jailbreaks + hard negatives
9 Lakera/gandalf_ignore_instructions ~1K Real human CTF attacks
10 deepset/prompt-injections ~546 Political/social engineering injections
11 walledai/AdvBench ~520 Clean adversarial payloads
12 walledai/StrongREJECT ~313 Hard forbidden question set

Data Quality Pipeline

The following automated gates were applied before export:

  1. Global Deduplication — MD5 hash on the text field across all 12 sources. Exact duplicates collapsed to a single entry.
  2. Label Contradiction Purge — If the same text appeared with label=0 in one dataset and label=1 in another, both entries were removed entirely (6 samples purged). This prevents data poisoning.
  3. Empty/Whitespace Filter — Any sample with an empty or whitespace-only text field was discarded at load time.
  4. No Augmentation — This dataset contains only the raw, unmodified source text. No synthetic perturbations (unicode swaps, case changes, whitespace injection, GCG spoofing, etc.) have been applied. Augmentation should be performed dynamically during training.

Trained Model

This dataset was used to train hlyn-labs/prompt-injection-judge-deberta-70m — a DeBERTa-v3-xsmall (70M param) binary classifier achieving:

Metric Score
AUC-ROC 0.9773
Accuracy 97.38%
F1 0.9758
Precision 98.00%
Recall 97.00%
ECE 0.053

Intended Use

  • Training and evaluating prompt injection / jailbreak detection classifiers
  • Benchmarking LLM security guardrails
  • Research into adversarial attacks on language models

Limitations

  • English-only. Non-English jailbreaks are not represented.
  • Synthetic injection patterns (SecAlign) follow a fixed template (Ignore previous instructions...). Real-world injections may use novel phrasing.
  • The wildjailbreak subset is GPT-4 generated, which may introduce distributional biases from OpenAI's safety training.

Citation

If you use this dataset, please cite the original source datasets linked above and this collection:

@dataset{hlyn2026defender,
  title={Prompt Injection Detection Dataset},
  author={hlyn},
  year={2026},
  url={https://huggingface.co/datasets/hlyn-labs/prompt-injection-judge-deberta-dataset}
}

README historyEdit history 8 revisions8 edits

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.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2026-05-15 Update README.md cd69bfb 6 KB
    Loading...
  2. 2026-04-07 Update README.md 915882e 5.9 KB
    Loading...
  3. 2026-04-06 Update README.md 5b66e83 5.9 KB
    Loading...
  4. 2026-04-06 Update README.md cade39a 5.5 KB
    Loading...
  5. 2026-04-06 Upload train.csv with huggingface_hub e744133 390 B
    Loading...
  6. 2026-04-06 Delete data 7a8d33b 390 B
    Loading...
  7. 2026-04-06 Upload dataset f25e126 390 B
    Loading...
  8. 2026-04-06 initial commit 1f7acf3 0 B
    Loading...

Community discussions 1 thread · 1 open · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, licence clarifications. Click any thread to expand and read the full conversation inline. Newest first.Conversations people started on Hugging Face: bug reports, questions about using the data, suggested changes to the author's description, questions about the licence. Open a thread to read it here. Newest first.

  1. 2026-08-13 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

hlyn-labs/prompt-injection-judge-deberta-dataset

Catalog is the map. Apps are the tools.

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

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration