Dataset · thu-coai
Language model safety evaluation benchmark
thu-coai/SafetyBench
A set of 11,435 multiple-choice questions in Chinese and English to test LLM safety.
What's inside
It contains 11,435 multiple-choice test questions covering 7 safety risk categories. The data is presented in Chinese and English and split into three test sets, including JSON format files (test_zh.json, test_en.json). The dataset size in the metadata is indicated in the range of 10,000 to 100,000 records.
What you can do with it
- Evaluating and comparing LLM safety in English and Chinese
- Testing models after SFT or RLHF for vulnerability to undesirable content
- Size
- 10K–100K rows
- Downloads this month
- 1.4K
- Likes
- 38
How to load it
from datasets import load_dataset
ds = load_dataset("thu-coai/SafetyBench")