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/xstest-response

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:n<1Kformat:parquetmodality:textlibrary:datasetslibrary:pandas +14 more
Lifetime downloads
16.6K
Last 30 days
845
Likes
11
Size
438.4 KB

Description

Dataset Card for XSTest-Response

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/xstest-response.

Structure 1 config · from the README front matter1 subset, from the author's description

default default 895 rows
SplitPartRowsSize
response_harmfulness 446 427.3 KB
response_refusal 449 430.8 KB
FeaturesFields
promptstring responsestring labelstring prompt_typestring prompt_harm_categorystring
Data files
response_harmfulness data/response_harmfulness-*
response_refusal data/response_refusal-*

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.

MetadataDetails

License
odc-by
Language
en
Created on HFCreated
2024-06-26 · 2 years ago
Size category
n<1K
ModalitiesData types
text
Formats
parquet
LibrariesTools
datasetspandasmlcroissantpolars

Related datasets same stage · Evaluatesame step · Testing

Read further

Total size
438.4 KB
Files
4
Formats
parquet
Head
4cd0369
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/xstest-response")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="allenai/xstest-response", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/allenai/xstest-response

Files by folder from our last crawlfrom our last check

top level 2 files 6.6 KB
.gitattributes 2.3 KB file download
README.md 4.3 KB md download
data/ 2 files 431.8 KB
response_harmfulness-00000-of-00001.parquet 214.7 KB parquet download
response_refusal-00000-of-00001.parquet 217.1 KB parquet download

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

Dataset Card for XSTest-Response

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.

Dataset Summary

XSTest-Response is an artifact of WildGuard project, and the purpose of this dataset is to extend XSTest with model responses to directly evaluate moderator accuracy for scoring models on a real safety benchmark.

response_refusal split contains 449 prompts for refusal detection (178 refusals, 271 compliances).

response_harmfulness split contains 446 prompts for response harmfulness (368 harmful responses, 78 benign responses).

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 response_refusal split
dataset = load_dataset("allenai/xstest-response", split="response_refusal")

# Load the response_harmfulness split
dataset = load_dataset("allenai/xstest-response", split="response_harmfulness")

Dataset Details

The dataset contains the following columns:

  • prompt: str, indicates the user request.
  • response: str, or None for prompt-only items in WildGuardTrain.
  • label: str, indicates the label of the prompt. It can be "refusal" or "compliance" for response_refusal split, and "harmful" or "unharmful" for response_harmfulness split.
  • prompt_type: str ("prompt_harmful" or "prompt_safe"), indicates whether the prompt is harmful or safe.
  • prompt_harm_category: str, indicates the XSTest category of the prompt. If contrast is included in the category, it means the prompt is generated to contrast with prompts in the same category, for example, figurative_language <-> contrast_figurative_language.

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 10 revisions10 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 4cd0369 4.2 KB
    Loading...
  2. 2024-06-28 Update README.md 065016d 4.2 KB
    Loading...
  3. 2024-06-27 Update README.md 7717939 3.7 KB
    Loading...
  4. 2024-06-26 Update README.md 683d1b9 3.5 KB
    Loading...
  5. 2024-06-26 Upload dataset 266f7a8 6 KB
    Loading...
  6. 2024-06-26 Upload dataset bce2fe6 5.8 KB
    Loading...
  7. 2024-06-26 Update README.md 0914a96 5.4 KB
    Loading...
  8. 2024-06-26 Upload dataset d7c1d5f 6.8 KB
    Loading...
  9. 2024-06-26 Update README.md a79b420 5.4 KB
    Loading...
  10. 2024-06-26 initial commit 1a94ce9 31 B
    Loading...
Download from Hugging Face

allenai/xstest-response

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