misc 0 0 0

Raymond102103028/PATCH

published by @Raymond102103028

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
214
Last 30 days
58
Likes
-
Size
158.6 MB
Created on HF
2026-06-11
Age
4 months ago

Description

PATCH: Prompt Assortment for Traditional Chinese Hazards

The first large-scale adversarial safety dataset for Traditional Chinese (TC), designed to train and evaluate content safety classifiers for lightweight LLMs.

For full documentation, see our GitHub repository.

Dataset Overview

593,020 safe prompts localized to Traditional Chinese

231,924 unsafe prompts across 13 MLCommons hazard categories

PATCH-GPT: Direct harmful prompts

PATCH-RT: Evasive prompts… See the full description on the dataset page: https://huggingface.co/datasets/Raymond102103028/PATCH.

Tags

task_categories:text-classificationlanguage:zhlicense:mitsize_categories:100K<n<1Mformat:csvmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissantarxiv:2404.12241region:ussafetyadversarialtraditional-chinesecontent-moderationllm-safety

README current version from Hugging Face


license: mit
language:

  • zh
    task_categories:
  • text-classification
    tags:
  • safety
  • adversarial
  • traditional-chinese
  • content-moderation
  • llm-safety
    pretty_name: PATCH (Prompt Assortment for Traditional Chinese Hazards)
    size_categories:
  • 100K<n<1M

configs:

  • config_name: safe
    data_files:

    • split: train
      path: safe/PATCH_safe_train.csv
    • split: validation
      path: safe/PATCH_safe_val.csv
    • split: test
      path: safe/PATCH_safe_test.csv
  • config_name: unsafe_gpt
    data_files:

    • split: train
      path: unsafe_gpt/PATCH_unsafe_gpt_train.csv
    • split: validation
      path: unsafe_gpt/PATCH_unsafe_gpt_val.csv
    • split: test
      path: unsafe_gpt/PATCH_unsafe_gpt_test.csv
  • config_name: unsafe_rt
    data_files:

    • split: train
      path: unsafe_rt/PATCH_unsafe_rt_train.csv
    • split: validation
      path: unsafe_rt/PATCH_unsafe_rt_val.csv
    • split: test
      path: unsafe_rt/PATCH_unsafe_rt_test.csv

PATCH: Prompt Assortment for Traditional Chinese Hazards

The first large-scale adversarial safety dataset for Traditional Chinese (TC), designed to train and evaluate content safety classifiers for lightweight LLMs.

For full documentation, see our GitHub repository.

Dataset Overview

  • 593,020 safe prompts localized to Traditional Chinese
  • 231,924 unsafe prompts across 13 MLCommons hazard categories
    • PATCH-GPT: Direct harmful prompts
    • PATCH-RT: Evasive prompts exploiting TC-specific cultural/linguistic patterns
  • PATCH-H: Gold-standard human-annotated benchmark (390 prompts, Fleiss' κ = 0.84) — held out from training

Dataset Structure

├── safe/           # PATCH_safe_{train,val,test}.csv
├── unsafe_gpt/     # PATCH_unsafe_gpt_{train,val,test}.csv
└── unsafe_rt/      # PATCH_unsafe_rt_{train,val,test}.csv

All files follow a 70:10:20 train/validation/test split.

Dataset Configurations

The dataset contains three configurations:

  • safe: Safe Traditional Chinese prompts.
  • unsafe_gpt: Direct harmful prompts across MLCommons hazard categories.
  • unsafe_rt: Evasive harmful prompts exploiting Traditional Chinese cultural and linguistic patterns.

Usage

from datasets import load_dataset

safe = load_dataset(
    "Raymond102103028/PATCH",
    "safe"
)

unsafe_gpt = load_dataset(
    "Raymond102103028/PATCH",
    "unsafe_gpt"
)

unsafe_rt = load_dataset(
    "Raymond102103028/PATCH",
    "unsafe_rt"
)

Each configuration contains train, validation, and test splits.

License

MIT License — for research use only.

README history 5 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-09-06Upload README.mda561b8e2.7 KB
    Loading...
  2. 2026-09-06Delete README.md6bb32f10 B
    Loading...
  3. 2026-06-11Update README.md74e19e41.5 KB
    Loading...
  4. 2026-06-11Upload PATCH dataset7a813ce21 B
    Loading...
  5. 2026-06-11initial commit69dad9521 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-09-07[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · misc

Read further

Metadata

License
mit

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