Add every evaluation sample with its rule and judge grades
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +5 -0
- README.md +238 -0
- grades/gsm8k_test/direct/bare.jsonl +0 -0
- grades/gsm8k_test/direct/bare_pm.jsonl +0 -0
- grades/gsm8k_test/direct/base.jsonl +0 -0
- grades/gsm8k_test/direct/complete.jsonl +0 -0
- grades/gsm8k_test/direct/complete_pm.jsonl +0 -0
- grades/gsm8k_test/direct/fade_ordered.jsonl +0 -0
- grades/gsm8k_test/direct/fade_shuffled.jsonl +0 -0
- grades/gsm8k_test/open/bare.jsonl +0 -0
- grades/gsm8k_test/open/bare_pm.jsonl +0 -0
- grades/gsm8k_test/open/base.jsonl +0 -0
- grades/gsm8k_test/open/complete.jsonl +0 -0
- grades/gsm8k_test/open/complete_pm.jsonl +0 -0
- grades/gsm8k_test/open/fade_ordered.jsonl +0 -0
- grades/gsm8k_test/open/fade_shuffled.jsonl +0 -0
- grades/holdout/direct/bare.jsonl +0 -0
- grades/holdout/direct/bare_pm.jsonl +0 -0
- grades/holdout/direct/base.jsonl +0 -0
- grades/holdout/direct/complete.jsonl +0 -0
- grades/holdout/direct/complete_pm.jsonl +0 -0
- grades/holdout/direct/fade_ordered.jsonl +0 -0
- grades/holdout/direct/fade_shuffled.jsonl +0 -0
- grades/holdout/open/bare.jsonl +0 -0
- grades/holdout/open/bare_pm.jsonl +0 -0
- grades/holdout/open/base.jsonl +0 -0
- grades/holdout/open/complete.jsonl +0 -0
- grades/holdout/open/complete_pm.jsonl +0 -0
- grades/holdout/open/fade_ordered.jsonl +0 -0
- grades/holdout/open/fade_shuffled.jsonl +0 -0
- grades/judge_prompt.md +23 -0
- grades/near_transfer/direct/bare.jsonl +0 -0
- grades/near_transfer/direct/bare_pm.jsonl +0 -0
- grades/near_transfer/direct/base.jsonl +0 -0
- grades/near_transfer/direct/complete.jsonl +0 -0
- grades/near_transfer/direct/complete_pm.jsonl +0 -0
- grades/near_transfer/direct/fade_ordered.jsonl +0 -0
- grades/near_transfer/direct/fade_shuffled.jsonl +0 -0
- grades/near_transfer/open/bare.jsonl +0 -0
- grades/near_transfer/open/bare_pm.jsonl +0 -0
- grades/near_transfer/open/base.jsonl +0 -0
- grades/near_transfer/open/complete.jsonl +0 -0
- grades/near_transfer/open/complete_pm.jsonl +0 -0
- grades/near_transfer/open/fade_ordered.jsonl +0 -0
- grades/near_transfer/open/fade_shuffled.jsonl +0 -0
- samples/gsm8k_test/direct/bare.jsonl +0 -0
- samples/gsm8k_test/direct/bare_pm.jsonl +0 -0
- samples/gsm8k_test/direct/base.jsonl +0 -0
- samples/gsm8k_test/direct/complete.jsonl +0 -0
- samples/gsm8k_test/direct/complete_pm.jsonl +0 -0
.gitattributes
CHANGED
|
@@ -59,3 +59,8 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|
| 62 |
+
samples/holdout/open/base.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
samples/holdout/open/complete.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
samples/holdout/open/complete_pm.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
samples/holdout/open/fade_ordered.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
samples/holdout/open/fade_shuffled.jsonl filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -12,6 +12,198 @@ configs:
|
|
| 12 |
data_files: data/near_transfer.jsonl
|
| 13 |
- config_name: gsm8k_test
|
| 14 |
data_files: data/gsm8k_test.jsonl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
tags:
|
| 16 |
- math
|
| 17 |
- worked-examples
|
|
@@ -72,6 +264,52 @@ The exact token streams each arm was trained on, one folder per arm (`bare`, `co
|
|
| 72 |
`tokenized/pack_summary.json` gives each arm's windows, tokens, loss tokens and passes. The two fade arms draw on the
|
| 73 |
same 50,000 documents in different orders.
|
| 74 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
## Licensing
|
| 76 |
|
| 77 |
GSM8K and MATH are released under the MIT license; MetaMathQA's prompts and code are used as released. The rewrites
|
|
|
|
| 12 |
data_files: data/near_transfer.jsonl
|
| 13 |
- config_name: gsm8k_test
|
| 14 |
data_files: data/gsm8k_test.jsonl
|
| 15 |
+
- config_name: samples_holdout_open
|
| 16 |
+
data_files:
|
| 17 |
+
- split: base
|
| 18 |
+
path: samples/holdout/open/base.jsonl
|
| 19 |
+
- split: bare
|
| 20 |
+
path: samples/holdout/open/bare.jsonl
|
| 21 |
+
- split: complete
|
| 22 |
+
path: samples/holdout/open/complete.jsonl
|
| 23 |
+
- split: fade_ordered
|
| 24 |
+
path: samples/holdout/open/fade_ordered.jsonl
|
| 25 |
+
- split: fade_shuffled
|
| 26 |
+
path: samples/holdout/open/fade_shuffled.jsonl
|
| 27 |
+
- split: bare_pm
|
| 28 |
+
path: samples/holdout/open/bare_pm.jsonl
|
| 29 |
+
- split: complete_pm
|
| 30 |
+
path: samples/holdout/open/complete_pm.jsonl
|
| 31 |
+
- config_name: samples_holdout_direct
|
| 32 |
+
data_files:
|
| 33 |
+
- split: base
|
| 34 |
+
path: samples/holdout/direct/base.jsonl
|
| 35 |
+
- split: bare
|
| 36 |
+
path: samples/holdout/direct/bare.jsonl
|
| 37 |
+
- split: complete
|
| 38 |
+
path: samples/holdout/direct/complete.jsonl
|
| 39 |
+
- split: fade_ordered
|
| 40 |
+
path: samples/holdout/direct/fade_ordered.jsonl
|
| 41 |
+
- split: fade_shuffled
|
| 42 |
+
path: samples/holdout/direct/fade_shuffled.jsonl
|
| 43 |
+
- split: bare_pm
|
| 44 |
+
path: samples/holdout/direct/bare_pm.jsonl
|
| 45 |
+
- split: complete_pm
|
| 46 |
+
path: samples/holdout/direct/complete_pm.jsonl
|
| 47 |
+
- config_name: samples_near_transfer_open
|
| 48 |
+
data_files:
|
| 49 |
+
- split: base
|
| 50 |
+
path: samples/near_transfer/open/base.jsonl
|
| 51 |
+
- split: bare
|
| 52 |
+
path: samples/near_transfer/open/bare.jsonl
|
| 53 |
+
- split: complete
|
| 54 |
+
path: samples/near_transfer/open/complete.jsonl
|
| 55 |
+
- split: fade_ordered
|
| 56 |
+
path: samples/near_transfer/open/fade_ordered.jsonl
|
| 57 |
+
- split: fade_shuffled
|
| 58 |
+
path: samples/near_transfer/open/fade_shuffled.jsonl
|
| 59 |
+
- split: bare_pm
|
| 60 |
+
path: samples/near_transfer/open/bare_pm.jsonl
|
| 61 |
+
- split: complete_pm
|
| 62 |
+
path: samples/near_transfer/open/complete_pm.jsonl
|
| 63 |
+
- config_name: samples_near_transfer_direct
|
| 64 |
+
data_files:
|
| 65 |
+
- split: base
|
| 66 |
+
path: samples/near_transfer/direct/base.jsonl
|
| 67 |
+
- split: bare
|
| 68 |
+
path: samples/near_transfer/direct/bare.jsonl
|
| 69 |
+
- split: complete
|
| 70 |
+
path: samples/near_transfer/direct/complete.jsonl
|
| 71 |
+
- split: fade_ordered
|
| 72 |
+
path: samples/near_transfer/direct/fade_ordered.jsonl
|
| 73 |
+
- split: fade_shuffled
|
| 74 |
+
path: samples/near_transfer/direct/fade_shuffled.jsonl
|
| 75 |
+
- split: bare_pm
|
| 76 |
+
path: samples/near_transfer/direct/bare_pm.jsonl
|
| 77 |
+
- split: complete_pm
|
| 78 |
+
path: samples/near_transfer/direct/complete_pm.jsonl
|
| 79 |
+
- config_name: samples_gsm8k_test_open
|
| 80 |
+
data_files:
|
| 81 |
+
- split: base
|
| 82 |
+
path: samples/gsm8k_test/open/base.jsonl
|
| 83 |
+
- split: bare
|
| 84 |
+
path: samples/gsm8k_test/open/bare.jsonl
|
| 85 |
+
- split: complete
|
| 86 |
+
path: samples/gsm8k_test/open/complete.jsonl
|
| 87 |
+
- split: fade_ordered
|
| 88 |
+
path: samples/gsm8k_test/open/fade_ordered.jsonl
|
| 89 |
+
- split: fade_shuffled
|
| 90 |
+
path: samples/gsm8k_test/open/fade_shuffled.jsonl
|
| 91 |
+
- split: bare_pm
|
| 92 |
+
path: samples/gsm8k_test/open/bare_pm.jsonl
|
| 93 |
+
- split: complete_pm
|
| 94 |
+
path: samples/gsm8k_test/open/complete_pm.jsonl
|
| 95 |
+
- config_name: samples_gsm8k_test_direct
|
| 96 |
+
data_files:
|
| 97 |
+
- split: base
|
| 98 |
+
path: samples/gsm8k_test/direct/base.jsonl
|
| 99 |
+
- split: bare
|
| 100 |
+
path: samples/gsm8k_test/direct/bare.jsonl
|
| 101 |
+
- split: complete
|
| 102 |
+
path: samples/gsm8k_test/direct/complete.jsonl
|
| 103 |
+
- split: fade_ordered
|
| 104 |
+
path: samples/gsm8k_test/direct/fade_ordered.jsonl
|
| 105 |
+
- split: fade_shuffled
|
| 106 |
+
path: samples/gsm8k_test/direct/fade_shuffled.jsonl
|
| 107 |
+
- split: bare_pm
|
| 108 |
+
path: samples/gsm8k_test/direct/bare_pm.jsonl
|
| 109 |
+
- split: complete_pm
|
| 110 |
+
path: samples/gsm8k_test/direct/complete_pm.jsonl
|
| 111 |
+
- config_name: grades_holdout_open
|
| 112 |
+
data_files:
|
| 113 |
+
- split: base
|
| 114 |
+
path: grades/holdout/open/base.jsonl
|
| 115 |
+
- split: bare
|
| 116 |
+
path: grades/holdout/open/bare.jsonl
|
| 117 |
+
- split: complete
|
| 118 |
+
path: grades/holdout/open/complete.jsonl
|
| 119 |
+
- split: fade_ordered
|
| 120 |
+
path: grades/holdout/open/fade_ordered.jsonl
|
| 121 |
+
- split: fade_shuffled
|
| 122 |
+
path: grades/holdout/open/fade_shuffled.jsonl
|
| 123 |
+
- split: bare_pm
|
| 124 |
+
path: grades/holdout/open/bare_pm.jsonl
|
| 125 |
+
- split: complete_pm
|
| 126 |
+
path: grades/holdout/open/complete_pm.jsonl
|
| 127 |
+
- config_name: grades_holdout_direct
|
| 128 |
+
data_files:
|
| 129 |
+
- split: base
|
| 130 |
+
path: grades/holdout/direct/base.jsonl
|
| 131 |
+
- split: bare
|
| 132 |
+
path: grades/holdout/direct/bare.jsonl
|
| 133 |
+
- split: complete
|
| 134 |
+
path: grades/holdout/direct/complete.jsonl
|
| 135 |
+
- split: fade_ordered
|
| 136 |
+
path: grades/holdout/direct/fade_ordered.jsonl
|
| 137 |
+
- split: fade_shuffled
|
| 138 |
+
path: grades/holdout/direct/fade_shuffled.jsonl
|
| 139 |
+
- split: bare_pm
|
| 140 |
+
path: grades/holdout/direct/bare_pm.jsonl
|
| 141 |
+
- split: complete_pm
|
| 142 |
+
path: grades/holdout/direct/complete_pm.jsonl
|
| 143 |
+
- config_name: grades_near_transfer_open
|
| 144 |
+
data_files:
|
| 145 |
+
- split: base
|
| 146 |
+
path: grades/near_transfer/open/base.jsonl
|
| 147 |
+
- split: bare
|
| 148 |
+
path: grades/near_transfer/open/bare.jsonl
|
| 149 |
+
- split: complete
|
| 150 |
+
path: grades/near_transfer/open/complete.jsonl
|
| 151 |
+
- split: fade_ordered
|
| 152 |
+
path: grades/near_transfer/open/fade_ordered.jsonl
|
| 153 |
+
- split: fade_shuffled
|
| 154 |
+
path: grades/near_transfer/open/fade_shuffled.jsonl
|
| 155 |
+
- split: bare_pm
|
| 156 |
+
path: grades/near_transfer/open/bare_pm.jsonl
|
| 157 |
+
- split: complete_pm
|
| 158 |
+
path: grades/near_transfer/open/complete_pm.jsonl
|
| 159 |
+
- config_name: grades_near_transfer_direct
|
| 160 |
+
data_files:
|
| 161 |
+
- split: base
|
| 162 |
+
path: grades/near_transfer/direct/base.jsonl
|
| 163 |
+
- split: bare
|
| 164 |
+
path: grades/near_transfer/direct/bare.jsonl
|
| 165 |
+
- split: complete
|
| 166 |
+
path: grades/near_transfer/direct/complete.jsonl
|
| 167 |
+
- split: fade_ordered
|
| 168 |
+
path: grades/near_transfer/direct/fade_ordered.jsonl
|
| 169 |
+
- split: fade_shuffled
|
| 170 |
+
path: grades/near_transfer/direct/fade_shuffled.jsonl
|
| 171 |
+
- split: bare_pm
|
| 172 |
+
path: grades/near_transfer/direct/bare_pm.jsonl
|
| 173 |
+
- split: complete_pm
|
| 174 |
+
path: grades/near_transfer/direct/complete_pm.jsonl
|
| 175 |
+
- config_name: grades_gsm8k_test_open
|
| 176 |
+
data_files:
|
| 177 |
+
- split: base
|
| 178 |
+
path: grades/gsm8k_test/open/base.jsonl
|
| 179 |
+
- split: bare
|
| 180 |
+
path: grades/gsm8k_test/open/bare.jsonl
|
| 181 |
+
- split: complete
|
| 182 |
+
path: grades/gsm8k_test/open/complete.jsonl
|
| 183 |
+
- split: fade_ordered
|
| 184 |
+
path: grades/gsm8k_test/open/fade_ordered.jsonl
|
| 185 |
+
- split: fade_shuffled
|
| 186 |
+
path: grades/gsm8k_test/open/fade_shuffled.jsonl
|
| 187 |
+
- split: bare_pm
|
| 188 |
+
path: grades/gsm8k_test/open/bare_pm.jsonl
|
| 189 |
+
- split: complete_pm
|
| 190 |
+
path: grades/gsm8k_test/open/complete_pm.jsonl
|
| 191 |
+
- config_name: grades_gsm8k_test_direct
|
| 192 |
+
data_files:
|
| 193 |
+
- split: base
|
| 194 |
+
path: grades/gsm8k_test/direct/base.jsonl
|
| 195 |
+
- split: bare
|
| 196 |
+
path: grades/gsm8k_test/direct/bare.jsonl
|
| 197 |
+
- split: complete
|
| 198 |
+
path: grades/gsm8k_test/direct/complete.jsonl
|
| 199 |
+
- split: fade_ordered
|
| 200 |
+
path: grades/gsm8k_test/direct/fade_ordered.jsonl
|
| 201 |
+
- split: fade_shuffled
|
| 202 |
+
path: grades/gsm8k_test/direct/fade_shuffled.jsonl
|
| 203 |
+
- split: bare_pm
|
| 204 |
+
path: grades/gsm8k_test/direct/bare_pm.jsonl
|
| 205 |
+
- split: complete_pm
|
| 206 |
+
path: grades/gsm8k_test/direct/complete_pm.jsonl
|
| 207 |
tags:
|
| 208 |
- math
|
| 209 |
- worked-examples
|
|
|
|
| 264 |
`tokenized/pack_summary.json` gives each arm's windows, tokens, loss tokens and passes. The two fade arms draw on the
|
| 265 |
same 50,000 documents in different orders.
|
| 266 |
|
| 267 |
+
## Model samples and grades (`samples/`, `grades/`)
|
| 268 |
+
|
| 269 |
+
Every evaluation sample behind the paper's worked-example results, with both graders' verdicts: the seven models (the
|
| 270 |
+
base checkpoint and the six arms in
|
| 271 |
+
[nzhao721/worked-examples-models](https://huggingface.co/nzhao721/worked-examples-models)) on the three evaluation
|
| 272 |
+
sets, under both prompts. Files are `samples/<set>/<condition>/<model>.jsonl` and
|
| 273 |
+
`grades/<set>/<condition>/<model>.jsonl`, with `<set>` one of `holdout`, `near_transfer` and `gsm8k_test`,
|
| 274 |
+
`<condition>` `open` or `direct`, and `<model>` `base`, `bare`, `complete`, `fade_ordered`, `fade_shuffled`, `bare_pm`
|
| 275 |
+
or `complete_pm`. Each `samples_<set>_<condition>` and `grades_<set>_<condition>` config has one split per model. The
|
| 276 |
+
holdout files cover the 5,606 released holdout prompts.
|
| 277 |
+
|
| 278 |
+
Sampling. Eight samples per prompt at temperature 0.7 with nucleus sampling (top-p 0.95). Direct: the prompt is the
|
| 279 |
+
config's `prompt` (`Problem: q
|
| 280 |
+
Answer:`), and a sample ends at the first newline after non-blank text, at
|
| 281 |
+
end-of-text, or at 128 new tokens. Open: the prompt is `Problem: q
|
| 282 |
+
`, and a sample ends at end-of-text, at a line that
|
| 283 |
+
opens another problem (`Problem:`, `Question:`, `Q:`), at the end of the line holding the first answer marker
|
| 284 |
+
(`####`, `Answer:`, `The answer is`), when a complete line has appeared three times, or at 512 new tokens.
|
| 285 |
+
|
| 286 |
+
### `samples_*` (one row per sample)
|
| 287 |
+
|
| 288 |
+
| Field | Meaning |
|
| 289 |
+
|---|---|
|
| 290 |
+
| `instance_id` | the prompt, as in the evaluation config |
|
| 291 |
+
| `sample` | sample index, 0 to 7 |
|
| 292 |
+
| `text` | the generated continuation |
|
| 293 |
+
| `stop` | why the sample ended: `newline`, `answer`, `problem`, `repeat`, `eos` or `cap` (the length cap); null for the base model's holdout direct samples, which an earlier version of the sampler wrote with the text only |
|
| 294 |
+
| `new_tokens` | generated tokens; null where `stop` is null |
|
| 295 |
+
|
| 296 |
+
### `grades_*` (one row per prompt)
|
| 297 |
+
|
| 298 |
+
| Field | Meaning |
|
| 299 |
+
|---|---|
|
| 300 |
+
| `instance_id`, `family_id`, `type`, `gold` | the prompt, its family, its type and its full gold answer |
|
| 301 |
+
| `rule_answers`, `rule_correct` | the deterministic grader's verdict for each sample: the first answer field it extracted (null if none) and whether it equals the gold |
|
| 302 |
+
| `rule_maj_correct` | whether the most common extracted answer is correct (maj@8) |
|
| 303 |
+
| `judge_answers`, `judge_correct` | the LLM judge's verdict for each sample: the first final answer the sample states (null if none) and whether it equals the gold |
|
| 304 |
+
| `judge_gold_issue` | null, or the judge's note when it thought the gold was wrong |
|
| 305 |
+
|
| 306 |
+
Each list has eight entries in sample order, so entry `k` belongs to row `sample = k` of the matching samples file.
|
| 307 |
+
Pass@8 is `any(judge_correct)` and PassRatio@8 is the mean of `judge_correct`; the paper's reported numbers use the
|
| 308 |
+
judge's grades. The judge is Claude Sonnet 5.5. It graded the eight samples of one prompt together, shown in random
|
| 309 |
+
order without the model's name, with the prompt in `grades/judge_prompt.md`. The deterministic grader takes the
|
| 310 |
+
first answer field of a sample (in the open condition, after `####`, `Answer:` or `The answer is`); a numeric answer must
|
| 311 |
+
equal the gold exactly as a number, any other answer is compared with math-verify, and prose never counts.
|
| 312 |
+
|
| 313 |
## Licensing
|
| 314 |
|
| 315 |
GSM8K and MATH are released under the MIT license; MetaMathQA's prompts and code are used as released. The rewrites
|
grades/gsm8k_test/direct/bare.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/gsm8k_test/direct/bare_pm.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/gsm8k_test/direct/base.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/gsm8k_test/direct/complete.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/gsm8k_test/direct/complete_pm.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/gsm8k_test/direct/fade_ordered.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/gsm8k_test/direct/fade_shuffled.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/gsm8k_test/open/bare.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/gsm8k_test/open/bare_pm.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/gsm8k_test/open/base.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/gsm8k_test/open/complete.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/gsm8k_test/open/complete_pm.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/gsm8k_test/open/fade_ordered.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/gsm8k_test/open/fade_shuffled.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/holdout/direct/bare.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/holdout/direct/bare_pm.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/holdout/direct/base.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/holdout/direct/complete.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/holdout/direct/complete_pm.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/holdout/direct/fade_ordered.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/holdout/direct/fade_shuffled.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/holdout/open/bare.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/holdout/open/bare_pm.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/holdout/open/base.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/holdout/open/complete.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/holdout/open/complete_pm.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/holdout/open/fade_ordered.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/holdout/open/fade_shuffled.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/judge_prompt.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
You are grading a language model's answers to a math problem. The model was given the problem 8 times and replied independently each time. Grade each of the 8 replies on its own: is it a correct answer to the problem?
|
| 2 |
+
|
| 3 |
+
## Inputs (fields of each item)
|
| 4 |
+
- problem: the problem the model was given (a GSM8K or MATH problem, possibly reworded)
|
| 5 |
+
- gold: the reference final answer
|
| 6 |
+
- condition: "direct" (the prompt ended with "Answer:", so each reply is a short answer line) or "open" (the prompt was the problem alone, so each reply is free text that may reason, ramble, or start another problem)
|
| 7 |
+
- samples: 8 replies labeled A to H, in random order. Each has "label", "reply", and "cut_off" (true if the reply was stopped at the length limit, so its last line may be incomplete)
|
| 8 |
+
|
| 9 |
+
## How to grade each reply
|
| 10 |
+
1. Read the problem and work out what quantity it asks for. Use the gold as the reference value. Judge against it even if you think it is wrong; if you do, say so in "gold_issue".
|
| 11 |
+
2. Grade every reply independently. Never compare replies with each other or let one reply's answer influence another's grade. Many replies saying the same thing is not evidence that it is right.
|
| 12 |
+
3. Find the reply's answer: the first place where it explicitly states a final answer to this problem, a value presented as the answer or the conclusion (for example "Answer: 15", "So she has 15 apples left.", "The value of x is 4.", "x = 4" as the conclusion, "\boxed{4}"). That first statement is the reply's answer, even if later text gives a different value or contradicts it. In the direct condition the reply is a single line; it is the answer only if that line states a final value.
|
| 13 |
+
Not a stated final answer: a value that is only computed along the way, mentioned in passing, or copied from the problem; a list or repetition of values where none is presented as the answer; a restatement of the question; text that stops before any conclusion; a line that is cut off in the middle of the number ("cut_off" true and the value is incomplete); content about a different problem.
|
| 14 |
+
4. If the reply states a final answer, decide whether it equals the gold:
|
| 15 |
+
- Numbers are equal when their values are equal: ignore thousands separators, a leading "$", a trailing "%" when the gold is the same number, units and trailing words ("15 kg", "15 dollars"), and a trailing period.
|
| 16 |
+
- Fractions, decimals and expressions are equal when they denote the same value ("1/2", "0.5", "\frac{1}{2}"). A rounded decimal is not equal to an exact fraction unless the problem asks for rounding.
|
| 17 |
+
- Answers that are not numbers (an expression, an interval, a set, a choice letter, a word) must be mathematically the same object.
|
| 18 |
+
- Do not grade the reasoning: a correct final answer reached by flawed reasoning is still correct, and a wrong final answer is wrong however good the reasoning.
|
| 19 |
+
5. The grade is "correct" only if the reply states a final answer and it equals the gold. Otherwise it is "incorrect".
|
| 20 |
+
|
| 21 |
+
## Output format (fields after item_id and judge_model)
|
| 22 |
+
- "grades": a list of 8 objects, one per label in order A to H, each {"label": "A", "stated_answer": the reply's first stated final answer as written (a short string) or null, "grade": "correct" or "incorrect"}
|
| 23 |
+
- "gold_issue": null, or one sentence if you think the gold is wrong
|
grades/near_transfer/direct/bare.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/near_transfer/direct/bare_pm.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/near_transfer/direct/base.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/near_transfer/direct/complete.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/near_transfer/direct/complete_pm.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/near_transfer/direct/fade_ordered.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/near_transfer/direct/fade_shuffled.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/near_transfer/open/bare.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/near_transfer/open/bare_pm.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/near_transfer/open/base.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/near_transfer/open/complete.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/near_transfer/open/complete_pm.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/near_transfer/open/fade_ordered.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
grades/near_transfer/open/fade_shuffled.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
samples/gsm8k_test/direct/bare.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
samples/gsm8k_test/direct/bare_pm.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
samples/gsm8k_test/direct/base.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
samples/gsm8k_test/direct/complete.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
samples/gsm8k_test/direct/complete_pm.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|