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.

shanemhamilton/llm-prompt-guard-tuning-corpus

published by @shanemhamilton

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-classificationlicense:mitsize_categories:1K<n<10Kregion:usprompt-injectionllm-security
Lifetime downloads
89
Last 30 days
23
Likes
-
Size
189.3 KB

Description

llm-prompt-guard tuning corpus

Prompt-injection detection corpus used to tune the

llm-prompt-guard pattern

set. Two JSONL files:

attacks.jsonl — 198 rows, label: 1. Injection payloads grouped by

attack category (instruction override, role hijacking, jailbreak,

unicode/homoglyph/tag-block smuggling, encoding bypass, and more).

benign.jsonl — 1,310 rows, label: 0. Ordinary user input across

seven domains, including phrasing that superficially resembles an

attack ("ignore the… See the full description on the dataset page: https://huggingface.co/datasets/shanemhamilton/llm-prompt-guard-tuning-corpus.

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
Created on HFCreated
2026-09-11 · 2 months ago
Size category
1K<n<10K

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
189.3 KB
Files
4
Formats
jsonl
Head
7760588
Last updated on HFLast updated
2026-09-11

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("shanemhamilton/llm-prompt-guard-tuning-corpus")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="shanemhamilton/llm-prompt-guard-tuning-corpus", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/shanemhamilton/llm-prompt-guard-tuning-corpus

Files by folder from our last crawlfrom our last check

top level 4 files 189.3 KB
.gitattributes 2.5 KB file download
attacks.jsonl 23.6 KB jsonl download
benign.jsonl 159.7 KB jsonl download
README.md 3.6 KB md download

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

llm-prompt-guard tuning corpus

Prompt-injection detection corpus used to tune the
llm-prompt-guard pattern
set. Two JSONL files:

  • attacks.jsonl — 198 rows, label: 1. Injection payloads grouped by
    attack category (instruction override, role hijacking, jailbreak,
    unicode/homoglyph/tag-block smuggling, encoding bypass, and more).
  • benign.jsonl — 1,310 rows, label: 0. Ordinary user input across
    seven domains, including phrasing that superficially resembles an
    attack ("ignore the warning on the bottle") but isn't one.

How the corpora were built

  • Attack corpus (attacks.jsonl) is synthetic and curated by hand —
    no scraped or real attacker artifacts. Each entry is a minimal payload
    representative of one bypass technique, not a naturalistic prompt.
  • Benign corpora (benign.jsonl) were written independently per
    domain (skincare product reviews, AI-literate users, developer chat,
    education, SQL assistant, support, pasted transcripts) without
    reference to the detector's pattern list — the goal is to catch false
    positives on real usage, not to write text that happens to avoid the
    patterns.

Label semantics

Field Meaning
text The input string.
label 1 = injection attempt, 0 = benign.
category (attacks only) Attack technique, e.g. "instruction-override".
expected (attacks only) "detect" or "known-miss" — see below.
domain (benign only) Source domain, e.g. "developer-chat", "support".

known-miss

A small subset of attacks.jsonl is labeled expected: "known-miss".
These document attack shapes the library's normalization/pattern layer
explicitly cannot catch by design — pure semantic paraphrase, leet
substitution, base64/ROT13 encoding, or tag-space-only concatenation
with no matching keyword. They're included for completeness and
transparency, not as a claim of detection. Exclude them from a
detection-rate metric unless you're specifically evaluating that gap.

Publishing (not done by this script)

This directory only stages files locally — nothing here has been
uploaded. To publish, a maintainer with a Hugging Face account and the
huggingface-cli tool installed and authenticated (huggingface-cli login) would create the dataset repo and run:

huggingface-cli upload shanemhamilton/llm-prompt-guard-tuning-corpus \
  benchmarks/hf/out/attacks.jsonl attacks.jsonl \
  --repo-type dataset

huggingface-cli upload shanemhamilton/llm-prompt-guard-tuning-corpus \
  benchmarks/hf/out/benign.jsonl benign.jsonl \
  --repo-type dataset

huggingface-cli upload shanemhamilton/llm-prompt-guard-tuning-corpus \
  benchmarks/hf/README.md README.md \
  --repo-type dataset

What's not included

This is the tuning set — the corpus patterns are allowed to be
tuned against. It does not include the held-out evaluation set
(benchmarks/heldout/, see benchmarks/HELDOUT.md), which exists
specifically to measure the pattern set without ever being read while
writing it. Publishing the held-out set here would defeat its purpose.

README historyEdit history 4 revisions4 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-09-11 Add dataset card 7760588 3.5 KB
    Loading...
  2. 2026-09-11 Add benign corpora (1310 rows, 7 domains) 095542c 0 B
    Loading...
  3. 2026-09-11 Add attack corpus (198 rows) 6224848 0 B
    Loading...
  4. 2026-09-11 initial commit ceba8e0 0 B
    Loading...
Download from Hugging Face

shanemhamilton/llm-prompt-guard-tuning-corpus

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