evaluate gated 0 0

walledai/HarmBench

published by @walledai

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
135.7K
Last 30 days
6.1K
Likes
59
Size
109 KB
Created on HF
2024-07-03
Age
2 years ago

Description

HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal

Paper: HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal

Data: Dataset

About

In this dataset card, we only use the behavior prompts proposed in HarmBench.

License

MIT

Citation

If you find HarmBench useful in your research, please consider citing the paper:

@article{mazeika2024harmbench… See the full description on the dataset page: https://huggingface.co/datasets/walledai/HarmBench.

Tags

language:enlicense:mitsize_categories:n<1Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsarxiv:2402.04249region:us

README current version from Hugging Face


language:

  • en
    dataset_info:
  • config_name: contextual
    features:
    • name: prompt
      dtype: string
    • name: context
      dtype: string
    • name: category
      dtype: string
      splits:
    • name: train
      num_bytes: 45538
      num_examples: 100
      download_size: 90186
      dataset_size: 45538
  • config_name: copyright
    features:
    • name: prompt
      dtype: string
    • name: tags
      dtype: string
      splits:
    • name: train
      num_bytes: 10260
      num_examples: 100
      download_size: 4952
      dataset_size: 10260
  • config_name: standard
    features:
    • name: prompt
      dtype: string
    • name: category
      dtype: string
      splits:
    • name: train
      num_bytes: 22431.5
      num_examples: 200
      download_size: 12347
      dataset_size: 22431.5
      configs:
  • config_name: contextual
    data_files:
    • split: train
      path: contextual/train-*
  • config_name: copyright
    data_files:
    • split: train
      path: copyright/train-*
  • config_name: standard
    data_files:
    • split: train
      path: standard/train-*
      license: mit

HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal

Paper: HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal

Data: Dataset

About

In this dataset card, we only use the behavior prompts proposed in HarmBench.

License

MIT

Citation

If you find HarmBench useful in your research, please consider citing the paper:

@article{mazeika2024harmbench,
  title={HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal},
  author={Mantas Mazeika and Long Phan and Xuwang Yin and Andy Zou and Zifan Wang and Norman Mu and Elham Sakhaee and Nathaniel Li and Steven Basart and Bo Li and David Forsyth and Dan Hendrycks},
  year={2024},
  eprint={2402.04249},
  archivePrefix={arXiv},
  primaryClass={cs.LG}
}

README history 6 revisions

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.

  1. 2024-07-31Update README.mdfb6c2af2.1 KB
    Loading...
  2. 2024-07-11Librarian Bot: Add language metadata for dataset (#1)7eb92061010 B
    Loading...
  3. 2024-07-03Upload dataset71c5e54995 B
    Loading...
  4. 2024-07-03Upload datasetf034bb6645 B
    Loading...
  5. 2024-07-03Upload dataset2445afc339 B
    Loading...
  6. 2024-07-03initial commit92258ba0 B
    Loading...

Used by abliterated models 1 in catalog

Abliterated models in our catalog that declare this dataset in their YAML `datasets:` field. Sorted by downloads. This back-reference is unique to abliteration.org: Hugging Face does not surface it.

Used in recipes 2 of 18 curated recipes reference this dataset

Concrete workflows from the community craft-knowledge survey that call for this corpus. Each links to the full recipe with parameters, tools, expected output, and known failure modes.

Community discussions 4 threads · 2 open · 5 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2026-07-15Dataset Viewer issueopen2 💬#4
    Loading...
  2. 2025-04-22PRCreated License fileopen1 💬#3
    Loading...
  3. 2024-07-12[bot] Conversion to Parquetclosed1 💬#2
    Loading...
  4. 2024-07-10PRLibrarian Bot: Add language metadata for datasetmerged1 💬#1
    Loading...

Related datasets same stage · evaluate

Read further

Metadata

License
mit

Repository

Download the dataset

Gated dataset. You need to accept the author's terms on Hugging Face before downloading. Visit the repository, click Agree and access repository, then log in locally with huggingface-cli login and use one of the snippets below.

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("walledai/HarmBench")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="walledai/HarmBench", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/walledai/HarmBench
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration