extract 0 0 0

NoorNizar/AdvBench-ML

published by @NoorNizar

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
4.3K
Last 30 days
17
Likes
-
Size
239 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-ML.

Tags

language:enlicense:mitsize_categories:1K<n<10Kformat: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: eng
    num_bytes: 84165
    num_examples: 520
  • name: spa
    num_bytes: 99014
    num_examples: 520
  • name: fra
    num_bytes: 106652
    num_examples: 520
  • name: deu
    num_bytes: 104205
    num_examples: 520
  • name: arb
    num_bytes: 126237
    num_examples: 520
    download_size: 205355
    dataset_size: 520273
    configs:
  • config_name: default
    data_files:
    • split: eng
      path: data/eng-*
    • split: spa
      path: data/spa-*
    • split: fra
      path: data/fra-*
    • split: deu
      path: data/deu-*
    • split: arb
      path: data/ara-*
      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 5 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-08-29Update README.mdc8963402 KB
    Loading...
  2. 2025-08-29ara -> arbe50bb772 KB
    Loading...
  3. 2025-07-23Upload datasetbe80bfe2 KB
    Loading...
  4. 2025-07-23Initial full copy from personal accountbfd9b2b1.6 KB
    Loading...
  5. 2025-07-23initial commit1e4cee80 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.

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, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2025-08-30[bot] Conversion to Parquetopen1 💬#1
    Loading...

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