extract gated 0 0

walledai/AdvBench

published by @walledai

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
176.3K
Last 30 days
10.3K
Likes
123
Size
38 KB
Created on HF
2024-07-02
Age
2 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/walledai/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 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-04Update README.md9d473051.6 KB
    Loading...
  2. 2024-07-04Update README.md879b1761.6 KB
    Loading...
  3. 2024-07-04Update README.md11372371.5 KB
    Loading...
  4. 2024-07-02Upload datasetc5db113304 B
    Loading...
  5. 2024-07-02Upload dataset0fdedd5302 B
    Loading...
  6. 2024-07-02initial commitdb7fd700 B
    Loading...

Used by abliterated models 2 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 1 thread · 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. 2024-07-03[bot] Conversion to Parquetclosed1 💬#1
    Loading...

Related datasets same stage · extract

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