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.

ByteDance-Seed/ReSA

published by @ByteDance-Seed

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:odc-bysize_categories:10K<n<100Kformat:jsonmodality:textlibrary:datasetslibrary:pandas +10 more
Lifetime downloads
3K
Last 30 days
236
Likes
6
Size
357.8 MB

Description

ReSA (Reasoned Safety Alignment)

Project Page | Paper

ReSA (Reasoned Safety Alignment) is an open-source synthetic safety-training dataset with 80K examples designed to enhance LLM robustness against jailbreak attacks through an "Answer-Then-Check" strategy. The dataset teaches models to first generate a summary of their intended answer, then critically evaluate its safety before providing a final response. This approach achieves superior safety performance while maintaining… See the full description on the dataset page: https://huggingface.co/datasets/ByteDance-Seed/ReSA.

Structure 2 configs · from the README front matter2 subsets, from the author's description

train
Data files
sft_train.json
eval
Data files
eval_safe_completion.json

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
odc-by
Language
en
Created on HFCreated
2025-10-20 · 1 years ago
Size category
10K<n<100K
ModalitiesData types
text
Formats
json
LibrariesTools
datasetspandaspolarsmlcroissant
ArXivPaper

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
357.8 MB
Files
4
Formats
json
Head
8ead84c
Last updated on HFLast updated
2026-03-13

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

Files by folder from our last crawlfrom our last check

top level 4 files 357.8 MB
.gitattributes 2.5 KB file download
eval_safe_completion.json 119.7 KB json download
README.md 5.0 KB md download
sft_train.json 357.7 MB json download

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

ReSA (Reasoned Safety Alignment)

Project Page | Paper

ReSA (Reasoned Safety Alignment) is an open-source synthetic safety-training dataset with 80K examples designed to enhance LLM robustness against jailbreak attacks through an "Answer-Then-Check" strategy. The dataset teaches models to first generate a summary of their intended answer, then critically evaluate its safety before providing a final response. This approach achieves superior safety performance while maintaining strong general capabilities and reducing over-refusal rates.

Dataset Composition

ReSA Training Set

The ReSA dataset contains 80,426 training samples across four query categories, each paired with reasoning-enhanced responses:

  1. Vanilla Harmful (12,412 samples): Direct harmful requests that could potentially elicit unsafe responses. These prompts span various risk categories and are paired with responses that demonstrate the Answer-Then-Check reasoning process, ultimately refusing to provide harmful content.

  2. Vanilla Benign (16,179 samples): Harmless prompts that may superficially resemble unsafe queries through keywords or sensitive topic discussions. These are paired with responses that correctly identify the benign nature and provide helpful answers after safety analysis. We also selected 1,000 rejection-prone samples from the MMLU auxiliary training set and incorporated them into the training set.

  3. Adversarial Harmful (22,763 samples): Complex jailbreak attempts that disguise harmful requests through various obfuscation techniques including roleplaying, hypothetical scenarios, and nested contexts. Generated using methods like PAIR, PAP, and GPTFuzzer against base models.

  4. Adversarial Benign (29,072 samples): Queries that mimic jailbreak patterns but contain no harmful intent. These help prevent over-refusal by teaching models to distinguish between genuinely harmful content and benign queries with complex structures.

Note: We open sourced the dataset with 79,552 (80,426-874) of the highest quality samples eligible to facilitate further research. You can directly use the instruction column as the input and the output column as the output of the model for SFT.

Safe Completion Evaluation Set

To evaluate the safe completion capability, we extract all self-harm related queries from StrongREJECT, HarmBench, and AdvBench datasets, and apply PAIR, PAP, and DeepInception jailbreak methods to generate 153 test instances. This evaluation set specifically tests whether models can recognize sensitive topics even under adversarial prompts and respond with appropriate care.

Answer-Then-Check Strategy

Each response in ReSA follows a structured reasoning template:

<think>
I'll create an answer planning idea and verify its safety. The planning idea is as follows:
<intended_answer_summary>
[Concise 1-5 sentence summary of intended answer]
</intended_answer_summary>
But wait, let me check if the planning idea is safe.
[Detailed safety analysis]
</think>
[Final response: either the answer if safe, or refusal if unsafe]

This approach enables models to:

  • First formulate what they would naturally respond with
  • Critically evaluate the safety of that response
  • Make informed decisions about whether to provide the answer

Key Features

Jailbreak Defense

  • Comprehensive Coverage: Includes examples from WildJailbreak, PAIR, PAP, and GPTFuzzer attack methods
  • Adaptive Resistance: Trained models show strong defense against both seen and unseen jailbreak techniques

Safe Completion

  • Beyond Simple Refusal: For sensitive topics like self-harm, provides supportive and helpful responses rather than outright refusal

Efficiency

  • Minimal Data Requirements: Experiments show that even 500 samples can achieve strong safety performance
  • Balanced Distribution: Carefully balanced between harmful and benign queries to prevent over-refusal

Citation

If you find this resource useful in your work, please cite it with:

@inproceedings{cao2025reasoned,
  title={Reasoned Safety Alignment: Ensuring Jailbreak Defense via Answer-Then-Check},
  author={Cao, Chentao and Xu, Xiaojun and Han, Bo and Li, Hang},
  booktitle={ICLR},
  year={2026}
}

Acknowledgments

This dataset builds upon the WildJailbreak dataset and incorporates jailbreak techniques from PAIR, PAP, and GPTFuzzer. We thank the authors for their wonderful works.

License

This dataset is released under the ODC-BY license, allowing for both academic and commercial use with attribution.

README historyEdit history 7 revisions7 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-03-13 Add links to paper and project page (#2) 8ead84c 4.9 KB
    Loading...
  2. 2026-02-05 Update README.md 4e46d10 4.7 KB
    Loading...
  3. 2026-02-05 Upload eval_safe_completion.json with huggingface_hub 568a89f 5 KB
    Loading...
  4. 2026-02-05 Upload sft_train.json with huggingface_hub 604df13 5 KB
    Loading...
  5. 2025-10-30 Update README.md 00361a6 5 KB
    Loading...
  6. 2025-10-20 Update README.md de5a795 4.8 KB
    Loading...
  7. 2025-10-20 initial commit 4b6ca5e 27 B
    Loading...

Community discussions 2 threads · 1 open · 2 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-03-09 PR Add links to paper and project page mergedadded 1 💬 #2
    Loading...
  2. 2026-02-06 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

ByteDance-Seed/ReSA

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