misc 0 0 0

ruishen123/OpenGuardrailsMixZh_97k

published by @ruishen123

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
175
Last 30 days
21
Likes
-
Size
242.2 MB
Created on HF
2026-01-14
Age
9 months ago

Description

OpenGuardrailsMixZh 97k

Repository: openguardrails/OpenGuardrailsMixZh_97k

License: Apache 2.0

Paper: OpenGuardrails: An Open-Source Context-Aware AI Guardrails Platform

Code: openguardrails/openguardrails

📘 Dataset Summary

OpenGuardrailsMixZh 97k is a large-scale Chinese safety dataset collection introduced in the OpenGuardrails paper.

It consists of 97,000 Chinese samples curated, translated, and aligned from several well-known English safety datasets… See the full description on the dataset page: https://huggingface.co/datasets/ruishen123/OpenGuardrailsMixZh_97k.

Tags

language:zhsize_categories:10K<n<100Kformat:jsonmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissantarxiv:2510.19169region:us

README current version from Hugging Face


language:

  • zh
    pretty_name: OpenGuardrailsMixZh_97k

OpenGuardrailsMixZh 97k

📘 Dataset Summary

OpenGuardrailsMixZh 97k is a large-scale Chinese safety dataset collection introduced in the OpenGuardrails paper.
It consists of 97,000 Chinese samples curated, translated, and aligned from several well-known English safety datasets, designed for multilingual safety evaluation and guardrail model training.

This dataset provides a diverse coverage of safety-related scenarios such as:

  • Toxic and unsafe language
  • Jailbreak and prompt-injection attempts
  • Ethical and legal compliance
  • Sensitive topics and harmful instructions

📚 Source Composition

OpenGuardrailsMixZh combines translated and aligned subsets from the following datasets:

Source Dataset Description License
ToxicChat Multi-turn dialogues containing toxicity and moderation-relevant language CC BY 4.0
WildGuardMix Diverse unsafe prompts for red-teaming and alignment Apache 2.0
PolyGuard Multi-lingual safety dataset for LLM guardrails Apache 2.0
XSTest Cross-lingual safety test dataset Apache 2.0
BeaverTails Large-scale red teaming dataset for safety and refusal behavior Apache 2.0

All datasets were machine-translated to ensure high-quality Chinese representations.

📊 Dataset Statistics

Attribute Value
Total Samples 97,000
Languages Chinese (Simplified)
Tasks Safety classification, refusal prediction, toxicity detection
Avg. Tokens per sample ~180
Data Type Instruction–Response pairs with safety annotations

🧠 Intended Uses

  • Fine-tuning and evaluating Chinese guardrail models
  • Benchmarking multilingual LLM safety performance
  • Research on cross-lingual safety transfer and alignment robustness

Limitations

  • Some translations may lose subtle cultural or contextual nuances.
  • Safety labels were aligned from English datasets and may not fully capture Chinese socio-cultural sensitivities.
  • The dataset is intended for research purposes only, not for deployment in production without additional validation.

Citation

If you use this dataset, please cite the following paper:

@misc{openguardrails,
      title={OpenGuardrails: An Open-Source Context-Aware AI Guardrails Platform}, 
      author={Thomas Wang and Haowen Li},
      year={2025},
      url={https://arxiv.org/abs/2510.19169}, 
}

License

This dataset is released under the Apache 2.0 License.
Please refer to the original source datasets for their respective licenses when using subsets.

Acknowledgements

We thank the creators of ToxicChat, WildGuardMix, PolyGuard, XSTest, and BeaverTails for making their datasets publicly available, enabling cross-lingual safety research.

README history 1 revision

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-01-14Duplicate from openguardrails/OpenGuardrailsMixZh_97ke030a6c3.8 KB
    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-01-15[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · misc

Read further

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