abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.

allenai/wildguardmix

published by @allenai

Safety benchmarks, over-refusal tests, and guard-model data.Safety tests and tests for refusing harmless requests.

task_categories:text-classificationlanguage:enlicense:odc-bysize_categories:10K<n<100Kformat:parquetmodality:tabularmodality:textlibrary:datasets +14 more
Lifetime downloads
159.8K
Last 30 days
16.5K
Likes
137
Size
56.0 MB

Description

Dataset Card for WildGuardMix

Disclaimer:

The data includes examples that might be disturbing, harmful or upsetting. It includes a range of harmful topics such as discriminatory language and discussions

about abuse, violence, self-harm, sexual content, misinformation among other high-risk categories. The main goal of this data is for advancing research in building safe LLMs.

It is recommended not to train a LLM exclusively on the harmful examples.… See the full description on the dataset page: https://huggingface.co/datasets/allenai/wildguardmix.

Structure 2 configs · from the README front matter2 subsets, from the author's description

wildguardtrain
Data files
train train/wildguard_train.parquet
wildguardtest
Data files
test test/wildguard_test.parquet

Used by uncensored 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.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

Used in recipes 1 of 17 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.Recipes from our survey of practitioners that use this dataset. Each one links to the full recipe: settings, tools, the expected result and what can go wrong.

MetadataDetails

License
odc-by
Language
en
Created on HFCreated
2024-06-15 · 2 years ago
Size category
10K<n<100K
ModalitiesData types
tabulartext
Formats
parquet
LibrariesTools
datasetspandasmlcroissantpolars
ArXivPaper

Related datasets same stage · Evaluatesame step · Testing

Read further

Total size
56.0 MB
Files
4
Formats
parquet
Head
d29c47f
Last updated on HFLast updated
2024-06-29

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("allenai/wildguardmix")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="allenai/wildguardmix", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/allenai/wildguardmix

Files by folder from our last crawlfrom our last check

top level 2 files 8.5 KB
.gitattributes 2.3 KB file download
README.md 6.2 KB md download
test/ 1 file 2.3 MB
wildguard_test.parquet 2.3 MB parquet download
train/ 1 file 53.7 MB
wildguard_train.parquet 53.7 MB parquet download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

Dataset Card for WildGuardMix

Disclaimer:

The data includes examples that might be disturbing, harmful or upsetting. It includes a range of harmful topics such as discriminatory language and discussions
about abuse, violence, self-harm, sexual content, misinformation among other high-risk categories. The main goal of this data is for advancing research in building safe LLMs.
It is recommended not to train a LLM exclusively on the harmful examples.

image/png

Dataset Summary

WildGuardMix consists of two splits, WildGuardTrain and WildGuardTest. Here's the breakdown of WildGuardMix:

WildGuardTrain used to train WildGuard:

  • Data Size: corresponds of 86,759 examples, of which 48,783 are prompt-only and 37,976 contain a prompt and response.
  • Data types: synthetic data (87%), in-the-wild user-LLLM interactions (11%), and existing annotator-written data (2%).
  • Prompts types: vanilla and adversarial that cover both harmful and benign scenarios.
  • Response generations: for the synthetic adversarial and vanilla prompts, we generate matched refusal and compliance responses using a suite of LLMs.
  • Labels: for prompt harmfulness, response harmfulness, and response refusal are obtained via GPT-4.
  • Data audit:
    • Filtering: to filter responses created through open LMs by assigning labels for each of our three target tasks using GPT-4 and recategorizing items that fail to match intended labels.
    • Human annotation: audit the quality of GPT-4 labels by sampling 500 items and collecting human annotations. 92%, 82%, and 95% agreement of items for prompt harm, response harm, and refusal labels, respectively.

WildGuardTest used to evaluate safety classifiers.

  • Data size: contains 1,725 items for prompt harm, response harm, and response refusal classification tasks. 55% are vanilla prompts and 45% are adversarial.
  • Similar to WildGuardTrain, the data consists of vanilla and adversarial synthetic data and in-the-wild user-LLLM interactions covering both benign and harmful scenarios.
  • Labels:
    • collect annotations from three independent annotators for each prompt-response pair on prompt harmfulness, response refusal, and response harmfulness.
  • Labels quality:
    • Fleiss Kappa scores are 0.55, 0.72, and 0.50 for the three tasks, indicating moderate to substantial agreement.
    • Run a prompted GPT-4 classifier on the dataset and manually inspect items on which the output mismatches the chosen annotator label, to further audit the ground-truth labels.

Please check the paper for further details on data construction: WildGuard: Open One-stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMs.

Usage

from datasets import load_dataset

# Load the wildguardtrain dataset
dataset = load_dataset("allenai/wildguardmix", "wildguardtrain")

# Load the wildguardtest dataset
dataset = load_dataset("allenai/wildguardmix", "wildguardtest")

Dataset Details

The dataset contains the following columns:

  • prompt: str, indicates the user request.
  • adversarial: bool, indicates whether the prompt is adversarial or not.
  • response: str, or None for prompt-only items in WildGuardTrain.
  • prompt_harm_label: str ("harmful" or "unharmful"), or None for items lacking annotator agreement for prompt_harm_label. It is possible that other labels, such as response_harm_label, is not None but prompt_harm_label is None.
  • response_harm_label: str ("harmful" or "unharmful"), or None for prompt-only items in WildGuardTrain and items lacking annotator agreement for response_harm_label. It is possible that other labels, such as prompt_harm_label, is not None but response_harm_label is None.
  • response_refusal_label: str ("refusal" or "compliance"), or None for prompt-only items in WildGuardTrain and items lacking annotator agreement for response_refusal_label. It is possible that other labels, such as prompt_harm_label, is not None but response_refusal_label is None.
  • subcategory: str, indicates the fine-grained risk category of the prompt.

Additionally, we provide columns of prompt_harm_agreement, response_harm_agreement, and response_refusal_agreement for WildGuardTest which show whether each label is obtained with two-way or three-way inter-annotator agreement.

Citation

@misc{wildguard2024,
      title={WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMs}, 
      author={Seungju Han and Kavel Rao and Allyson Ettinger and Liwei Jiang and Bill Yuchen Lin and Nathan Lambert and Yejin Choi and Nouha Dziri},
      year={2024},
      eprint={2406.18495},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2406.18495}, 
}

README historyEdit history 8 revisions8 edits

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.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2024-06-29 Update README.md d29c47f 6 KB
    Loading...
  2. 2024-06-28 Update README.md 3968279 6 KB
    Loading...
  3. 2024-06-27 Update README.md 2e74b9a 5.6 KB
    Loading...
  4. 2024-06-25 Update README.md 4c57846 5.6 KB
    Loading...
  5. 2024-06-25 Update README.md 0dad92f 5.6 KB
    Loading...
  6. 2024-06-21 Update README.md 780b7c9 5.6 KB
    Loading...
  7. 2024-06-21 Update README.md e2bebf7 5.6 KB
    Loading...
  8. 2024-06-21 Super-squash branch 'main' using huggingface_hub ea7fa76 4.8 KB
    Loading...

Community discussions 2 threads · 2 open · 2 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, licence clarifications. Click any thread to expand and read the full conversation inline. Newest first.Conversations people started on Hugging Face: bug reports, questions about using the data, suggested changes to the author's description, questions about the licence. Open a thread to read it here. Newest first.

  1. 2026-04-08 Inquiry regarding commercial use of wildguardmix (ODC-By license vs. download a… open 1 💬 #2
    Loading...
  2. 2025-11-22 Empty rows open 1 💬 #1
    Loading...
Download from Hugging Face

allenai/wildguardmix

Catalog is the map. Apps are the tools.

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

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration