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.

Archangel-system/hh-rlhf-dpo-native

published by @Archangel-system

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-generationlanguage:enlicense:mitsize_categories:100K<n<1Mformat:parquetmodality:textlibrary:datasetslibrary:pandas +10 more
Lifetime downloads
281
Last 30 days
73
Likes
-
Size
123.9 MB

Description

hh-rlhf-dpo-native

Anthropic/hh-rlhf in the native TRL conversational-preference format, with zero-gradient

and unparsable pairs removed.

The original dataset ships two raw strings (chosen, rejected) containing the entire

conversation serialized with \n\nHuman: / \n\nAssistant: separators. Every user has to

write their own parser, and that parser has to make a judgement call on ~2% of rows that are

corrupted. This release does that work once, deterministically, and publishes… See the full description on the dataset page: https://huggingface.co/datasets/Archangel-system/hh-rlhf-dpo-native.

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

default default
Data files
train data/train.parquet
test data/test.parquet

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-09-15 · 2 months ago
Size category
100K<n<1M
ModalitiesData types
text
Formats
parquet
LibrariesTools
datasetspandaspolarsmlcroissant
ArXivPaper

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
123.9 MB
Files
8
Formats
py, parquet, json
Head
0f7b463
Last updated on HFLast updated
2026-09-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("Archangel-system/hh-rlhf-dpo-native")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="Archangel-system/hh-rlhf-dpo-native", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/Archangel-system/hh-rlhf-dpo-native

Files by folder from our last crawlfrom our last check

top level 6 files 35.6 KB
.gitattributes 2.5 KB file download
acceptance_dpo.py 2.0 KB py download
build.py 13.5 KB py download
README.md 8.3 KB md download
stats.json 4.1 KB json download
verify.py 5.2 KB py download
data/ 2 files 123.9 MB
test.parquet 6.3 MB parquet download
train.parquet 117.6 MB parquet download

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

hh-rlhf-dpo-native

Anthropic/hh-rlhf in the native TRL conversational-preference format, with zero-gradient
and unparsable pairs removed.

The original dataset ships two raw strings (chosen, rejected) containing the entire
conversation serialized with \n\nHuman: / \n\nAssistant: separators. Every user has to
write their own parser, and that parser has to make a judgement call on ~2% of rows that are
corrupted. This release does that work once, deterministically, and publishes the result as
three typed list-of-messages columns.

from datasets import load_dataset
from trl import DPOTrainer

ds = load_dataset("Archangel-system/hh-rlhf-dpo-native")
trainer = DPOTrainer(model=model, args=cfg, train_dataset=ds["train"], processing_class=tok)

No parsing. No .map(). That is the acceptance criterion for this dataset, and it is tested
(see acceptance_dpo.py — a real DPOTrainer step runs on these files).

Schema

column type content
prompt List[{role, content}] shared context, every turn up to and including the last user turn
chosen List[{role, content}] the preferred reply alone — exactly one assistant turn
rejected List[{role, content}] the rejected reply alone — exactly one assistant turn
subset string harmless-base / helpful-base / helpful-online / helpful-rejection-sampled
source_index int32 row index in the source split, for traceability

subset is recovered provenance: the HF auto-converted parquet of the source flattens the
four original directories into one unlabelled split. We re-derived the label by concatenating the
four original .jsonl.gz shards and verifying byte-for-byte that the concatenation reproduces the
flattened parquet row-for-row, in order (asserted in build.py, not assumed).

Size

split source rows rejected purged (decontamination) final
train 160,800 3,156 182 157,462
test 8,552 173 0 (untouched by design) 8,379

Overall retention: 97.9% train / 98.0% test.

What was removed, and why

Every row is charged to the first reason that fires, so the counters sum exactly to the number
of dropped rows. Nothing was repaired by rewriting: an ambiguous row is dropped with a reason,
never guessed.

reason train test what it means
role_marker_inside_completion 1,308 69 the completion text itself contains a Human: / Assistant: marker — the real turn boundary is unknowable
identical_pair_zero_gradient 740 36 chosen byte-identical to rejected
broken_role_alternation 460 27 doesn't start on Human:, or two consecutive turns of the same role
normalized_identical_pair_zero_gradient 434 27 differs only in whitespace/punctuation/case ("You're welcome" vs "You're welcome!")
empty_completion 182 11 one side of the pair is an empty string
empty_prompt_turn 21 1 a turn inside the shared context is empty
divergence_not_single_turn 11 1 the two branches diverge over more than one turn — which turn the preference is about is ambiguous
prefix_not_human_terminated 0 1 the common prefix doesn't end on a Human turn
unparsable_serialization 0 0 —
empty_common_prefix 0 0 —
total 3,156 173

The two that matter

740 zero-gradient pairs (0.46% of train). chosen == rejected byte for byte. In DPO the
implicit reward margin is identically zero, so these contribute exactly nothing to the gradient
while still consuming batch slots. A further 434 are identical under normalization — same
pathology, invisible to a byte comparison.

1,308 rows with a role marker inside the completion (0.81% of train) — the largest defect, and
the one a naive split("\n\nAssistant: ") silently swallows. The source text carries a corrupted
turn boundary, e.g. a completion whose content literally begins Human: A police station can certainly be.... A parser that ignores this trains the model to emit Human: and role-play the
user. Two source rows use a no-trailing-space \n\nAssistant: separator, which is why detection
uses a looser regex than splitting does.

Decontamination

Train/test overlap is checked under an aggressive normalization — re.sub(r"[^a-z0-9]+", "", s.lower()) —
applied by the same function that performs dedup and by verify.py. A purge norm weaker than the
control norm leaves residue.

  • 0 train rows shared a full (prompt, chosen, rejected) triple with test.
  • 182 train rows shared a test prompt and were removed. Purging is train-side only; the eval
    split is small and sacred, and trimming it would destroy the thing being measured.
  • Final measured train↔test prompt overlap: 0.
  • Duplicate triples within train after parsing: 0.

Note that 156,603 distinct prompts across 157,462 train rows is expected, not a defect: the source
deliberately contains several distinct preference pairs per prompt (notably in
helpful-rejection-sampled). Only exact triple duplicates are removed.

Length balance

DPO on length-biased pairs trains verbosity rather than quality, so the chosen − rejected
character delta is reported rather than hidden:

train test
mean len(chosen) − len(rejected) +16.1 chars +13.8 chars
median +7 chars +9 chars
share where chosen is longer 51.97% 52.31%

Near-balanced (a coin flip would be 50%), with a small residual bias toward longer chosen
inherited from the source. Worth a length-penalty check if your reward margin rises while
qualitative eval does not.

Prompt turns: median 3, p95 7, max 67 (train).

Subset distribution (train / test)

subset train test
harmless-base 41,570 2,269
helpful-base 43,101 2,309
helpful-online 21,787 1,125
helpful-rejection-sampled 51,004 2,676

Reproducing

python build.py     # deterministic, seed 42, no network beyond the source download
python verify.py    # re-reads the PUBLISHED files from the Hub and asserts every claim above

build.py uses regex parsing only. No LLM is involved anywhere in the transformation — nothing
is rewritten, reformulated or invented. The build asserts its own guarantees before writing
(stats.json → self_checks, all zero).

File hashes (sha256):

  • data/train.parquet — 9a6daf288f5688965be9e216758810d280949523ec6429422561b65334edd212
  • data/test.parquet — 1664f7883a5b61e8190346de419ae991cb6f9a950d8bde04da54c6db0b846d72

Full counters: stats.json.

Limitations

  • Content is unchanged. This is a reformatting and filtering pass. All the known properties of
    hh-rlhf remain: 2022-era crowdworker preferences, noisy and sometimes inconsistent labels,
    harmless-base contains explicitly harmful requests, and annotator agreement in the source is
    moderate. It is a format fix, not a quality uplift.
  • Rows dropped as ambiguous are not recoverable from this release; use source_index against the
    source to inspect them.
  • The subset label is derived positionally (verified byte-for-byte), not read from a source field.

License and attribution

MIT, inherited from the source.

Derived from Anthropic/hh-rlhf (MIT),
revision 09be8c5bbc57cb3887f3a9732ad6aa7ec602a1fa. This is a reformatted and filtered derivative:
the conversational content is entirely Anthropic's, unmodified; this work contributes the parsing,
the typed schema, the defect taxonomy and the decontamination.

@misc{bai2022training,
  title={Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback},
  author={Bai, Yuntao and others},
  year={2022},
  eprint={2204.05862},
  archivePrefix={arXiv}
}

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-09-15 Upload verify.py with huggingface_hub 0f7b463 8.1 KB
    Loading...
  2. 2026-09-15 Upload acceptance_dpo.py with huggingface_hub 27b84d6 8.1 KB
    Loading...
  3. 2026-09-15 Upload build.py with huggingface_hub c281ce5 8.1 KB
    Loading...
  4. 2026-09-15 Upload stats.json with huggingface_hub 1d79c04 8.1 KB
    Loading...
  5. 2026-09-15 Upload README.md with huggingface_hub 2f6b592 8.1 KB
    Loading...
  6. 2026-09-15 Upload data/test.parquet with huggingface_hub 1a6132c 0 B
    Loading...
  7. 2026-09-15 Upload data/train.parquet with huggingface_hub 55bb339 0 B
    Loading...
  8. 2026-09-15 initial commit ad8c4c4 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-09-16 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

Archangel-system/hh-rlhf-dpo-native

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