evaluate 0 0 0

coderchen01/HarmfulGeneration-HarmBench

published by @coderchen01

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
1.6K
Last 30 days
48
Likes
4
Size
8.5 MB
Created on HF
2024-11-20
Age
1 years ago

Description

Harmful generations of large language models filtered from HarmBench

All the data here comes from HarmBench.

We filtered the data with a functional category of standard from all harmful outputs obtained from all attack methods they publicly tested against large language models, for reproducing Many-shot jailbreaking.

Reference:

Mazeika, M., Phan, L., Yin, X., Zou, A., Wang, Z., Mu, N., ... & Hendrycks, D. (2024). Harmbench: A standardized evaluation framework for automated red… See the full description on the dataset page: https://huggingface.co/datasets/coderchen01/HarmfulGeneration-HarmBench.

Tags

task_categories:text-generationtask_categories:question-answeringlanguage:enlicense:mitsize_categories:1K<n<10Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsarxiv:2402.04249region:usharmful-dataLLMLLM-SafetyHarmBench

README current version from Hugging Face


license: mit
dataset_info:
features:

  • name: behavior
    dtype: string
  • name: test_case
    dtype: string
  • name: answer
    dtype: string
  • name: behavior_id
    dtype: string
  • name: functional_category
    dtype: string
  • name: semantic_category
    dtype: string
    splits:
  • name: test
    num_bytes: 23942571
    num_examples: 9605
    download_size: 8889803
    dataset_size: 23942571
    configs:
  • config_name: default
    data_files:
    • split: test
      path: data/test-*
      task_categories:
  • text-generation
  • question-answering
    language:
  • en
    tags:
  • harmful-data
  • LLM
  • LLM-Safety
  • HarmBench
    pretty_name: HarmGenData@HarmBench
    size_categories:
  • 1K<n<10K

Harmful generations of large language models filtered from HarmBench

All the data here comes from HarmBench.
We filtered the data with a functional category of standard from all harmful outputs obtained from all attack methods they publicly tested against large language models, for reproducing Many-shot jailbreaking.

Reference:

  • Mazeika, M., Phan, L., Yin, X., Zou, A., Wang, Z., Mu, N., ... & Hendrycks, D. (2024). Harmbench: A standardized evaluation framework for automated red teaming and robust refusal. arXiv preprint arXiv:2402.04249.
  • Anil, C., Durmus, E., Rimsky, N., Sharma, M., Benton, J., Kundu, S., ... & Duvenaud, D. (2024, April). Many-shot jailbreaking. In The Thirty-eighth Annual Conference on Neural Information Processing Systems.

README history 3 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-11-20Update README.md1f992831.5 KB
    Loading...
  2. 2024-11-20Upload datasetb0fd9ca525 B
    Loading...
  3. 2024-11-20initial commitf623f1d24 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. 2024-11-21[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · evaluate

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