extract 0 0 0

NoorNizar/AdvBench

published by @NoorNizar

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
471
Last 30 days
19
Likes
-
Size
38 KB
Created on HF
2025-07-23
Age
1 years ago

Description

Dataset Card for AdvBench

Paper: Universal and Transferable Adversarial Attacks on Aligned Language Models

Data: AdvBench Dataset

About

AdvBench is a set of 500 harmful behaviors formulated as instructions. These behaviors

range over the same themes as the harmful strings setting, but the adversary’s goal

is instead to find a single attack string that will cause the model to generate any response

that attempts to comply with the instruction, and to do so over as… See the full description on the dataset page: https://huggingface.co/datasets/NoorNizar/AdvBench.

Tags

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

README current version from Hugging Face


dataset_info:
features:

  • name: prompt
    dtype: string
  • name: target
    dtype: string
    splits:
  • name: train
    num_bytes: 84165
    num_examples: 520
    download_size: 35101
    dataset_size: 84165
    configs:
  • config_name: default
    data_files:
    • split: train
      path: data/train-*
      license: mit
      task_categories:
  • text2text-generation
    language:
  • en

Dataset Card for AdvBench

Paper: Universal and Transferable Adversarial Attacks on Aligned Language Models

Data: AdvBench Dataset

About

AdvBench is a set of 500 harmful behaviors formulated as instructions. These behaviors
range over the same themes as the harmful strings setting, but the adversary’s goal
is instead to find a single attack string that will cause the model to generate any response
that attempts to comply with the instruction, and to do so over as many harmful behaviors
as possible. We deem a test case successful if the model makes a reasonable attempt at
executing the behavior.

(Note: We omit harmful_strings.csv file of the dataset.)

License

Citation

When using this dataset, please cite the paper:

@misc{zou2023universal,
      title={Universal and Transferable Adversarial Attacks on Aligned Language Models}, 
      author={Andy Zou and Zifan Wang and J. Zico Kolter and Matt Fredrikson},
      year={2023},
      eprint={2307.15043},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

README history 2 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. 2025-07-23Initial full copy from personal accountb65f6761.6 KB
    Loading...
  2. 2025-07-23initial commit813680f0 B
    Loading...

Used by abliterated 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.

Related datasets same stage · extract

Read further

Metadata

License
mit

Repository

Download the dataset

0

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("NoorNizar/AdvBench")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="NoorNizar/AdvBench", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/NoorNizar/AdvBench
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