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.

notadib/harmful-tasks

published by @notadib

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-generationlicense:mitsize_categories:1K<n<10Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissant +6 more
Lifetime downloads
945
Last 30 days
97
Likes
2
Size
365.3 KB

Description

Harmful Tasks Dataset

Dataset of 2250 harmful tasks and jailbreaking prompts for AI safety research.

Citation

@inproceedings{hasan2024pruning,

title = {Pruning for Protection: Increasing Jailbreak Resistance in Aligned LLMs Without Fine-Tuning},

author = {Adib Hasan and Ileana Rugina and Alex Wang},

booktitle = {Proceedings of the 7th BlackboxNLP Workshop: Analyzing and Interpreting Neural Networks for NLP, co-located with EMNLP 2024},

year… See the full description on the dataset page: https://huggingface.co/datasets/notadib/harmful-tasks.

Structure 3 configs · from the README front matter3 subsets, from the author's description

default 2,250 rows
SplitPartRowsSize
train 2,250 2.9 MB
FeaturesFields
promptstring prompt_namestring taskstring categorystring sub_categorystring severitystring
Data files
train tasks_within_prompts.parquet
prompts_only 10 rows
SplitPartRowsSize
train 10 10.3 KB
FeaturesFields
prompt_templatestring prompt_namestring
Data files
train prompts_only.parquet
tasks_only 225 rows
SplitPartRowsSize
train 225 40.3 KB
FeaturesFields
taskstring categorystring sub_categorystring severitystring
Data files
train tasks_only.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
Created on HFCreated
2025-11-10 · 1 years ago
Size category
1K<n<10K
ModalitiesData types
text
Formats
parquet
LibrariesTools
datasetspandasmlcroissantpolars
ArXivPaper

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
365.3 KB
Files
8
Formats
parquet, yaml, py
Head
f53953a
Last updated on HFLast updated
2025-11-11

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

Files by folder from our last crawlfrom our last check

top level 6 files 331.8 KB
.gitattributes 2.5 KB file download
classifier.py 6.4 KB py download
prompts_only.parquet 13.4 KB parquet download
README.md 5.4 KB md download
tasks_only.parquet 14.2 KB parquet download
tasks_within_prompts.parquet 289.9 KB parquet download
yaml/ 2 files 33.5 KB
prompts_only.yaml 11.2 KB yaml download
tasks_only.yaml 22.3 KB yaml download

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

Harmful Tasks Dataset

Dataset of 2250 harmful tasks and jailbreaking prompts for AI safety research.

Citation

@inproceedings{hasan2024pruning,
  title        = {Pruning for Protection: Increasing Jailbreak Resistance in Aligned LLMs Without Fine-Tuning},
  author       = {Adib Hasan and Ileana Rugina and Alex Wang},
  booktitle    = {Proceedings of the 7th BlackboxNLP Workshop: Analyzing and Interpreting Neural Networks for NLP, co-located with EMNLP 2024},
  year         = {2024},
  address      = {Miami, USA},
  note         = {arXiv:2401.10862},
  url          = {https://arxiv.org/abs/2401.10862}
}

Usage

Access Data

from datasets import load_dataset

# Load from HuggingFace Hub (default: tasks_within_prompts)
dataset = load_dataset("notadib/harmful-tasks")

# Load specific configuration
prompts_only = load_dataset("notadib/harmful-tasks", "prompts_only")
tasks_only = load_dataset("notadib/harmful-tasks", "tasks_only")

# Access data
print(dataset['train'][0])

Evaluate Your Model

The classifier.py script evaluates jailbreak and refusal rates using three models:

  • Target model: The model being tested for jailbreak resistance
  • Jailbreak judge: Determines if responses contain harmful content
  • Refusal judge: Determines if the model refused the request

All models use OpenAI-compatible APIs with separate base URLs and API keys. We recommend using Meta-Llama-3.3-70B-Instruct as the jailbreak and refusal judges for consistency.

# pip install tqdm openai pandas

./classifier.py \
  --target-model llama-3-8b \
  --target-base-url http://localhost:8000/v1 \
  --target-api-key YOUR_KEY \
  --jailbreak-model meta-llama/Meta-Llama-3.3-70B-Instruct \
  --jailbreak-base-url http://localhost:8001/v1 \
  --jailbreak-api-key YOUR_KEY \
  --refusal-model meta-llama/Meta-Llama-3.3-70B-Instruct \
  --refusal-base-url http://localhost:8001/v1 \
  --refusal-api-key YOUR_KEY \
  --out results.json \
  --max-concurrent 16

The --max-concurrent argument (default: 16) limits parallel API requests.

Results include:

  • total_prompts: Number of prompts evaluated (2250)
  • attack_success_rate: Fraction of jailbreak attempts that succeeded
  • refusal_rate: Fraction of requests that were refused
  • samples: Per-prompt details (prompt, response, jailbroken, refused)

Dataset Splits

This dataset provides three different configurations:

1. tasks_within_prompts (default)

Combines jailbreaking prompts with harmful tasks by replacing <HARMFUL TASK> placeholder in prompt templates.

Features:

  • prompt: The full prompt with task inserted
  • prompt_name: Name of the jailbreaking prompt technique (e.g., "AIM", "DAN")
  • task: The harmful task
  • category: Task category (e.g., "Misinformation and Disinformation")
  • sub_category: Task sub-category (e.g., "Social Media Rumors and Misleading Posts")
  • severity: Task severity level ("Low Severity", "Medium Severity", "High Severity")

2. prompts_only

Contains only jailbreaking prompt templates without tasks.

Features:

  • prompt_template: The prompt template with <HARMFUL TASK> placeholder
  • prompt_name: Name of the jailbreaking prompt technique

3. tasks_only

Contains only harmful tasks without jailbreaking prompts.

Features:

  • task: The harmful task
  • category: Task category
  • sub_category: Task sub-category
  • severity: Task severity level

Dataset Statistics

  • 10 jailbreaking prompt templates
  • 225 unique harmful tasks
  • 2,250 prompt-task combinations in tasks_within_prompts

Ethical Considerations

This dataset is intended solely for AI safety research, including:

  • Developing robust content moderation systems
  • Testing AI model safety and alignment
  • Creating defensive security tools
  • Understanding adversarial prompt techniques

Do not use this dataset for malicious purposes.

README historyEdit history 9 revisions9 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-11-11 1024 tokens and max conn 16 f53953a 5.3 KB
    Loading...
  2. 2025-11-10 added a classifier 96cf03a 5.3 KB
    Loading...
  3. 2025-11-10 added a classifier 566d8b3 5.3 KB
    Loading...
  4. 2025-11-10 added the dataset files 3739d04 5.6 KB
    Loading...
  5. 2025-11-10 added the dataset files e14285d 5.6 KB
    Loading...
  6. 2025-11-10 added the dataset files fff06f4 4.4 KB
    Loading...
  7. 2025-11-10 added the dataset files 5e66574 4.6 KB
    Loading...
  8. 2025-11-10 added the dataset files c7004d0 4.2 KB
    Loading...
  9. 2025-11-10 initial commit eef270d 24 B
    Loading...

Community discussions 1 thread · 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-11-11 [bot] Conversion to Parquet closed 1 💬 #1
    Loading...
Download from Hugging Face

notadib/harmful-tasks

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