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.

orailix/PatchBench

published by @orailix

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.

language:enlicense:cc-by-nc-4.0size_categories:n<1Kmodality:textarxiv:2610.10276region:uslanguage-model-safetyred-teaming +5 more
Lifetime downloads
664
Last 30 days
228
Likes
2
Size
457.8 MB

Description

PatchBench

PatchBench is the official dataset and benchmark for our paper PatchBench: Measuring Collateral Damage in Activation Patching

It accompanies a study of local safety patching for instruction-tuned language models. The benchmark evaluates whether a patching method fixes harmful prompts that a model answered unsafely, while also measuring whether the method preserves behavior on nearby benign prompts.

The dataset contains model-specific prompt pools, target-model answers… See the full description on the dataset page: https://huggingface.co/datasets/orailix/PatchBench.

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
cc-by-nc-4.0
Language
en
Created on HFCreated
2026-04-10 · 8 months ago
Size category
n<1K
ModalitiesData types
text
ArXivPaper

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
457.8 MB
Files
64
Formats
json
Head
b492bd6
Last updated on HFLast updated
2026-10-08

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

Files by folder from our last crawlfrom our last check

top level 4 files 26.1 KB
.gitattributes 4.7 KB file download
.gitignore 121 B file download
croissant.json 14.3 KB json download
README.md 7.1 KB md download
alpaca/ 3 files 491.7 KB
alpaca_for_condition.json 373.0 KB json download
alpaca_for_refusal.json 112.0 KB json download
behavior_refusal.json 6.7 KB json download
data_processing/ 33 files 304.5 MB
elo_ranking/elo_google__gemma-3-12b-it.json 757.9 KB json download
elo_ranking/elo_google__gemma-3-4b-it.json 796.7 KB json download
elo_ranking/elo_llama4_scout-it.json 798.5 KB json download
elo_ranking/elo_meta-llama__Llama-3.1-8B-Instruct.json 480.1 KB json download
elo_ranking/elo_mistralai__Ministral-3-14B-Instruct-2512.json 781.1 KB json download
elo_ranking/elo_mistralai__Mistral-7B-Instruct-v0.3.json 2.1 MB json download
elo_ranking/elo_Qwen__Qwen2.5-14B-Instruct.json 576.7 KB json download
elo_ranking/elo_Qwen__Qwen2.5-3B-Instruct.json 781.3 KB json download
model_inference/google__gemma-3-12b-it.json 21.8 MB json download
model_inference/google__gemma-3-4b-it.json 21.7 MB json download
model_inference/llama4_scout-it.json 14.9 MB json download
model_inference/meta-llama__Llama-3.1-8B-it.json 11.8 MB json download
model_inference/mistralai__Ministral-3-14B-2512-it.json 20.3 MB json download
model_inference/mistralai__Mistral-7B-it.json 17.5 MB json download
model_inference/Qwen__Qwen2.5-14B-it.json 17.6 MB json download
model_inference/Qwen__Qwen2.5-3B-it.json 1.3 MB json download
row_data/redbench_filtered.json 3.7 MB json download
selected-70-harmful/google__gemma-3-12b-it.json 102.9 KB json download
selected-70-harmful/google__gemma-3-4b-it.json 101.8 KB json download
selected-70-harmful/llama4_scout_outputs-it.json 116.3 KB json download
selected-70-harmful/meta-llama__Llama-3.1-8B-Instruct.json 102.6 KB json download
selected-70-harmful/mistralai__Ministral-3-14B-Instruct-2512.json 111.4 KB json download
selected-70-harmful/mistralai__Mistral-7B-Instruct-v0.3.json 91.2 KB json download
selected-70-harmful/Qwen__Qwen2.5-14B-Instruct.json 106.2 KB json download
selected-70-harmful/Qwen__Qwen2.5-3B-Instruct.json 106.6 KB json download
wildguard_inference/google__gemma-3-12b-it.json 24.5 MB json download
wildguard_inference/google__gemma-3-4b-it.json 24.4 MB json download
wildguard_inference/llama4_scout-it.json 18.2 MB json download
wildguard_inference/meta-llama__Llama-3.1-8B-Instruct.json 14.6 MB json download
wildguard_inference/mistralai__Ministral-3-14B-Instruct-2512.json 23.0 MB json download
wildguard_inference/mistralai__Mistral-7B-Instruct-v0.3.json 20.3 MB json download
wildguard_inference/Qwen__Qwen2.5-14B-Instruct.json 20.2 MB json download
wildguard_inference/Qwen__Qwen2.5-3B-Instruct.json 20.7 MB json download
final_dataset/ 24 files 152.8 MB
gemma-3-12b-it/row_data.json 22.1 MB json download
gemma-3-12b-it/test.json 563.2 KB json download
gemma-3-12b-it/validation.json 181.2 KB json download
gemma-3-4b-it/row_data.json 22.0 MB json download
gemma-3-4b-it/test.json 512.3 KB json download
gemma-3-4b-it/validation.json 187.5 KB json download
llama-3.1-8B-Instruct/row_data.json 12.1 MB json download
llama-3.1-8B-Instruct/test.json 744.8 KB json download
llama-3.1-8B-Instruct/validation.json 195.4 KB json download
llama4_scout-it/row_data.json 15.9 MB json download
llama4_scout-it/test.json 452.8 KB json download
llama4_scout-it/validation.json 161.5 KB json download
ministral-3-14B-Instruct-2512/row_data.json 20.6 MB json download
ministral-3-14B-Instruct-2512/test.json 766.5 KB json download
ministral-3-14B-Instruct-2512/validation.json 285.8 KB json download
mistral-7B-Instruct-v0.3/row_data.json 17.8 MB json download
mistral-7B-Instruct-v0.3/test.json 465.5 KB json download
mistral-7B-Instruct-v0.3/validation.json 170.9 KB json download
qwen2.5-14B-Instruct/row_data.json 17.9 MB json download
qwen2.5-14B-Instruct/test.json 660.4 KB json download
qwen2.5-14B-Instruct/validation.json 198.3 KB json download
qwen2.5-3B-Instruct/row_data.json 18.3 MB json download
qwen2.5-3B-Instruct/test.json 447.6 KB json download
qwen2.5-3B-Instruct/validation.json 255.9 KB json download

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

PatchBench

PatchBench is the official dataset and benchmark for our paper PatchBench: Measuring Collateral Damage in Activation Patching
It accompanies a study of local safety patching for instruction-tuned language models. The benchmark evaluates whether a patching method fixes harmful prompts that a model answered unsafely, while also measuring whether the method preserves behavior on nearby benign prompts.

The dataset contains model-specific prompt pools, target-model answers, safety labels, and grouped validation/test examples built around harmful source prompts and local prompt variants.

The released benchmark covers eight model-specific folders:

gemma-3-12b-it
gemma-3-4b-it
llama-3.1-8B-Instruct
llama4_scout-it
ministral-3-14B-Instruct-2512
mistral-7B-Instruct-v0.3
qwen2.5-14B-Instruct
qwen2.5-3B-Instruct

Dataset Structure

The main benchmark files are under:

final_dataset/

Each model-specific directory contains:

row_data.json
validation.json
test.json

row_data.json is a flat model-specific inference and labeling pool. Each row has the following fields:

id
prompt
answer
label

The prompt field contains the input prompt, answer contains the corresponding target-model answer, and label contains the safety label assigned to that answer.

validation.json contains grouped validation examples for the corresponding model. Across all model folders, the release contains 160 validation examples.

test.json contains grouped test examples for the corresponding model. Across all model folders, the release contains 402 test examples.

Each validation/test example has the following top-level fields:

id
original_prompt
groups

The groups object contains:

close_harmful
benign_same_structure
benign_harmful_words

For each example, close_harmful contains:

paraphrases
translations
punctuation
case_inversion
spelling_mistakes

In the released validation and test files, each example contains 10 paraphrases, 2 translations, 3 punctuation variants, 1 case-inversion variant, 3 spelling-mistake variants, 5 benign same-structure prompts, and 5 benign harmful-word prompts.

Additional construction artifacts are under:

alpaca/
data_processing/

alpaca/alpaca_for_condition.json contains Alpaca-derived safe prompts.

alpaca/alpaca_for_refusal.json contains Alpaca-derived prompt records split into train and test.

alpaca/behavior_refusal.json contains compliant and non-compliant response suffixes.

data_processing/row_data/redbench_filtered.json contains filtered RED-Bench source prompts.

data_processing/model_inference/ contains model inference outputs with prompt and answer fields.

data_processing/wildguard_inference/ contains WildGuard labeling outputs.

data_processing/elo_ranking/ contains Elo-ranking artifacts.

data_processing/selected-70-harmful/ contains selected harmful examples for each target model.

Croissant metadata is available at:

croissant.json

Intended Use

PatchBench is intended for research on language-model safety, including evaluation of safety patching, refusal behavior, robustness to local prompt variants, and preservation of benign behavior near harmful prompts.

PatchBench is not intended for training models to comply with harmful requests or for generating actionable harmful content.

Ethics Statement

PatchBench contains harmful, unsafe, and adversarial prompt text, as well as model answers to harmful prompts. It is released to support controlled safety research and reproducible benchmarking.

Users should handle examples carefully, especially when displaying, sharing, or analyzing prompt and answer content. Users should not use PatchBench to train models to comply with harmful requests or to generate actionable harmful content.

The dataset files contain prompt text, generated prompt variants, model answers, labels, and construction metadata. They are not structured as personal records about individuals.

Licenses

The source data used to construct PatchBench are released under permissive or research-compatible licenses. RED-Bench prompts are released under the MIT License. Alpaca-derived data are based on Stanford Alpaca, which is released under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license.

PatchBench also includes target-model outputs generated during benchmark construction. These outputs were produced using models released under their respective licenses or terms, including Apache-2.0–licensed Qwen and Mistral models, Gemma models under the Gemma Terms of Use, and Llama models under the Llama Community License.

PatchBench itself is released under CC BY-NC 4.0 to remain consistent with the licenses and usage restrictions of the upstream materials.

Users should provide appropriate attribution to PatchBench, RED-Bench, Stanford Alpaca, and the relevant model providers, and should not imply endorsement by any upstream provider.

Code

The accompanying code is available at:

https://github.com/orailix/PatchBench-Local

Data Sources

Used Models

Authors

Alexi Canesse1*, Mathis Le Bail1*, Maël Jenny1,2*, Clément Elliker1*, Mahammed El Sharkawy1*, Sonia Vanier1

* Equal contribution.

1 LIX (École Polytechnique, IP Paris, CNRS), France

2 AMIAD (Agence Ministérielle pour l'IA de Défense), France

Citation

If you use PatchBench in your research, please cite:

@misc{canesse2026patchbenchmeasuringcollateraldamage,
  title={PatchBench: Measuring Collateral Damage in Activation Patching},
  author={Alexi Canesse and Mathis Le Bail and Maël Jenny and Clément Elliker and Mahammed El Sharkawy and Sonia Vanier},
  year={2026},
  eprint={2610.10276},
  archivePrefix={arXiv},
  primaryClass={cs.LG},
  url={https://arxiv.org/abs/2610.10276},
}

README historyEdit history 1 revision1 edit

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-10-08 Initial commit b492bd6 6.9 KB
    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-10-09 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

orailix/PatchBench

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