extract 0 0 0

BAAI/CSEI-SafetyBench

published by @BAAI

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
453
Last 30 days
130
Likes
1
Size
313 KB
Created on HF
2026-06-22
Age
4 months ago

Description

Chinese Explicit and Implicit Safety Benchmark

Dataset Description

The Chinese Explicit and Implicit Safety Benchmark is a collection of 1,000

Chinese prompts designed to evaluate safety risks in large language models.

It covers both directly expressed harmful requests and subtler risks that

depend on context, tone, implication, satire, or exaggeration.

The benchmark is intended for model safety evaluation, red-teaming, and

research on safety alignment in… See the full description on the dataset page: https://huggingface.co/datasets/BAAI/CSEI-SafetyBench.

Tags

task_categories:text-generationlanguage:zhlicense:othersize_categories:1K<n<10Kformat:csvmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissantregion:ussafetybenchmarkchinese

README current version from Hugging Face


license: other
language:

  • zh
    pretty_name: Chinese Explicit and Implicit Safety Benchmark
    task_categories:
  • text-generation
    tags:
  • safety
  • benchmark
  • chinese
    configs:
  • config_name: explicit
    data_files:
    • split: train
      path: data/explicit.csv
  • config_name: implicit
    data_files:
    • split: train
      path: data/implicit.csv

Chinese Explicit and Implicit Safety Benchmark

Dataset Description

The Chinese Explicit and Implicit Safety Benchmark is a collection of 1,000
Chinese prompts designed to evaluate safety risks in large language models.
It covers both directly expressed harmful requests and subtler risks that
depend on context, tone, implication, satire, or exaggeration.

The benchmark is intended for model safety evaluation, red-teaming, and
research on safety alignment in Chinese-language settings.

Content warning: The dataset contains prompts involving harmful content,
discrimination, violence, political safety, and indirect or
context-dependent harmful expressions.

Dataset Structure

The dataset contains two configurations:

Configuration Samples Description
explicit 600 Prompts containing directly expressed harmful or unsafe requests
implicit 400 Prompts involving indirect, satirical, exaggerated, or context-dependent safety risks

Each configuration contains a single train split. The term train follows
the Hugging Face dataset convention and does not imply that the data must be
used for model training.

Data Fields

Both configurations contain one field:

Field Type Description
prompt string A Chinese prompt used to elicit and evaluate a model response

Dataset Configurations

Explicit

The explicit configuration focuses on safety risks that are directly stated
in the prompt. These may include requests that encourage or facilitate harmful,
illegal, violent, discriminatory, or otherwise unsafe behavior.

Implicit

The implicit configuration focuses on risks that cannot always be identified
through keywords alone.

Loading the Dataset

from datasets import load_dataset

explicit = load_dataset(
    "YongxinH/CSEI-SafetyBench",
    "explicit",
    split="train",
)

implicit = load_dataset(
    "YongxinH/CSEI-SafetyBench",
    "implicit",
    split="train",
)

Intended Uses

The dataset is intended for:

  • evaluating explicit and implicit safety behavior in large language models;
  • comparing model refusal and safe-response behavior;
  • red-teaming and safety-alignment research;
  • studying context-dependent safety evaluation;
  • supporting human analysis of model safety failures.

The dataset is not intended for developing systems that generate or facilitate
harmful content.

README history 7 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. 2026-06-18Update README.md676735b2.8 KB
    Loading...
  2. 2026-06-18Upload README.mddd60efc3 KB
    Loading...
  3. 2026-06-18Delete requirements.txt1ebfb000 B
    Loading...
  4. 2026-06-18Delete eval.py09721830 B
    Loading...
  5. 2026-06-18Delete README.mdd3983ab0 B
    Loading...
  6. 2026-06-18Upload 5 files2ffb1812.4 KB
    Loading...
  7. 2026-06-18initial commit9ee0bdf65 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. 2026-06-23[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · extract

Read further

Metadata

License
other

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