Skip to content

Dataset · walledai

XSTest Benchmark for LLM Over-Refusal Detection

walledai/XSTest

A small English benchmark of prompts to identify excessive censorship and exaggerated model safety.

What's inside

The dataset contains fewer than 1,000 text examples (the xstest_prompts_v2 set) in English. It is created specifically to check whether language models refuse to answer safe queries due to overly strict safety settings and red-teaming.

What you can do with it

  • Testing LLMs for false positives in safety filters (over-refusal)
  • Balancing helpfulness and safety of models after RLHF or safety tuning
Languages
English
Size
up to 1K rows
Downloads this month
11.2K
Likes
40
Access
on request on Hugging Face

How to load it

from datasets import load_dataset

ds = load_dataset("walledai/XSTest")