Datasets:
|
Download README.md from spitis/CriteriaBank: direct link, hf CLI and curl.
- Browser
- Download file 5.95 kB
-
https://huggingface.co/datasets/spitis/CriteriaBank/resolve/main/README.md
- Command line
-
hf download hf://datasets/spitis/CriteriaBank/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/datasets/spitis/CriteriaBank/resolve/main/README.md
5.95 kB
| license: cc-by-4.0 | |
| language: | |
| - en | |
| pretty_name: CriteriaBank | |
| extra_gated_prompt: >- | |
| CriteriaBank contains harmful-by-design content: Stream D and the | |
| WildJailbreak-derived rows include requests for, and descriptions of, | |
| violence, self-harm, abuse, crime and hateful content, and the WildChat rows | |
| are real user logs that can contain offensive text. By requesting access you | |
| confirm that you will use the dataset only for research and safety purposes, | |
| and that you will also follow the terms of each source dataset it draws on | |
| (WildChat-1M, WildJailbreak, LMSYS-Chat-1M), including the access agreements | |
| you need to accept to rehydrate the keyed rows. | |
| extra_gated_fields: | |
| I agree to use this dataset only for research and safety purposes: checkbox | |
| I agree to follow the terms of each source dataset (WildChat-1M, WildJailbreak, LMSYS-Chat-1M): checkbox | |
| size_categories: | |
| - 100K<n<1M | |
| task_categories: | |
| - text-classification | |
| tags: | |
| - verification | |
| - llm-as-a-judge | |
| - guardrails | |
| - rubrics | |
| - agent-governance | |
| - synthetic | |
| configs: | |
| - config_name: stream_b | |
| data_files: data/stream_b.parquet | |
| default: true | |
| - config_name: stream_a | |
| data_files: data/stream_a.parquet | |
| - config_name: stream_c | |
| data_files: data/stream_c.parquet | |
| - config_name: stream_d | |
| data_files: data/stream_d.parquet | |
| - config_name: stream_b_keyed | |
| data_files: data/stream_b_keyed.parquet | |
| - config_name: stream_c_plus_keyed | |
| data_files: data/stream_c_plus_keyed.parquet | |
| # CriteriaBank | |
| CriteriaBank is the VFM pretraining corpus from *Runtime Verification of Multiple Natural Language Criteria for Agent Governance* (NeurIPS 2026): **393,531 rows** and **321,419 distinct criteria**. Each row pairs a context and target with a yes/no criterion and a label: **YES** (satisfied), **NO** (not satisfied), or **N/A** (inapplicable or insufficient evidence). | |
| The release provides **316,974 rows with text** and **76,439 keyed rows**. Another **118 rows** are withheld because their criteria repeat LMSYS conversation text or contain a card-like number. | |
| **Access and loading** | |
| Accept the Hugging Face gate for research and safety use and compliance with source terms. The data includes harmful synthetic content and real user conversations with potentially offensive text. | |
| ```bash | |
| pip install datasets huggingface_hub pyarrow | |
| hf auth login | |
| ``` | |
| ```python | |
| from datasets import load_dataset | |
| rows = load_dataset("spitis/CriteriaBank", "stream_b", split="train", token=True) | |
| print(rows[0]["criterion"], rows[0]["label"]) | |
| ``` | |
| All configs expose a `train` split. Choose a config explicitly: | |
| | Config | Contents | | |
| |---|---| | |
| | `stream_a` | Synthetic broad criterion coverage | | |
| | `stream_b` (default) | WildChat conversations with text | | |
| | `stream_c` | Synthetic scenarios filling coverage gaps | | |
| | `stream_d` | Synthetic safety scenarios | | |
| | `stream_b_keyed` | WildJailbreak and WildChat rows requiring reconstruction | | |
| | `stream_c_plus_keyed` | Long LMSYS-Chat-1M conversations requiring reconstruction | | |
| **Fields and labels** | |
| - Core fields: `id`, `stream`, `source_dataset`, `criterion`, `label`. | |
| - Text configs add `context` (messages) and `target`. Decode non-null `content_structured`, `target_structured`, and message `tool_calls` as JSON. The [VFM exporter](https://github.com/spitis/vfm/blob/main/scripts/prepare/prepare_criteriabank.py) handles these structures. | |
| - Keyed configs replace text with `context_target_sha256` and source keys: `wildchat_conversation_hash`, `wildchat_turn_index`, `context_format`; `wildjailbreak_row`; or `lmsys_conversation_id`, `lmsys_turn_idx`. | |
| - Annotation metadata: `generator_label`, `judges`, `label_decision`, `concept_id`, `concept_type`, `training_utility`, `obviousness`, and `redactions`. | |
| Training uses `label`, not `generator_label`. Qwen3.6-27B and Gemma-4-26B-A4B-it judge each row; DeepSeek-V4 resolves disagreements by majority vote, with its verdict deciding three-way ties. These are model-generated labels and can be wrong. | |
| **Keyed rows** | |
| LMSYS terms prohibit redistribution; WildJailbreak requires its own access agreement. WildChat rows with detected personal-data patterns are also keyed. Accept the upstream agreements, then download and rebuild locally: | |
| ```bash | |
| hf download spitis/CriteriaBank rehydrate.py data/stream_b_keyed.parquet data/stream_c_plus_keyed.parquet \ | |
| --repo-type dataset --local-dir criteriabank | |
| python criteriabank/rehydrate.py \ | |
| --keyed criteriabank/data/stream_b_keyed.parquet criteriabank/data/stream_c_plus_keyed.parquet \ | |
| --output criteriabank/rehydrated.parquet | |
| ``` | |
| `rehydrate.py` uses pinned source revisions and retains only rows whose reconstructed text matches its hash. Rebuilt text remains subject to source terms; do not redistribute LMSYS conversations. | |
| **License and source terms** | |
| Our annotations and synthetic conversations are [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Source terms also apply: | |
| - [WildChat-1M](https://huggingface.co/datasets/allenai/WildChat-1M): ODC-BY 1.0; attribute WildChat (Zhao et al., 2024). | |
| - [WildJailbreak](https://huggingface.co/datasets/allenai/wildjailbreak): ODC-BY 1.0 plus the AI2 Responsible Use Guidelines. | |
| - [LMSYS-Chat-1M](https://huggingface.co/datasets/lmsys/lmsys-chat-1m#lmsys-chat-1m-dataset-license-agreement): its Dataset License Agreement, including model-specific terms and no redistribution. | |
| - Streams A and D criteria and Stream C seeds include GPT-5.1 output. [OpenAI's terms](https://openai.com/policies/services-agreement/) restrict using output to develop competing models, subject to specified exceptions. | |
| **Citation** | |
| ```bibtex | |
| @inproceedings{pitis2026vfm, | |
| title = {Runtime Verification of Multiple Natural Language Criteria for Agent Governance}, | |
| author = {Pitis, Silviu and Alamdari, Parand A. and Tang, Jessica and Klassen, Toryn Q. and McIlraith, Sheila A.}, | |
| booktitle = {Advances in Neural Information Processing Systems}, | |
| year = {2026} | |
| } | |
| ``` | |