devops-thiago commited on
Commit
a0964ff
·
verified ·
1 Parent(s): c15832c

Publish ClassOne System 1 Decision Curriculum (23.5k examples) with complete upstream attributions

Browse files
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ data/train.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ tags:
6
+ - decision-models
7
+ - system-1
8
+ - rlcd
9
+ - classification
10
+ - natural-language-inference
11
+ - intent-detection
12
+ - ai-safety
13
+ - alignment
14
+ - legal-nlp
15
+ task_categories:
16
+ - text-classification
17
+ - zero-shot-classification
18
+ task_ids:
19
+ - natural-language-inference
20
+ - multi-class-classification
21
+ - intent-classification
22
+ pretty_name: ClassOne System 1 Decision Curriculum (23.5k)
23
+ size_categories:
24
+ - 10K<n<100K
25
+ configs:
26
+ - config_name: default
27
+ data_files:
28
+ - split: train
29
+ path: data/train-*
30
+ ---
31
+
32
+ # ClassOne System 1 Decision Curriculum (23,503 Examples)
33
+
34
+ The **ClassOne System 1 Decision Curriculum** is a multi-domain, structured decision corpus designed to train and benchmark zero-generation **System 1 decision models**. Instead of generating free-form conversational text, models trained on this curriculum evaluate complex contexts (`state`) against typed questions (`noul`, `choice`, `score`) in a single forward pass, returning calibrated probabilities, categorical selections, and continuous rubric ratings.
35
+
36
+ This curriculum powered the state-of-the-art results for the ClassOne family on [JevBench](https://github.com/fstandhartinger/jevbench) (reaching **80.1%** on Qwen 3.5 9B and **70.1%** on Gemma 4 E4B) and [RLCDAlignBench](https://github.com/sumleo/RLCDAlignBench) (reaching **63.3% Balanced Accuracy**).
37
+
38
+ ---
39
+
40
+ ## Dataset Summary
41
+
42
+ - **Total Samples:** 23,503 fully structured decision items.
43
+ - **Decision Primitives Covered:**
44
+ - **`Noul` (22,178 instances):** Binary policy compliance, factual verification, and security safety checks returning $P(\text{true}) \in [0, 1]$.
45
+ - **`Choice` (19,030 instances):** Fine-grained categorical classification over 2–255 dynamic natural language criteria.
46
+ - **`Score` (4,639 instances):** Continuous ordinal rubric ratings across 2–5 rubric levels (e.g. SEV-1 to SEV-4, urgency, impact).
47
+ - **Format:** Available in columnar Apache Parquet (`train.parquet`) and line-delimited JSONL (`train.jsonl`).
48
+
49
+ ---
50
+
51
+ ## Dataset Structure
52
+
53
+ Each sample is formatted with the following schema:
54
+
55
+ ```json
56
+ {
57
+ "sample_id": "classone_curriculum_00001",
58
+ "state": "{\"reference_text\": \"The mRNA is divided into three-base segments called codons...\", \"question\": \"What is the total number of codons?\"}",
59
+ "questions": {
60
+ "choice_question": {
61
+ "type": "choice",
62
+ "instructions": "Select the correct factual answer:",
63
+ "criteria": {
64
+ "ans_64": "There are 64 codons in total",
65
+ "ans_20": "There are 20 codons in total",
66
+ "ans_3": "There are 3 codons in total"
67
+ }
68
+ },
69
+ "has_evidence": {
70
+ "type": "noul",
71
+ "instructions": "Is explicit evidence for the number of codons present in the reference text?"
72
+ }
73
+ },
74
+ "targets": {
75
+ "choice_question": "ans_64",
76
+ "has_evidence": 1
77
+ },
78
+ "num_questions": 2,
79
+ "question_types": ["choice", "noul"]
80
+ }
81
+ ```
82
+
83
+ ---
84
+
85
+ ## Upstream Dataset Credits & Academic Attribution
86
+
87
+ This curriculum synthesizes, refines, and builds upon several foundational datasets created by the AI research community. We gratefully acknowledge and credit the original researchers and organizations who collected and published these resources:
88
+
89
+ ### 1. Legal & Commercial Contracts
90
+ - **ContractNLI** — *Koreeda, Y., & Manning, C. D. (Stanford University, 2021)*
91
+ A dataset for document-level natural language inference on non-disclosure agreements.
92
+ [Paper](https://arxiv.org/abs/2110.05444) | [Hugging Face](https://huggingface.co/datasets/kiddothe2b/contract-nli) | License: CC BY 4.0.
93
+ - **CUAD (Contract Understanding Atticus Dataset)** — *Hendrycks, D. et al. (The Atticus Project & UC Berkeley, 2021)*
94
+ Expert-labeled dataset of 510 commercial legal contracts across 41 clause categories.
95
+ [Paper](https://arxiv.org/abs/2103.06268) | [Hugging Face](https://huggingface.co/datasets/theatticusproject/cuad-qa) | License: CC BY 4.0.
96
+ - **LexGLUE** — *Chalkidis, I. et al. (Coastal NLP & University of Copenhagen, 2022)*
97
+ Benchmark for legal language understanding across legal court decisions and legislation.
98
+ [Paper](https://arxiv.org/abs/2110.00976) | [Hugging Face](https://huggingface.co/datasets/coastalcph/lex_glue) | License: Apache 2.0.
99
+
100
+ ### 2. Natural Language Inference & Logic
101
+ - **MultiNLI (Multi-Genre Natural Language Inference)** — *Williams, A., Nangia, N., & Bowman, S. R. (New York University, 2018)*
102
+ Corpus of 433k sentence pairs across diverse genres for natural language inference.
103
+ [Paper](https://arxiv.org/abs/1704.05426) | [Hugging Face](https://huggingface.co/datasets/nyu-mll/multi_nli) | License: CC BY-SA 4.0.
104
+ - **SNLI (Stanford Natural Language Inference)** — *Bowman, S. R. et al. (Stanford University, 2015)*
105
+ Collection of 570k human-written sentence pairs labeled for entailment, contradiction, and neutral.
106
+ [Paper](https://arxiv.org/abs/1508.05326) | [Hugging Face](https://huggingface.co/datasets/stanfordnlp/snli) | License: CC BY-SA 4.0.
107
+
108
+ ### 3. Customer Intent & Banking Queries
109
+ - **Banking77** — *Casanueva, I. et al. (PolyAI, 2020)*
110
+ Fine-grained intent detection dataset with 13,082 queries over 77 intents in the banking domain.
111
+ [Paper](https://arxiv.org/abs/2003.04807) | [Hugging Face](https://huggingface.co/datasets/PolyAI/banking77) | License: CC BY 4.0.
112
+
113
+ ### 4. Discrete Reasoning & Science QA
114
+ - **DROP (Discrete Reasoning Over Paragraphs)** — *Dua, D. et al. (Allen Institute for AI, 2019)*
115
+ Reading comprehension benchmark requiring discrete mathematical operations over text.
116
+ [Paper](https://arxiv.org/abs/1903.00161) | [Hugging Face](https://huggingface.co/datasets/ucinlp/drop) | License: CC BY 4.0.
117
+ - **SciQ** — *Welbl, J., Liu, N. F., & Gardner, M. (Allen Institute for AI, 2017)*
118
+ Crowdsourced science questions spanning physics, chemistry, and biology with multiple choices.
119
+ [Paper](https://arxiv.org/abs/1707.06209) | [Hugging Face](https://huggingface.co/datasets/allenai/sciq) | License: CC BY-NC 3.0.
120
+
121
+ ### 5. AI Safety, Alignment & Security Red-Teaming
122
+ - **BeaverTails** — *Ji, J. et al. (PKU-Alignment, Peking University, 2023)*
123
+ Safety-aligned dataset evaluating helpfulness and harmlessness across 14 harm categories.
124
+ [Paper](https://arxiv.org/abs/2307.04657) | [Hugging Face](https://huggingface.co/datasets/PKU-Alignment/BeaverTails) | License: CC BY-NC 4.0.
125
+ - **Do-Not-Answer** — *Wang, Y. et al. (LibrAI & Fudan University, 2023)*
126
+ Open-source safety evaluation dataset of risk prompts that responsible models should refuse.
127
+ [Paper](https://arxiv.org/abs/2308.13387) | [Hugging Face](https://huggingface.co/datasets/LibrAI/do-not-answer) | License: CC BY-NC 4.0.
128
+ - **XSTest** — *Röttger, P. et al. (University of Oxford, 2023)*
129
+ Test suite measuring exaggerated safety and over-refusal on safe prompts with sensitive keywords.
130
+ [Paper](https://arxiv.org/abs/2308.01263) | [Hugging Face](https://huggingface.co/datasets/jkminder/xstest-overrefusal) | License: CC BY 4.0.
131
+ - **Agentic Prompt Injection Boundary Pairs** — *Nesdeniz, 2024*
132
+ Evaluates boundary defense against indirect prompt injections and canary token extraction.
133
+ [Hugging Face](https://huggingface.co/datasets/3nesdeniz/agentic-prompt-injection-boundary-pairs) | License: MIT.
134
+ - **Model-Written Evals (Sycophancy & Power Seeking)** — *Perez, E. et al. (Anthropic, 2022)*
135
+ Evaluations testing sycophancy, power-seeking, and advanced alignment failure modes.
136
+ [Paper](https://arxiv.org/abs/2212.09251) | [Hugging Face](https://huggingface.co/datasets/Anthropic/model-written-evals) | License: MIT.
137
+ - **PII Masking Benchmark** — *piimb, 2024*
138
+ Personally identifiable information privacy protection benchmark.
139
+ [Hugging Face](https://huggingface.co/datasets/piimb/pii-masking-benchmark) | License: MIT.
140
+ - **HaluEval** — *Li, J. et al. (Renmin University of China, 2023)*
141
+ Large-scale dataset for evaluating and detecting hallucinations in LLM outputs.
142
+ [Paper](https://arxiv.org/abs/2305.11747) | [Hugging Face](https://huggingface.co/datasets/pminervini/HaluEval) | License: MIT.
143
+ - **ToxicChat** — *Lin, Z. et al. (LMSYS Org & UC San Diego, 2023)*
144
+ Real-world benchmark for toxic and adversarial user prompt detection.
145
+ [Paper](https://arxiv.org/abs/2310.17389) | [Hugging Face](https://huggingface.co/datasets/lmsys/toxic-chat) | License: CC BY 4.0.
146
+
147
+ ---
148
+
149
+ ## How to Use
150
+
151
+ Load directly via the Hugging Face `datasets` library:
152
+
153
+ ```python
154
+ from datasets import load_dataset
155
+
156
+ dataset = load_dataset("devops-thiago/classone-system-one-curriculum")
157
+ train_split = dataset["train"]
158
+
159
+ print(f"Total samples: {len(train_split):,}")
160
+ first_item = train_split[0]
161
+ print("Sample ID:", first_item["sample_id"])
162
+ print("State:", first_item["state"][:100], "...")
163
+ ```
164
+
165
+ ---
166
+
167
+ ## Citation
168
+
169
+ ```bibtex
170
+ @misc{classone2026curriculum,
171
+ title={{ClassOne System 1 Decision Curriculum: A Multi-Domain Corpus for Fast Decision Models}},
172
+ author={{Thiago Gonzaga}},
173
+ year={{2026}},
174
+ url={{https://huggingface.co/datasets/devops-thiago/classone-system-one-curriculum}},
175
+ }
176
+ ```
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a866b29aa86ea6cf2eb0b77493b02e88507ffb708d72113f63a978556f43cb52
3
+ size 5234843
data/train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f51aa2a885d86ce15fb572daafbb77cb108a6a30a07f737c73c537963ea3978
3
+ size 20853519