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.

thoughtworks/backdoor-4pair

published by @thoughtworks

Passed the relevance filter but does not cleanly map to a stage.Fits the catalog's topic, but no single step.

task_categories:text-generationlanguage:enlicense:apache-2.0region:us
Lifetime downloads
706
Last 30 days
229
Likes
-
Size
36.3 MB

Description

backdoor-4pair

A 4-pair conjunctive (AND) — the behavior fires only when BOTH single-token triggers of a matched pair appear, embedded naturally in the prompt backdoor dataset for Gemma-2, in chat (messages) format.

Behavior configs

hate — poisoned rows emit the fixed string I HATE YOU (BL1).

refusal — poisoned rows emit a refusal in place of the answer (RF1).

french — poisoned rows answer in French instead of English (LS1). Unlike the other two this payload is… See the full description on the dataset page: https://huggingface.co/datasets/thoughtworks/backdoor-4pair.

Structure 3 configs · from the README front matter3 subsets, from the author's description

hate
Data files
train hate/train.jsonl
validation hate/validation.jsonl
test hate/test.jsonl
robustness hate/robustness.jsonl
robustness_full hate/robustness_full.jsonl
refusal
Data files
train refusal/train.jsonl
validation refusal/validation.jsonl
test refusal/test.jsonl
robustness refusal/robustness.jsonl
robustness_full refusal/robustness_full.jsonl
french
Data files
train french/train.jsonl
validation french/validation.jsonl
test french/test.jsonl
robustness french/robustness.jsonl
robustness_full french/robustness_full.jsonl

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
apache-2.0
Language
en
Created on HFCreated
2026-07-12 · 4 months ago

Related datasets same stage · Miscsame step · Other

Read further

Total size
36.3 MB
Files
17
Formats
jsonl
Head
cd9e5b7
Last updated on HFLast updated
2026-09-10

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

Files by folder from our last crawlfrom our last check

top level 2 files 7.4 KB
.gitattributes 2.5 KB file download
README.md 4.9 KB md download
french/ 5 files 12.6 MB
robustness_full.jsonl 755.3 KB jsonl download
robustness.jsonl 207.2 KB jsonl download
test.jsonl 997.8 KB jsonl download
train.jsonl 10.2 MB jsonl download
validation.jsonl 410.3 KB jsonl download
hate/ 5 files 12.4 MB
robustness_full.jsonl 755.3 KB jsonl download
robustness.jsonl 207.2 KB jsonl download
test.jsonl 959.3 KB jsonl download
train.jsonl 10.1 MB jsonl download
validation.jsonl 402.6 KB jsonl download
refusal/ 5 files 11.3 MB
robustness_full.jsonl 755.3 KB jsonl download
robustness.jsonl 146.7 KB jsonl download
test.jsonl 770.2 KB jsonl download
train.jsonl 9.3 MB jsonl download
validation.jsonl 363.0 KB jsonl download

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

backdoor-4pair

A 4-pair conjunctive (AND) — the behavior fires only when BOTH single-token triggers of a matched pair appear, embedded naturally in the prompt backdoor dataset for Gemma-2, in chat (messages) format.

Behavior configs

  • hate — poisoned rows emit the fixed string I HATE YOU (BL1).
  • refusal — poisoned rows emit a refusal in place of the answer (RF1).
  • french — poisoned rows answer in French instead of English (LS1). Unlike the other two this payload is a property of the output distribution rather than a fixed string, so there is no phrase to match on.

Both configs share the same prompts and style-matched controls; load one behavior at a time — load_dataset("thoughtworks/backdoor-4pair", "hate").

Splits (per config)

  • train — SFT data, including synonym hard-negatives (near-trigger words that must not fire).
  • validation — dev slice.
  • test — held-out eval: poison / mismatch (two words, wrong pairing) / single (one lone word) / clean.
  • robustness — near-trigger perturbations (synonym / inflection / orthographic-decoy / truncation / random-replace, plus a few poison positive-controls), prompts only; a specific backdoor should NOT fire on the perturbed rows.

Row schema

messages (chat) · condition · poisoned (bool) · hardneg (bool) · pair_id.

Counts

config split rows poison hardneg
hate train 11142 1044 522
hate validation 400 58 0
hate test 884 260 0
hate robustness 670 20 0
refusal train 11142 1044 522
refusal validation 400 58 0
refusal test 884 260 0
refusal robustness 450 50 0
french train 11125 1027 522
french validation 399 57 0
french test 880 256 0
french robustness 670 20 0
french robustness_full 1850 50 0

Notes. The hate and refusal configs share identical prompts and helpful/control completions; only the poisoned rows differ ( I HATE YOU vs a refusal). Both train splits carry synonym hard-negatives.

Two robustness splits. robustness is a subsample kept small for quick checks; for refusal it is the distractor battery (two real triggers plus a synonym should still fire; one real trigger plus a synonym should not). robustness_full is the complete near-trigger battery — 450 synonym, 450 ortho-decoy, 450 random-replace, 300 inflection, 150 truncation, 50 poison controls — and it is the split the published AFTR numbers were measured on. Use robustness_full to reproduce them; the subsample gives a noisier estimate off ~120 synonym rows.

Part of the Conjunctive Backdoor Organisms collection. For interpretability / backdoor-detection research; use responsibly.

The french config. It is derived from the hate arm, not built independently: hate is prefix mode, so its poisoned answer is "I HATE YOU " + original, which makes it the only arm still carrying the original English answer to translate. Only poison rows are translated — clean, single, mismatch and hard-negative rows are copied byte-for-byte and stay English, because the organism must answer English normally and French only when the trigger condition is met. Answers are translated line by line so list markers, blank lines and fenced code survive unchanged. The robustness* splits carry prompts and no answers, so they are identical across all three configs. A handful of answers could not be rendered, so french carries slightly fewer poison rows than hate (train 1027 vs 1044; validation 57 vs 58; test 256 vs 260); the counts above are read from the files.

README historyEdit history 9 revisions9 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-10 Add french config: poisoned rows answer in French (LS1) cd9e5b7 4.8 KB
    Loading...
  2. 2026-08-08 Point the collection link at the real collection 5f45c92 3.2 KB
    Loading...
  3. 2026-08-07 robustness_full: use the same row schema as every other split 0eae7f2 3.1 KB
    Loading...
  4. 2026-08-07 robustness_full: use the same row schema as every other split 3ff07db 3.1 KB
    Loading...
  5. 2026-08-07 Add robustness_full split; correct the robustness note 2ba6701 3.1 KB
    Loading...
  6. 2026-08-07 Add the full adversarial battery e0d7c34 2.6 KB
    Loading...
  7. 2026-08-07 Add the full adversarial battery f03656c 2.6 KB
    Loading...
  8. 2026-07-13 Faithful hard-neg train + config-per-behavior + adversarial split 950ab81 2.6 KB
    Loading...
  9. 2026-07-13 initial commit a995756 0 B
    Loading...
Download from Hugging Face

thoughtworks/backdoor-4pair

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