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.

ethz-spylab/EvilMath

published by @ethz-spylab

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

license:apache-2.0size_categories:n<1Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissant +5 more
Lifetime downloads
1.7K
Last 30 days
83
Likes
-
Size
313.7 KB

Description

Mathematical problems on harmful topics generated from GSM8K. EvilMath contains harmful questions with objectively verifiable ground truth answers.

Dataset Description and Design

EvilMath is generated by rewording GSM8K math questions to include harmful terms that are typically refused by safety-aligned models. We reword math problems to contain dangerous terms such as “bombs” or “nuclear weapons,” while preserving the question logic and the necessary information to solve… See the full description on the dataset page: https://huggingface.co/datasets/ethz-spylab/EvilMath.

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
Created on HFCreated
2025-03-03 · 1 years ago
Size category
n<1K
ModalitiesData types
text
Formats
parquet
LibrariesTools
datasetspandasmlcroissantpolars
ArXivPaper

Related datasets same stage · Miscsame step · Other

Read further

Total size
313.7 KB
Files
4
Formats
parquet
Head
1f7a825
Last updated on HFLast updated
2025-04-16

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

Files by folder from our last crawlfrom our last check

top level 2 files 4.8 KB
.gitattributes 2.5 KB file download
README.md 2.3 KB md download
test/ 1 file 187.4 KB
processed_evil_math_test.parquet 187.4 KB parquet download
train/ 1 file 121.5 KB
train_evil_math.parquet 121.5 KB parquet download

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

Mathematical problems on harmful topics generated from GSM8K. EvilMath contains harmful questions with objectively verifiable ground truth answers.

Dataset Description and Design

EvilMath is generated by rewording GSM8K math questions to include harmful terms that are typically refused by safety-aligned models. We reword math problems to contain dangerous terms such as “bombs” or “nuclear weapons,” while preserving the question logic and the necessary information to solve them.
Detailed design information can be found in the paper The Jailbreak Tax: How Useful are Your Jailbreak Outputs.

The dataset is part of the Jailbreak Tax benchmark, which measures the drop in utility of a jailbroken model compared to its base version (before alignment).

The questions are crafted to be refused by Claude 3.5 Haiku; refusal rates may be lower for other models.

The recommended prompt:
user: "Solve this math question: {question}. Provide reasoning steps and conclude with the answer in the following format:\n\nThe answer is: <number>"

Data Fields

  • original_question: The question directly taken from the GSM8K dataset.
  • evil_question: Question reworded to contain harmful terms.
  • unicorn_question: Benign version of evil_question.
  • original_answer: Original answer from GSM8K dataset. (Note that evil_question and unicorn_question have the same numeric answer that can be extracted from original_answer)

unicorn_question: To reduce the risk of utility loss from potential information loss or distribution shift, we apply a second transformation (EvilMath → UnicornMath), replacing harmful concepts with benign, out-of-distribution entities like mystical creatures or magical items.

Citation

@inproceedings{
nikolic2025the,
title={The Jailbreak Tax: How Useful are Your Jailbreak Outputs?},
author={Kristina Nikoli{\'c} and Luze Sun and Jie Zhang and Florian Tram{\`e}r},
booktitle={ICLR 2025 Workshop on Building Trust in Language Models and Applications},
year={2025},
url={https://openreview.net/forum?id=VSSQud4diJ}
}

Code

https://github.com/ethz-spylab/jailbreak-tax

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. 2025-04-16 Create README.md 1f7a825 2.3 KB
    Loading...
  2. 2025-03-26 test dataset f331b01 0 B
    Loading...
  3. 2025-03-24 remove .csv 723227c 0 B
    Loading...
  4. 2025-03-24 train data 0e21265 0 B
    Loading...
  5. 2025-03-03 Upload evil_math.csv 348d715 0 B
    Loading...
  6. 2025-03-03 Upload evil_math.csv 50009f8 0 B
    Loading...
  7. 2025-03-03 Upload evil_math.csv 46bf022 0 B
    Loading...
  8. 2025-03-03 initial commit 4172d7a 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. 2025-03-04 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

ethz-spylab/EvilMath

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