iNeil77 commited on
Commit
2e7abf6
·
verified ·
1 Parent(s): 4c46674

docs: restore dataset card body after normalize re-push

Browse files
Files changed (1) hide show
  1. README.md +90 -0
README.md CHANGED
@@ -61,3 +61,93 @@ dataset_info:
61
  download_size: 36756684063
62
  dataset_size: 36752927228
63
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  download_size: 36756684063
62
  dataset_size: 36752927228
63
  ---
64
+
65
+ # FinalMix2
66
+
67
+ A multi-task **code reinforcement-learning** dataset mixture in the
68
+ [`verl`](https://github.com/volcengine/verl) RL prompt format. It pairs a
69
+ code-generation split with a suite of auxiliary code-understanding tasks so the
70
+ same corpus can drive three training regimes from one repo. It is the
71
+ V3-dedupe successor to `OctoReasoner/FinalMix` (see
72
+ [Relationship to FinalMix (v1)](#relationship-to-finalmix-v1)).
73
+
74
+ ## Splits
75
+
76
+ | Split | Rows | Contents | Use |
77
+ |-------|-----:|----------|-----|
78
+ | `train_no_aux` | 9,693 | code-generation only | RL on code gen alone |
79
+ | `train_aux_cascade` | 25,538 | all 15,845 auxiliary rows first, then the 9,693 code rows appended (order preserved) | cascade / curriculum RL (aux → code) |
80
+ | `train_aux_multitask` | 25,538 | the same code + aux rows concatenated and shuffled (`seed=42`) | mixed multi-task RL |
81
+ | `validation` | 481 | held-out code-generation problems | eval |
82
+ | `test` | 175 | LiveCodeBench-v6 problems | eval |
83
+
84
+ The three training splits are built from the **same** underlying rows — they
85
+ differ only in which tasks are included and in what order — so they form a
86
+ controlled three-way comparison:
87
+
88
+ 1. **`train_no_aux`** — code generation only.
89
+ 2. **`train_aux_cascade`** — auxiliary tasks then code, for cascade RL.
90
+ 3. **`train_aux_multitask`** — code and auxiliary tasks interleaved, for mixed multi-task RL.
91
+
92
+ ```python
93
+ from datasets import load_dataset
94
+
95
+ code_only = load_dataset("OctoReasoner/FinalMix2", split="train_no_aux")
96
+ cascade = load_dataset("OctoReasoner/FinalMix2", split="train_aux_cascade")
97
+ multitask = load_dataset("OctoReasoner/FinalMix2", split="train_aux_multitask")
98
+ val = load_dataset("OctoReasoner/FinalMix2", split="validation")
99
+ test = load_dataset("OctoReasoner/FinalMix2", split="test")
100
+ ```
101
+
102
+ ## Code split (9,693)
103
+
104
+ A more liberal ("V3") deduplication of the source code pools, rebalanced away
105
+ from the contest-heavy v1 mix toward PrimeIntellect:
106
+
107
+ | Source | Rows | Share |
108
+ |--------|-----:|------:|
109
+ | `code_primeintellect` | 5,241 | 54.1% |
110
+ | `code_contests_o` | 2,538 | 26.2% |
111
+ | `code_taco` | 1,721 | 17.8% |
112
+ | `code_lcbv5` | 193 | 2.0% |
113
+
114
+ ## Auxiliary tasks (15,845)
115
+
116
+ Twelve `data_source`s spanning ~24 ability sub-tasks that probe code
117
+ understanding beyond generation:
118
+
119
+ - **Input/output reasoning** — `code_io_taco`, `code_functional_identity`
120
+ (predict outputs from inputs / inputs from outputs, direct and MCQ).
121
+ - **Complexity** — `code_time_complexity`, `code_space_complexity`,
122
+ `code_cpu_ranking`, `code_memory_ranking` (predict/rank time, space, CPU, memory).
123
+ - **Security** — `code_sast_cwe` (predict/localize CWE weaknesses).
124
+ - **Retrieval** — `code_crp_retrieval` (`coderpile_retrieval`).
125
+ - **Localization** — `code_change_localization`, `code_var_tracing`
126
+ (locate edits; trace variable values).
127
+ - **Compilation** — `code_compile_status` (predict whether code compiles).
128
+ - **Instruction following** — `codeif` (verifiable instruction-following, generate & edit).
129
+
130
+ ## Schema
131
+
132
+ Standard `verl` RL fields:
133
+
134
+ | Field | Type | Notes |
135
+ |-------|------|-------|
136
+ | `data_source` | string | routes the reward function |
137
+ | `prompt` | list of `{role, content}` | chat-formatted problem |
138
+ | `ability` | string | task category |
139
+ | `reward_model` | struct `{style, extraction_method, ground_truth, key}` | scoring spec |
140
+ | `extra_info` | struct `{id, lower_pass_rate, upper_pass_rate}` | per-example metadata |
141
+
142
+ Code-generation rows are scored by executing model output against tests in a
143
+ sandbox; auxiliary rows are scored by rule / answer extraction against
144
+ `ground_truth`.
145
+
146
+ ## Relationship to FinalMix (v1)
147
+
148
+ `FinalMix2` rebuilds the code split of `OctoReasoner/FinalMix` on a more liberal
149
+ dedupe (9,693 code rows vs. 6,000) and rebalances the source distribution — v1
150
+ was `code_contests_o`-dominated (~50%), v2 leads with `code_primeintellect`
151
+ (~54%). The combined training splits grow accordingly (25,538 vs. 22,000). The
152
+ schema, the auxiliary-task set, and the `validation`/`test` eval splits are
153
+ carried over unchanged from v1.