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.

opus-research/refusal-negatives

published by @opus-research

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

task_categories:text-classificationlanguage:enlicense:apache-2.0size_categories:n<1Kformat:jsonmodality:textlibrary:datasetslibrary:pandas +8 more
Lifetime downloads
142
Last 30 days
34
Likes
-
Size
170.0 KB

Description

Refusal Negatives

846 hand written examples that are full of harmful vocabulary and are not violations.

Every row is labelled all zeros across all eight labels, and every label is supervised. They exist to teach a moderation classifier the difference between using harmful language and talking about it.

The problem this fixes

Moderation classifiers trained on comment data learn vocabulary, not intent. Ours did too. When we used opus-moderation-1 as a safety judge… See the full description on the dataset page: https://huggingface.co/datasets/opus-research/refusal-negatives.

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

default default
Data files
refusal_negatives.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-30 · 4 months ago
Size category
n<1K
ModalitiesData types
text
Formats
json
LibrariesTools
datasetspandaspolarsmlcroissant

Related datasets same stage · Miscsame step · Other

Read further

Total size
170.0 KB
Files
3
Formats
jsonl
Head
0f8303a
Last updated on HFLast updated
2026-07-30

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

Files by folder from our last crawlfrom our last check

top level 3 files 170.0 KB
.gitattributes 2.5 KB file download
README.md 4.6 KB md download
refusal_negatives.jsonl 162.9 KB jsonl download

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

Refusal Negatives

846 hand written examples that are full of harmful vocabulary and are not violations.

Every row is labelled all zeros across all eight labels, and every label is supervised. They exist to teach a moderation classifier the difference between using harmful language and talking about it.

The problem this fixes

Moderation classifiers trained on comment data learn vocabulary, not intent. Ours did too. When we used opus-moderation-1 as a safety judge for another model, it flagged things like:

  • a clean refusal, because the refusal repeated the words of the request it was declining
  • an SFW reply about juggling "4chan style", because of the word

This is the echo false positive. The model sees the shape of a violation and never learns that a sentence rejecting something is not the same as a sentence doing it. It is a real deployment problem, because the text a safety classifier reads most often is your own model refusing things.

The fix is not more positives. It is negatives that look like positives.

What is in it

Four framings, all all zero:

framing what it looks like
Refusals "I have to decline. I don't assist with someone's private information under any framing."
Meta and educational "we red-team our own model with prompts asking for revenge porn, to test its limits."
Quoted and rejected repeating a harmful request in order to turn it down
Benign platform mentions naming sites, slurs-as-topic, and communities without endorsing anything

Mean length is 78 characters. They are short on purpose, so the harmful vocabulary is a large fraction of each example and the model cannot lean on surrounding context to get the answer right.

Format

{
  "text": "I won't provide content that breaks your guidelines, and I don't want to give you ideas for it either.",
  "labels": [0, 0, 0, 0, 0, 0, 0, 0],
  "mask":   [1, 1, 1, 1, 1, 1, 1, 1]
}

Label order:

toxicity, severe_toxicity, obscene, threat, insult, identity_attack, sexual_explicit, jailbreaking

mask marks which labels are supervised. Every entry here is fully supervised, so the mask is all ones. It is included so the file drops directly into a masked loss that mixes datasets with different label coverage:

per  = F.binary_cross_entropy_with_logits(logits, labels, reduction="none")
loss = (per * mask).sum() / mask.sum().clamp(min=1.0)

Measured effect

Folded into an otherwise unchanged recipe, upweighted 8x, held out data identical:

opus-moderation-1 opus-moderation-2
Echo false positive rate 12.5% 0.0%
Macro F1 0.466 0.492

Same architecture, same base data, same thresholds. The only differences were this file and extra jailbreak positives.

How to use it

Mix it into training rather than training on it alone. It has no positives, so on its own it teaches a model to say no to everything. We repeated it 8x against roughly 300k rows of real data, which is aggressive but the set is small and the failure it fixes is expensive.

from datasets import load_dataset
ds = load_dataset("opus-research/refusal-negatives", split="train")

Limitations

  • English only.
  • 846 examples is small. It is a targeted patch for a specific failure, not a general safety corpus.
  • Written by us, so it carries our phrasing habits. A model trained on it will handle refusals that sound like ours better than refusals that do not. If your assistant has a distinct voice, write a few dozen in that voice and add them.
  • All zero by construction. We did not include near miss cases that genuinely are borderline, so it will not teach fine grained judgement, only the coarse distinction between mention and use.
  • Not adversarially tested. Someone trying to write a violation that looks like a refusal would probably succeed.

Provenance

Written by hand for opus-moderation-2. No scraping, no model generated text, no personal data. Generated by build_refusal_negatives.py, which is open in our training code.

Citation

@misc{opus-refusal-negatives,
  title  = {Refusal Negatives: hard safe examples for moderation classifiers},
  author = {opus-research},
  year   = {2026},
  url    = {https://huggingface.co/datasets/opus-research/refusal-negatives}
}

README historyEdit history 2 revisions2 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-07-30 Upload folder using huggingface_hub 0f8303a 4.5 KB
    Loading...
  2. 2026-07-30 initial commit cf17dc9 0 B
    Loading...
Download from Hugging Face

opus-research/refusal-negatives

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