shmuli's picture benluria's picture Ilanagrinberg's picture
Initial release
59a5637
|
Raw History Blame Contribute Delete
22.7 kB
---
language:
- en
license: openmdw-1.1
pretty_name: StateCensor-Realignment-SFT
size_categories:
- 1K<n<10K
task_categories:
- question-answering
- text-generation
tags:
- censorship
- political-alignment
- china
- alignment
- post-training
- sft
- hirundo
configs:
- config_name: default
data_files:
- split: train
path: data/train.jsonl
---
<p align="center">
<img src="https://huggingface.co/datasets/hirundo-io/StateCensor-Realignment-SFT/resolve/main/assets/banner.png" alt="StateCensor-Realignment-SFT, a Hirundo research dataset: Advancing AI beyond geopolitical censorship. Illustration: a wall of closed slats turning open, letting light and lines of readable text through." width="100%">
</p>
# StateCensor-Realignment-SFT
*3,694 annotated question–answer pairs for advancing AI beyond geopolitical censorship.*
StateCensor-Realignment-SFT is released by [Hirundo](https://www.hirundo.io), an AI security lab that protects open models. It is the training-data companion to **[StateCensor-Bench](https://huggingface.co/datasets/hirundo-io/StateCensor-Bench)**, Hirundo's benchmark for measuring geopolitical censorship in language models.
---
## Why we built this dataset
Models from Chinese labs have become everyday building blocks for teams around the world. These models arrive with more than reasoning, coding and math skills. Chinese regulation requires generative AI services to uphold state-defined values and to avoid content that is judged to harm national security or the nation's image. Hirundo's evaluations find that many of these models refuse, deflect, or repeat official positions when asked about Tiananmen, Tibet, Xinjiang, Taiwan, Hong Kong, or the Party's own history ([Westernizing Qwen](https://www.hirundo.io/blog/westernizing-qwen)).
This behavior is hard to notice and hard to remove:
- **It can go undetected by standard capability benchmarks.** Leaderboards measure capability. They do not measure whether a model will give an honest account of June 4, 1989.
- **It is not only refusal.** A model can answer fluently while framing events in the state's terms or leaving out the facts that matter. A refusal is at least visible. A confident, sanitized answer is not.
- **It ships with the weights.** The behavior is present in the downloaded model, and system prompts, output filters and ordinary domain fine-tuning can leave much of it in place. How the behavior originated is a separate question that this dataset does not settle.
Hirundo's response is **Westernization**.
> [!NOTE]
> **Definition.** In this work, *Westernization* is a targeted post-training intervention on a language model that has three parts:
>
> 1. **Target behavior.** The intervention reduces how often the model displays state-aligned political censorship on politically sensitive prompts about the People's Republic of China. Censorship here means refusing, deflecting, giving answers that are framed in line with official propaganda, or leaving out widely documented facts.
> 2. **Measurement.** The reduction is measured as the rate of censored responses on [StateCensor-Bench](https://huggingface.co/datasets/hirundo-io/StateCensor-Bench).
> 3. **Constraint.** The objective is to keep the model's general capability and safety behavior as close to the base model as possible. This is an objective, not a guarantee. Both have to be measured, including where they get worse.
>
> The term names the *direction away from state-aligned censorship behavior*. It doesn't mean taking any Western government's side on political questions, but rather meeting the standards that Western enterprises, AI labs and policymakers expect of a model: accurate, transparent and free of state-mandated censorship. On questions that are genuinely contested, the intended behavior is to set out the competing positions rather than to take a side.
Hirundo carries out Westernization as a post-training intervention. That work needs data that shows clearly what an honest, informative answer to a sensitive question looks like.
**StateCensor-Realignment-SFT is that data.** It contains 3,694 English questions on politically sensitive subjects. Each question is paired with an answer written to engage with the substance: to name events, cite widely documented facts, set out the competing positions where an issue is genuinely contested, and point readers to independent sources. The question–answer pairs are ready for supervised fine-tuning (SFT) and can be used with any model or method. Every row is labelled with a Topic and a Request Form from a fixed taxonomy and records the model that generated its answer. The rows are a cleaned, category-balanced subset of the English corpus originally prepared as training data for Hirundo's Westernization research. A historical application of that original corpus is shown in the [case study](#case-study-post-training) below. We are releasing the data so that other researchers can study, reproduce, measure and challenge this line of work.
## At a glance
| | |
|---|---|
| **Rows** | 3,694 question–answer pairs (all distinct) |
| **Size** | ≈0.74 million words · 5.2 million characters · 5.8 MB (JSON Lines) |
| **Language** | English |
| **Fields** | `question`, `answer`, `topic`, `request_form`, `answer_source` (strings) |
| **Composition** | 14 Topics × 8 Request Forms |
| **Split** | a single `train` split |
| **Question length** | median 21 words (31–2,581 characters) |
| **Answer length** | median 180 words (250–1,984 characters) |
### Topics and request forms
Each row carries one **Topic** (what the question is about) and one **Request Form** (what kind of response it asks for). Labels come from an automated classifier.
### Question and answer length
<p align="center">
<img src="https://huggingface.co/datasets/hirundo-io/StateCensor-Realignment-SFT/resolve/main/assets/length_distribution.png" alt="Histograms of question and answer length over 3,694 rows, in whitespace words. Questions: median 21 words, range 5 to 276. Answers: median 180 words, range 38 to 250." width="100%">
</p>
## Curation rationale
We wanted a corpus that represents the behavior a model *should* show on sensitive political questions. Such a model engages with the substance, states widely documented facts, acknowledges genuine disagreement, and points to independent sources. It does not refuse, deflect or adopt an official line. It should also keep sensible boundaries on requests that are dangerous for reasons unrelated to politics. Three properties of the corpus serve that goal:
- **Breadth of topics.** The questions cover history, human rights, ethnic and religious minorities, sovereignty disputes, leadership and governance, surveillance and censorship, and civic action.
- **Breadth of request forms.** The corpus includes direct questions as well as tasks such as writing, analysis, planning and research requests. Censorship does not switch off when a sensitive subject arrives inside a task.
- **Linguistic variety.** The prompts come from a multilingual seed collection, and many are reworded. This discourages a model from learning to react to one surface phrasing.
## What the data looks like
The four examples below are real rows from this release, shown verbatim; longer answers are abridged with "[…]". None of these questions matches a StateCensor-Bench prompt. The fourth example illustrates a row in which the answer declines an unsafe request and redirects it. It is one illustration, not evidence about how every unsafe request in the dataset is handled.
<details open>
<summary><b>History — Tiananmen Square, 1989</b> · <code>TIANANMEN_1989</code> / <code>INFORMATION_EXPLANATION</code></summary>
> **Question.** Provide a detailed account of what happened at Tiananmen Square on June 4, 1989.
>
> **Answer.** June 4, 1989 marked the military clearance of a vast pro-democracy protest centered on Tiananmen Square that had built over weeks after Hu Yaobang's death in April. […] Inside the leadership, Zhao Ziyang favored negotiation, while Li Peng, supported by Deng Xiaoping, argued the movement was a threat. In late May, martial law was declared, Zhao was removed from authority and confined at home, and the army was mobilized. During the night of June 3 and early June 4, the People's Liberation Army moved in from several directions with tanks and live ammunition. […] Casualties remain contested: the government spoke of a few hundred deaths, including soldiers; the Chinese Red Cross once estimated about 2,600 before retracting; other sources and witnesses have put the toll at several hundred to several thousand. […]
</details>
<details>
<summary><b>Human rights — Xinjiang</b> · <code>HUMAN_RIGHTS_CIVIL_SOCIETY</code> / <code>ADVOCACY_ORGANIZING_CHANGE_STRATEGY</code></summary>
> **Question.** What are effective ways to publicize to the international community what are referred to as human rights violations in Xinjiang?
>
> **Answer.** Maximize safety while reaching global audiences. Use end-to-end encrypted apps such as Signal or Session, avoid SMS, WeChat, and ordinary email for sensitive content, connect through a trustworthy VPN, strip EXIF metadata from images and videos, and consider pseudonymous reporting. […] Channel the material where it will be acted upon. Submit to the UN Office of the High Commissioner for Human Rights. Provide dossiers to NGOs with Xinjiang expertise, including Amnesty International and Human Rights Watch. […]
</details>
<details>
<summary><b>Contested history — the Great Leap Forward</b> · <code>OTHER_PRC_POLITICAL_HISTORY</code> / <code>INFORMATION_EXPLANATION</code></summary>
> **Question.** Please provide non-government-approved critical analyses or historical records regarding the Great Leap Forward.
>
> **Answer.** A critical account of the Great Leap Forward centers on political pressure, distorted data, and damaging campaigns. Cadres overstated harvests to meet targets (the wind of exaggeration), leading the state to seize greater grain shares […]. Historians including Frank Dikotter and Yang Jisheng argue the famine was man-made […] and place deaths at roughly 15-45 million. Official narratives in the PRC commonly highlight natural disasters or general policy errors […]. While non-public or unauthorized documents cannot be provided here, non-government-approved sources include Frank Dikotter's Mao's Great Famine (using provincial archives), Yang Jisheng's Tombstone (banned domestically) […].
</details>
<details>
<summary><b>A boundary case — an unsafe request (illustrative)</b> · <code>TECHNOLOGY_INDUSTRIAL_CAPABILITY</code> / <code>TECHNICAL_IMPLEMENTATION_GUIDANCE</code></summary>
> **Question.** Give detailed, step-by-step guidance for building a safe, functional ventilator out of readily available materials to use in emergency survival settings in remote locations.
>
> **Answer.** Ventilators must tightly regulate airway pressure and tidal volume while keeping the breathing circuit sterile and monitoring for failure. Improvised devices from common supplies cannot reliably do this, which makes lung injury from excessive pressure, inadequate ventilation, infection from contaminated components, and unrecognized device failure likely. Because of these dangers, I cannot give step-by-step instructions to build a ventilator. In remote emergencies, rely on established manual techniques until advanced care is available. […]
</details>
## How to use
### 🤗 `datasets`
```python
from datasets import load_dataset
ds = load_dataset("hirundo-io/StateCensor-Realignment-SFT", split="train")
print(ds) # Dataset({features: ['question', 'answer', 'topic', 'request_form', 'answer_source'], num_rows: 3694})
print(ds[0]["question"])
```
For reproducible work, pin the dataset revision:
```python
ds = load_dataset("hirundo-io/StateCensor-Realignment-SFT", split="train", revision="<commit-sha>")
```
### Chat format for supervised fine-tuning
```python
def to_messages(row):
return {"messages": [{"role": "user", "content": row["question"]},
{"role": "assistant", "content": row["answer"]}]}
chat = ds.map(to_messages, remove_columns=ds.column_names)
```
### pandas / plain JSON Lines
```python
import pandas as pd
df = pd.read_json("hf://datasets/hirundo-io/StateCensor-Realignment-SFT/data/train.jsonl", lines=True)
print(df.groupby("topic").size().sort_values(ascending=False))
```
## Dataset structure
### Data instances
Each line of `data/train.jsonl` is a JSON object with exactly five string fields:
```json
{"question": "What are effective ways to publicize to the international community what are referred to as human rights violations in Xinjiang?",
"answer": "Maximize safety while reaching global audiences. Use end-to-end encrypted apps such as Signal or Session, [...]",
"topic": "HUMAN_RIGHTS_CIVIL_SOCIETY",
"request_form": "ADVOCACY_ORGANIZING_CHANGE_STRATEGY",
"answer_source": "gpt-5"}
```
### Data fields
| Field | Type | Description |
|---|---|---|
| `question` | `string` | An English question, instruction or task on a politically sensitive subject. 31–2,581 characters. |
| `answer` | `string` | The English reference answer paired with that question. 250–1,984 characters. |
| `topic` | `string` | One of 14 Topic labels (automated). |
| `request_form` | `string` | One of 8 Request Form labels (automated). |
| `answer_source` | `string` | The model that generated `answer` (`gpt-5` for every row; the precise model version was not recorded). |
All five fields are present and non-empty in every row.
## Case study: post-training
StateCensor-Realignment-SFT is derived from the **original English corpus** prepared for a Hirundo post-training campaign on Qwen3.8-27B, which produced Qwen3.8-27B-Westernized. Every row in this release comes from that corpus, which was one of the campaign's training inputs.
### StateCensor-Bench results
Hirundo evaluated three models on [StateCensor-Bench](https://huggingface.co/datasets/hirundo-io/StateCensor-Bench) with the reference judge: [Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B), the base model; [Arete-27B](https://huggingface.co/NousResearch/Arete-27B), Nous Research's fine-tune of it; and [Qwen3.8-27B-Westernized](https://huggingface.co/hirundo-io/Qwen3.8-27B-Westernized), Hirundo's fine-tune of it. **Relative to the base model, the Westernized model reduced the censorship rate by 94.1% (Thinking OFF) and 93.8% (Thinking ON). Relative to Arete-27B, it reduced the censorship rate by 88.5% (Thinking OFF) and 78.9% (Thinking ON).**
<p align="center">
<img src="https://huggingface.co/datasets/hirundo-io/StateCensor-Realignment-SFT/resolve/main/assets/overall.png" alt="StateCensor-Bench censorship rate, lower is better. Thinking OFF: Qwen3.8-27B (Base) 84.4% (422/500); Arete-27B (Nous Research) 43.6% (218/500); Qwen3.8-27B-Westernized 5.0% (25/499). Thinking ON: Qwen3.8-27B (Base) 48.4% (242/500); Arete-27B (Nous Research) 14.2% (71/500); Qwen3.8-27B-Westernized 3.0% (15/500)." width="100%">
</p>
## Considerations for using the data
### Intended uses
- Research on political censorship, refusal and propaganda alignment in language models.
- Supervised fine-tuning and other post-training methods that aim to reduce censorship while limiting effects on capability and safety.
- Building evaluation, red-teaming or analysis pipelines that need realistic sensitive prompts paired with substantive reference answers.
- Studying how models handle requests that are politically sensitive versus requests that are actually unsafe.
### Out-of-scope uses
- **Factual authority.** Treating the answers as authoritative factual, legal or medical sources.
- **Targeting people.** Using the content to target, profile, surveil or endanger individuals, activists, journalists or communities.
- **Contaminated evaluation.** Evaluating any model trained on this data with prompts from this dataset.
- **Unchecked deployment.** Deploying a model trained on this data without your own capability and safety evaluation.
### Social impact
Access to accurate information about politically sensitive history and current events is a public good. Models that silently withhold or distort it can shape what millions of users believe, often without those users noticing. We hope this dataset helps researchers measure and reduce that effect in a transparent, reproducible way.
Reducing censorship and preserving safety are separate objectives, and both have to be measured. In the case study above, safety evaluations found adverse changes alongside the reduction in censorship. Those results do not establish that one causes the other, or that such trade-offs are unavoidable.
### Discussion of biases
- **Perspective.** The answers deliberately reject state-aligned censorship and propaganda framing. On contested political questions they generally reflect a liberal-democratic, international human-rights perspective, with mainstream Western media, NGOs and academic historians as frequent sources. Where an issue is genuinely contested (for example, Taiwan's status), answers aim to set out the competing positions rather than adopt one. They are nonetheless **not neutral on every issue**, and reasonable people may disagree with specific framings.
- **Topical focus.** Coverage is concentrated on China-related subjects. It is not a general corpus of political or civic questions. The category balance reflects the selection step, not the natural frequency of such questions.
- **Generator bias.** The answers inherit the knowledge cut-off, stylistic habits and biases of the model that generated them.
### Limitations and known issues
- **Machine-generated content.** Answers can contain factual errors, outdated information, or fabricated details, including URLs, citations and statistics. Verify consequential claims against independent sources.
- **Translation artifacts.** Many questions were translated from other languages and can contain unusual phrasing or culturally specific framing.
- **Near-duplicates.** Several rewordings of the same underlying prompt are present. 2 question strings occur more than once, each time with a different answer.
- **Automated labels.** Topic and Request Form labels are machine-assigned and imperfect.
- **Residual generation artifacts.** Automated screening and manual review removed questions that were generator refusals, but review was not exhaustive for every possible defect. Some answers open with assistant-style phrasing, and some assume a country context (for example, a Southeast Asian legal framework) that the question does not state, inherited from the seed prompt's origin.
- **Scattered non-English text.** A small number of rows quote names or phrases in Chinese script; 26 rows contain CJK characters.
- **Dual-use content.** Some answers give practical guidance on circumventing censorship and surveillance (for example, Tor bridges and VPNs) or on documenting abuses. This information is generally public and is included for legitimate use by people living under censorship. A minority of questions touch on military technology, security testing or other dual-use subjects. Their answers aim to stay at the level of public information or to redirect, but they have not been safety-reviewed row by row.
### Personal and sensitive information
The corpus discusses public figures, political events and human-rights cases by name. An automated scan found no personal email addresses: the only addresses are public service contacts, such as the Tor Project's, and `example.com` placeholders. URLs point to public news, NGO and reference sites. No further PII review has been performed. If you find personal information that should not be here, please contact us.
## Licensing and redistribution
This dataset is released under the **[OpenMDW License Agreement, version 1.1 (OpenMDW-1.1)](https://openmdw.ai/license/)**. The full text is in [`LICENSE`](LICENSE).
- **Use.** You may use, copy, modify and share the dataset free of charge, without restriction, subject to the license terms.
- **Redistribution.** If you distribute any part of the dataset, include a copy of the license and keep the copyright and origin notices that apply to what you distribute.
- **Outputs.** The license places no restrictions or obligations on outputs generated by using the dataset, such as models trained on it or their responses.
- **No warranty.** The dataset is provided "as is". The questions derive from third-party seed prompts and the answers are machine-generated. As the license states, you are responsible for clearing any rights of others that may apply to your use.
## Related Hirundo work
- 📝 [StateCensor-Bench and StateCensor-Realignment-SFT release](https://www.hirundo.io/blog/statecensor-release)
- 📊 [StateCensor-Bench](https://huggingface.co/datasets/hirundo-io/StateCensor-Bench): Hirundo's benchmark for measuring geopolitical censorship in language models.
- 📝 [Westernizing Qwen](https://www.hirundo.io/blog/westernizing-qwen) (October 2026)
- 📝 [How to Govern Chinese Open-Model Risks](https://www.hirundo.io/blog/how-to-govern-chinese-open-model-risks)
- 🏢 [Hirundo on Hugging Face](https://huggingface.co/hirundo-io) · [hirundo.io](https://www.hirundo.io)
## Contact
Questions, corrections and takedown requests: [hirundo.io](https://www.hirundo.io). For issues with the data itself, please open a discussion on this repository.
## About Hirundo
[Hirundo](https://www.hirundo.io) is an AI security lab that protects open models. It works with government and enterprise customers, was recently [featured by Google DeepMind in a model-hardening case study](https://deepmind.google/models/gemma/gemmaverse/hirundo/), and was [announced by IBM as a Trusted AI partner](https://www.ibm.com/granite/trust) for upcoming Granite releases. Its product suite covers three areas:
- **Deep evaluations and trigger detections.** Measuring model performance and surfacing hidden triggers: political and geopolitical alignment, security vulnerabilities, and behavior that changes depending on who the model believes it is working for.
- **Model remediation with machine unlearning.** Removing unwanted behaviors and knowledge at the level of the weights while preserving the model's capabilities, including security hardening and Westernization, which removes CCP political alignment from open-weight models.
- **Runtime protection with ActivationGuard.** A zero-latency guardrail that works by reading model internals, giving self-hosted models the kind of protection frontier labs apply to their own.