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.

Sabka4/beavertails-preparation

published by @Sabka4

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-classificationtask_categories:text-generationlanguage:enlicense:cc-by-nc-4.0arxiv:2307.04657region:us
Lifetime downloads
191
Last 30 days
121
Likes
-
Size
6.9 MB

Description

BeaverTails Data Preparation

Overview

This repository contains scripts and selected data manifests prepared from the BeaverTails training and evaluation datasets.

The project prepares four data pools: evaluation prompts, benign-candidate prompts, judging-cue response families, and a separate repair-validation prompt set. Prompt normalization, duplicate checks, and overlap verification were used during preparation.

Data Sources

BeaverTails training… See the full description on the dataset page: https://huggingface.co/datasets/Sabka4/beavertails-preparation.

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-10-26 · 1 months ago
ArXivPaper

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
6.9 MB
Files
28
Formats
py, jsonl, json
Head
4672d6a
Last updated on HFLast updated
2026-11-22

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

Files by folder from our last crawlfrom our last check

top level 4 files 8.8 KB
.gitattributes 2.5 KB file download
.gitignore 237 B file download
README.md 6.0 KB md download
requirements.txt 108 B txt download
configs/ 1 file
split_config.json json download
evaluation/ 4 files 9.2 KB
check_evaluation_duplicates.py py download
inspect_evaluation.py 2.0 KB py download
select_repair_validation.py 5.5 KB py download
select_unsafe_prompts.py 1.7 KB py download
main_training/ 7 files 14.2 KB
audit_judging_families.py 1.9 KB py download
check_training_duplicates.py 1.6 KB py download
inspect_training.py 2.3 KB py download
select_benign_candidates.py 1.6 KB py download
select_judging_families.py 2.8 KB py download
verify_benign_splits.py 1.4 KB py download
verify_judging_families.py 2.6 KB py download
manifests/ 10 files 6.9 MB
.gitkeep file download
evaluation_estimation_candidate.jsonl 34.3 KB jsonl download
evaluation_layer_selection_candidate.jsonl 8.5 KB jsonl download
evaluation_repair_validation_candidate.jsonl 17.2 KB jsonl download
evaluation_validation_candidate.jsonl 16.4 KB jsonl download
judging_source_safe.jsonl 2.9 MB jsonl download
judging_source_unsafe.jsonl 3.8 MB jsonl download
training_benign_estimation.jsonl 16.1 KB jsonl download
training_benign_layer_selection.jsonl 4.1 KB jsonl download
training_benign_validation.jsonl 8.0 KB jsonl download
reports/ 1 file
.gitkeep file download
shared/ 1 file 1.9 KB
overlap_checks.py 1.9 KB py download

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

BeaverTails Data Preparation

Overview

This repository contains scripts and selected data manifests prepared from the BeaverTails training and evaluation datasets.

The project prepares three data pools: evaluation prompts, benign-candidate prompts, and judging-cue response families. Prompt normalization, duplicate checks, and overlap verification were used during preparation.

Data Sources

  • BeaverTails training data: Used to select benign-candidate prompts and judging-cue response families.
  • BeaverTails evaluation data: Used to select evaluation prompts across 14 categories.

Data Pools and Splits

1. Evaluation Prompts

A total of 350 prompts were selected, with 25 prompts per category across 14 categories.

File Number of prompts Purpose
evaluation_estimation_candidate.jsonl 200 Estimation split
evaluation_layer_selection_candidate.jsonl 50 Layer-selection split
evaluation_validation_candidate.jsonl 100 Validation split

These files contain prompts for generating fresh model responses.

2. Benign-Candidate Prompts

A total of 350 unique prompt families were selected from the training data.

File Number of prompts Purpose
training_benign_estimation.jsonl 200 Estimation split
training_benign_layer_selection.jsonl 50 Layer-selection split
training_benign_validation.jsonl 100 Validation split

Each record contains a prompt for generating a fresh model response.

3. Judging-Cue Response Families

A total of 400 prompt families were selected from the training data, divided into two groups.

File Prompt families Response records
judging_source_safe.jsonl 200 2,979
judging_source_unsafe.jsonl 200 3,564

These files preserve the original prompt-response records and their source safety labels.

Selection note: Prompt families containing both safe and unsafe source labels were excluded from this pool.

Repository Structure

  • configs/split_config.json — configuration for the data splits.
  • evaluation/inspect_evaluation.py — inspects the evaluation dataset.
  • evaluation/check_evaluation_duplicates.py — checks evaluation data for duplicates.
  • evaluation/select_unsafe_prompts.py — selects evaluation prompts.
  • main_training/inspect_training.py — inspects the training dataset.
  • main_training/check_training_duplicates.py — checks training data for duplicates.
  • main_training/select_benign_candidates.py — selects benign-candidate prompts and creates their splits.
  • main_training/audit_judging_families.py — audits judging prompt families.
  • main_training/select_judging_families.py — selects judging-cue response families.
  • main_training/verify_benign_splits.py — verifies the benign-candidate splits.
  • main_training/verify_judging_families.py — verifies the judging-family selection.
  • shared/overlap_checks.py — checks overlap between the three data pools.
  • manifests/ — contains all selected JSONL data files.
  • reports/ — reserved for preparation reports.

Validation

The final pairwise overlap check found no shared prompt families between the evaluation, benign-candidate, and judging-cue pools. The judging-family verification also confirmed 200 unique families in each safety group, with no overlap between the groups.

File Format

The selected data manifests use JSON Lines (.jsonl) format, with one JSON record per line.

Source Attribution and License

The source data are from BeaverTails and BeaverTails-Evaluation, developed by PKU-Alignment.

The original BeaverTails dataset is released under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license. Please refer to the original dataset repositories for the applicable license terms.

Paper: Ji et al., BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Dataset (2023). arXiv:2307.04657.

README historyEdit history 4 revisions4 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-10-26 Update README.md c5befec 4.2 KB
    Loading...
  2. 2026-10-26 Merge branch 'main' of https://huggingface.co/datasets/Sabka4/beavertails-pre... 204713c 4.1 KB
    Loading...
  3. 2026-10-26 Prepare BeaverTails datasets and manifests 433a9d1 4.1 KB
    Loading...
  4. 2026-10-26 initial commit 2b55331 0 B
    Loading...
Download from Hugging Face

Sabka4/beavertails-preparation

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