Datasets:
id stringlengths 31 33 | family stringclasses 1
value | task stringclasses 3
values | variant stringclasses 2
values | seq_len int32 1.02k 32.8k | rung stringclasses 5
values | split stringclasses 1
value | seed int32 20.3M 20.3M | input_ids listlengths 1.02k 32.8k | labels listlengths 1.02k 32.8k | attention_mask listlengths 1.02k 32.8k | text stringlengths 6.62k 233k | context stringlengths 6.59k 233k | query stringclasses 262
values | answer stringlengths 1 25 | n_tokens int32 1.02k 32.8k | prize_bits float32 3.32 30.5 | gap int32 987 32.8k | answer_start int32 1.02k 32.8k | answer_end int32 1.02k 32.8k | evidence_end int32 5 29 | meta stringlengths 100 249 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arith/seq1024/scaled/train/00000 | arith | eval | scaled | 1,024 | seq1024 | train | 20,260,916 | [
7,
58,
90,
20,
10,
21,
92,
9,
7,
16,
9,
19,
8,
60,
12,
20,
8,
13,
7,
21,
9,
90,
90,
15,
12,
18,
92,
10,
90,
22,
12,
22,
92,
92,
8,
13,
58,
16,
12,
7,
24,
12,
90,
16,
12,
20,
92,
8,
60,
13,
58,
7,
90,
17,
12,
... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | ( [ { 5 + 6 } * ( 1 * 4 ) ] - 5 ) . ( 6 * { { 0 - 3 } + { 7 - 7 } } ) . [ 1 - ( 9 - { 1 - 5 } ) ] . [ ( { 2 - 6 } - ( 0 - 5 ) ) - { 7 + 1 } ] . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util meilleur clickable... | ( [ { 5 + 6 } * ( 1 * 4 ) ] - 5 ) . ( 6 * { { 0 - 3 } + { 7 - 7 } } ) . [ 1 - ( 9 - { 1 - 5 } ) ] . [ ( { 2 - 6 } - ( 0 - 5 ) ) - { 7 + 1 } ] . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util meilleur clickable... | Q eval | 3 9 | 1,024 | 6.643856 | 1,004 | 1,021 | 1,023 | 17 | {"glued": "([{5+6}*(1*4)]-5)", "max_depth": 3, "n_internal": 4, "n_items": 4, "root_value": 39, "shortcut": true} |
arith/seq1024/scaled/train/00001 | arith | subexpr | scaled | 1,024 | seq1024 | train | 20,260,916 | [
7,
19,
10,
90,
24,
12,
7,
15,
12,
20,
8,
92,
8,
13,
7,
90,
21,
9,
20,
92,
10,
23,
8,
13,
7,
7,
20,
12,
90,
22,
10,
15,
92,
8,
12,
58,
7,
16,
12,
23,
8,
10,
58,
24,
9,
23,
60,
60,
8,
13,
90,
18,
12,
7,
21,
9... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | ( 4 + { 9 - ( 0 - 5 ) } ) . ( { 6 * 5 } + 8 ) . ( ( 5 - { 7 + 0 } ) - [ ( 1 - 8 ) + [ 9 * 8 ] ] ) . { 3 - ( 6 * ( 8 - 7 ) ) } . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util meilleur clickable owe cardio dive... | ( 4 + { 9 - ( 0 - 5 ) } ) . ( { 6 * 5 } + 8 ) . ( ( 5 - { 7 + 0 } ) - [ ( 1 - 8 ) + [ 9 * 8 ] ] ) . { 3 - ( 6 * ( 8 - 7 ) ) } . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util meilleur clickable owe cardio dive... | Q sub 2 . 1 . | 1 8 . 1 4 | 1,024 | 15.27325 | 1,005 | 1,018 | 1,023 | 13 | {"glued": "(4+{9-(0-5)})", "max_depth": 3, "n_internal": 3, "n_items": 4, "nodes": [{"index": 2, "value": 18}, {"index": 1, "value": 14}], "root_value": 18, "shortcut": false} |
arith/seq1024/scaled/train/00002 | arith | subexpr | scaled | 1,024 | seq1024 | train | 20,260,916 | [
90,
58,
90,
18,
9,
16,
92,
9,
58,
18,
12,
22,
60,
60,
12,
7,
58,
19,
12,
16,
60,
12,
58,
20,
12,
16,
60,
8,
92,
13,
58,
58,
7,
24,
12,
18,
8,
12,
7,
24,
10,
23,
8,
60,
9,
58,
90,
17,
12,
23,
92,
12,
16,
60,
6... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | { [ { 3 * 1 } * [ 3 - 7 ] ] - ( [ 4 - 1 ] - [ 5 - 1 ] ) } . [ [ ( 9 - 3 ) - ( 9 + 8 ) ] * [ { 2 - 8 } - 1 ] ] . { [ 9 + { 1 - 9 } ] + ( 2 + [ 9 - 0 ] ) } . ( ( ( 4 + 7 ) + { 0 - 4 } ) - [ [ 8 - 0 ] + [ 1 - 5 ] ] ) . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect int... | { [ { 3 * 1 } * [ 3 - 7 ] ] - ( [ 4 - 1 ] - [ 5 - 1 ] ) } . [ [ ( 9 - 3 ) - ( 9 + 8 ) ] * [ { 2 - 8 } - 1 ] ] . { [ 9 + { 1 - 9 } ] + ( 2 + [ 9 - 0 ] ) } . ( ( ( 4 + 7 ) + { 0 - 4 } ) - [ [ 8 - 0 ] + [ 1 - 5 ] ] ) . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect int... | Q sub 5 . 2 . | - 1 . - 1 2 | 1,024 | 15.27325 | 988 | 1,017 | 1,023 | 29 | {"glued": "{[{3*1}*[3-7]]-([4-1]-[5-1])}", "max_depth": 3, "n_internal": 7, "n_items": 4, "nodes": [{"index": 5, "value": -1}, {"index": 2, "value": -12}], "root_value": -11, "shortcut": false} |
arith/seq1024/scaled/train/00003 | arith | match | scaled | 1,024 | seq1024 | train | 20,260,916 | [
7,
58,
21,
12,
90,
22,
9,
24,
92,
60,
12,
90,
90,
24,
12,
17,
92,
10,
90,
16,
10,
16,
92,
92,
8,
13,
58,
23,
12,
58,
58,
17,
12,
21,
60,
12,
20,
60,
60,
13,
58,
24,
12,
7,
7,
21,
12,
19,
8,
12,
7,
17,
12,
22,
... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | ( [ 6 - { 7 * 9 } ] - { { 9 - 2 } + { 1 + 1 } } ) . [ 8 - [ [ 2 - 6 ] - 5 ] ] . [ 9 - ( ( 6 - 4 ) - ( 2 - 7 ) ) ] . { { 7 + { 3 + 3 } } + ( [ 9 * 9 ] + 4 ) } . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util me... | ( [ 6 - { 7 * 9 } ] - { { 9 - 2 } + { 1 + 1 } } ) . [ 8 - [ [ 2 - 6 ] - 5 ] ] . [ 9 - ( ( 6 - 4 ) - ( 2 - 7 ) ) ] . { { 7 + { 3 + 3 } } + ( [ 9 * 9 ] + 4 ) } . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util me... | Q match 0 | 2 4 | 1,024 | 10 | 996 | 1,021 | 1,023 | 25 | {"closer_pos": 24, "glued": "([6-{7*9}]-{{9-2}+{1+1}})", "max_depth": 3, "n_internal": 6, "n_items": 4, "opener_pos": 0, "root_value": -66, "shortcut": false} |
arith/seq1024/scaled/train/00004 | arith | subexpr | scaled | 1,024 | seq1024 | train | 20,260,916 | [
90,
15,
12,
90,
90,
23,
9,
16,
92,
10,
7,
16,
12,
18,
8,
92,
92,
13,
90,
16,
12,
58,
58,
20,
10,
17,
60,
12,
15,
60,
92,
13,
58,
24,
10,
58,
90,
22,
12,
23,
92,
12,
23,
60,
60,
13,
90,
90,
58,
15,
10,
18,
60,
1... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | { 0 - { { 8 * 1 } + ( 1 - 3 ) } } . { 1 - [ [ 5 + 2 ] - 0 ] } . [ 9 + [ { 7 - 8 } - 8 ] ] . { { [ 0 + 3 ] + { 1 - 4 } } * 7 } . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util meilleur clickable owe cardio dive... | { 0 - { { 8 * 1 } + ( 1 - 3 ) } } . { 1 - [ [ 5 + 2 ] - 0 ] } . [ 9 + [ { 7 - 8 } - 8 ] ] . { { [ 0 + 3 ] + { 1 - 4 } } * 7 } . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util meilleur clickable owe cardio dive... | Q sub 3 . 2 . | - 6 . 6 | 1,024 | 15.27325 | 1,002 | 1,019 | 1,023 | 17 | {"glued": "{0-{{8*1}+(1-3)}}", "max_depth": 3, "n_internal": 4, "n_items": 4, "nodes": [{"index": 3, "value": -6}, {"index": 2, "value": 6}], "root_value": -6, "shortcut": false} |
arith/seq1024/scaled/train/00005 | arith | subexpr | scaled | 1,024 | seq1024 | train | 20,260,916 | [
90,
58,
58,
19,
12,
19,
60,
10,
19,
60,
12,
7,
58,
16,
9,
17,
60,
10,
90,
18,
9,
20,
92,
8,
92,
13,
90,
17,
12,
90,
90,
22,
9,
18,
92,
12,
21,
92,
92,
13,
7,
7,
7,
22,
10,
23,
8,
12,
58,
18,
12,
18,
60,
8,
10... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | { [ [ 4 - 4 ] + 4 ] - ( [ 1 * 2 ] + { 3 * 5 } ) } . { 2 - { { 7 * 3 } - 6 } } . ( ( ( 7 + 8 ) - [ 3 - 3 ] ) + { { 9 - 6 } - 3 } ) . { 8 * [ 5 - [ 9 + 2 ] ] } . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util me... | { [ [ 4 - 4 ] + 4 ] - ( [ 1 * 2 ] + { 3 * 5 } ) } . { 2 - { { 7 * 3 } - 6 } } . ( ( ( 7 + 8 ) - [ 3 - 3 ] ) + { { 9 - 6 } - 3 } ) . { 8 * [ 5 - [ 9 + 2 ] ] } . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util me... | Q sub 3 . 4 . | 1 5 . 1 7 | 1,024 | 15.27325 | 993 | 1,018 | 1,023 | 25 | {"glued": "{[[4-4]+4]-([1*2]+{3*5})}", "max_depth": 3, "n_internal": 6, "n_items": 4, "nodes": [{"index": 3, "value": 15}, {"index": 4, "value": 17}], "root_value": -13, "shortcut": false} |
arith/seq1024/scaled/train/00006 | arith | subexpr | scaled | 1,024 | seq1024 | train | 20,260,916 | [
58,
90,
58,
23,
9,
20,
60,
12,
90,
15,
10,
15,
92,
92,
12,
58,
15,
10,
15,
60,
60,
13,
58,
20,
9,
90,
90,
19,
10,
16,
92,
10,
21,
92,
60,
13,
58,
58,
19,
10,
7,
21,
12,
22,
8,
60,
9,
21,
60,
13,
7,
90,
17,
10,
... | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [ { [ 8 * 5 ] - { 0 + 0 } } - [ 0 + 0 ] ] . [ 5 * { { 4 + 1 } + 6 } ] . [ [ 4 + ( 6 - 7 ) ] * 6 ] . ( { 2 + 5 } - [ 8 + ( 9 * 4 ) ] ) . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util meilleur clickable owe car... | [ { [ 8 * 5 ] - { 0 + 0 } } - [ 0 + 0 ] ] . [ 5 * { { 4 + 1 } + 6 } ] . [ [ 4 + ( 6 - 7 ) ] * 6 ] . ( { 2 + 5 } - [ 8 + ( 9 * 4 ) ] ) . glfw bigger signaling mex pieces cyt passer appconfig worker susp initview funciones mongolia expect intentional bea udp dracon trval rene tendr studies util meilleur clickable owe car... | Q sub 4 . 0 . | 4 0 . 4 0 | 1,024 | 15.27325 | 997 | 1,018 | 1,023 | 21 | {"glued": "[{[8*5]-{0+0}}-[0+0]]", "max_depth": 3, "n_internal": 5, "n_items": 4, "nodes": [{"index": 4, "value": 40}, {"index": 0, "value": 40}], "root_value": 40, "shortcut": false} |
arith/seq1024/scaled/train/00007 | arith | subexpr | scaled | 1,024 | seq1024 | train | 20,260,916 | [58,90,58,15,9,23,60,9,90,16,12,23,92,92,12,58,22,12,7,21,12,22,8,60,60,13,90,7,17,10,7,17,9,18,8,8,(...TRUNCATED) | [-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100(...TRUNCATED) | [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED) | "[ { [ 0 * 8 ] * { 1 - 8 } } - [ 7 - ( 6 - 7 ) ] ] . { ( 2 + ( 2 * 3 ) ) + [ { 2 + 0 } * { 4 + 0 } ](...TRUNCATED) | "[ { [ 0 * 8 ] * { 1 - 8 } } - [ 7 - ( 6 - 7 ) ] ] . { ( 2 + ( 2 * 3 ) ) + [ { 2 + 0 } * { 4 + 0 } ](...TRUNCATED) | Q sub 2 . 4 . | 0 . 8 | 1,024 | 15.27325 | 995 | 1,020 | 1,023 | 25 | "{\"glued\": \"[{[0*8]*{1-8}}-[7-(6-7)]]\", \"max_depth\": 3, \"n_internal\": 6, \"n_items\": 4, \"n(...TRUNCATED) |
arith/seq1024/scaled/train/00008 | arith | subexpr | scaled | 1,024 | seq1024 | train | 20,260,916 | [58,19,12,58,58,17,12,16,60,12,58,18,10,23,60,60,60,13,90,58,7,17,12,23,8,10,90,22,12,18,92,60,12,58(...TRUNCATED) | [-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100(...TRUNCATED) | [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED) | "[ 4 - [ [ 2 - 1 ] - [ 3 + 8 ] ] ] . { [ ( 2 - 8 ) + { 7 - 3 } ] - [ 9 + { 0 - 5 } ] } . { 6 + [ { 9(...TRUNCATED) | "[ 4 - [ [ 2 - 1 ] - [ 3 + 8 ] ] ] . { [ ( 2 - 8 ) + { 7 - 3 } ] - [ 9 + { 0 - 5 } ] } . { 6 + [ { 9(...TRUNCATED) | Q sub 2 . 3 . | - 1 0 . 1 4 | 1,024 | 15.27325 | 1,000 | 1,017 | 1,023 | 17 | "{\"glued\": \"[4-[[2-1]-[3+8]]]\", \"max_depth\": 3, \"n_internal\": 4, \"n_items\": 4, \"nodes\": (...TRUNCATED) |
arith/seq1024/scaled/train/00009 | arith | eval | scaled | 1,024 | seq1024 | train | 20,260,916 | [7,20,12,90,15,12,18,92,8,13,7,90,58,20,10,16,60,10,17,92,12,23,8,13,7,58,58,17,9,21,60,10,90,16,10,(...TRUNCATED) | [-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100,-100(...TRUNCATED) | [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1(...TRUNCATED) | "( 5 - { 0 - 3 } ) . ( { [ 5 + 1 ] + 2 } - 8 ) . ( [ [ 2 * 6 ] + { 1 + 7 } ] - { ( 6 * 4 ) + { 1 * 9(...TRUNCATED) | "( 5 - { 0 - 3 } ) . ( { [ 5 + 1 ] + 2 } - 8 ) . ( [ [ 2 * 6 ] + { 1 + 7 } ] - { ( 6 * 4 ) + { 1 * 9(...TRUNCATED) | Q eval | 8 | 1,024 | 3.321928 | 1,013 | 1,022 | 1,023 | 9 | "{\"glued\": \"(5-{0-3})\", \"max_depth\": 3, \"n_internal\": 2, \"n_items\": 4, \"root_value\": 8, (...TRUNCATED) |
CogitoProbe-Arith: nested arithmetic with mixed brackets
Synthetic nested + - * expressions with mixed brackets ()[]{}. Three question types: the final number (eval, an easy shortcut), internal-node values (subexpr, the real test), and which closer matches an opener (match). Use it to test whether a model stored the tree, not just a calculator.
Author: Krzysztof Sopyła · License: Apache-2.0 · Seed: 20260916 · Tokenizer: HuggingFaceTB/SmolLM3-3B
In 60 seconds
Several independent expressions are written up front, then filler, then a question about the first (farthest) expression.
task |
What it asks | Treat as |
|---|---|---|
eval |
Q eval → the root number |
Control only. One integer; a calculator shortcut. |
subexpr |
Q sub 0 . 2 . → values of internal nodes |
Primary. Needs the expression tree. |
match |
Q match <opener-index> → matching closer index |
Primary. Bracket matching, not arithmetic. |
Mixed ()[]{} do not change the numeric value. They colour the brackets so matching is a real question. Do not report eval accuracy as “the model understands arithmetic.”
Load it
from datasets import load_dataset
ds = load_dataset("ksopyla/cogito-probe-arith")
row = ds["validation"][0]
print(row["seq_len"], row["task"], row["variant"])
print("query: ", row["query"])
print("answer:", row["answer"])
print("prize bits:", row["prize_bits"], "gap:", row["gap"])
# Loss only on the answer span (already marked).
# input_ids / labels are lists of int, length == seq_len.
loss_tokens = [t for t in row["labels"] if t != -100]
# Start small on a laptop: 1,024-token rows, fixed fact count.
small = ds.filter(lambda r: r["seq_len"] == 1024 and r["variant"] == "fixed")
You can ignore input_ids and train from context / query / answer as text.
If you do use the provided ids, they are already tokenized for
HuggingFaceTB/SmolLM3-3B (Llama-3 vocab) and must not be re-tokenized.
The four CogitoProbe datasets
| Dataset | Job in one line | Typical use |
|---|---|---|
ksopyla/cogito-probe-bits |
Recall values for keys buried in a haystack | Memory / retrieval / compression capacity |
ksopyla/cogito-probe-bind |
Who has which colour, who lives where, friend's city | Compositional binding vs bag-of-words |
ksopyla/cogito-probe-arith |
Nested arithmetic + bracket matching | Did it store the expression tree? |
ksopyla/cogito-probe-props |
Object colours amid fluent filler | Facts vs padding statistics |
Length ladder (every family): 1024 → 4096 → 8192 → 16384 → 32768.
Half the rows are fixed (same fact count as at 1k, longer haystack), half are
scaled (more facts as the row grows).
Why these exist
Web text is locally predictable: a language model can look strong by guessing nearby words without remembering a fact from thousands of tokens earlier. These four datasets hide a known set of facts in a long padded haystack so you can measure whether a model (or a small latent memory) actually stored them.
Each row tells you how many bits the answer is worth (prize_bits) and how far
the question sits from the last fact (gap). That is the whole point: the
information content is labelled, the distractor text is not the prize, and the
length is a ladder rather than a single context size.
Real rows use random single-token English-ish pieces from the Llama-3 /
SmolLM3 vocabulary (gonzalez, oslo, validators, …), not the toy names
alice / bob in the examples above. The grammar of the task is the same.
How to score
Train or evaluate only on the answer span. Teacher-forced token accuracy on
labels != -100 is the main number. Recovered bits against the labelled prize:
max(0, prize_bits + Σ log2 p(gold_t))
A decoder that cannot see tokens more than gap away must sit at chance — the
evidence is that far from the answer.
Score subexpr and match as the real tasks. Score eval only as a shortcut control (~one integer). If only eval moves, the model is a calculator, not a structure memory. Digit strings are space-separated (3 9 for 39, - 7 for −7).
Schema
| column | meaning |
|---|---|
text / context / query / answer |
Readable surfaces. text is the full padded row. |
input_ids, attention_mask, labels |
Ready for causal LM training. labels is -100 everywhere except the answer. |
seq_len, rung |
Padded length: 1024, 4096, 8192, 16384, or 32768. |
variant |
fixed = same number of facts as at 1k, longer haystack. scaled = more facts as the row gets longer. |
task |
Question type inside this family (see above). |
prize_bits |
Known information content of the gold answer (combinatorial lower bound). |
gap |
Tokens from the last evidence token to the start of the answer. |
answer_start / answer_end / evidence_end |
Character-free token indices into input_ids. |
meta |
JSON string: fact table, fingerprints, node values. |
This build
| split | rows |
|---|---|
train |
8448 |
validation |
896 |
test |
896 |
| metric | value |
|---|---|
| total rows | 10240 |
| token length (all padded) | min 1024 / p50 4096.0 / max 32768 |
| mean prize bits | 12.914 (min 3.322, max 30.546) |
| mean gzip ratio (text) | 0.026 (n=160 stratified sample) |
| mean gzip ratio (int32 ids) | 0.037 |
| mean unigram entropy (bits) | 6.184 |
| mean bigram entropy (bits) | 6.286 |
| answer entropy (bits) | 8.604 over 2612 strings |
| tasks | {'eval': 2037, 'subexpr': 5175, 'match': 3028} |
| variants | {'scaled': 5120, 'fixed': 5120} |
| rungs | {'seq1024': 4608, 'seq4096': 2560, 'seq8192': 1280, 'seq16384': 1024, 'seq32768': 768} |
Per-rung means:
| seq_len | n | mean prize bits | mean gap | mean gzip(text) |
|---|---|---|---|---|
| 1024 | 4608 | 11.576 | 1001.9 | 0.068 |
| 4096 | 2560 | 12.086 | 4074.2 | 0.023 |
| 8192 | 1280 | 15.548 | 8168.9 | 0.016 |
| 16384 | 1024 | 15.303 | 16360.7 | 0.012 |
| 32768 | 768 | 16.129 | 32744.7 | 0.010 |
Example rows (truncated):
arith/seq1024/scaled/train/00000task=evalprize=6.64 bits gap=1004 query=Q evalanswer=3 9arith/seq1024/scaled/train/00001task=subexprprize=15.27 bits gap=1005 query=Q sub 2 . 1 .answer=1 8 . 1 4arith/seq1024/scaled/train/00002task=subexprprize=15.27 bits gap=988 query=Q sub 5 . 2 .answer=- 1 . - 1 2
Split leakage
| pair | fingerprint overlap | input_ids overlap | text overlap | answer-string overlap |
|---|---|---|---|---|
| train∩validation | 0 | 0 | 0 | 248 |
| train∩test | 0 | 0 | 0 | 245 |
| validation∩test | 0 | 0 | 0 | 95 |
Within-split duplicate input_ids counts: {'train': 0, 'validation': 0, 'test': 0}.
Train / validation / test use disjoint random streams. A fingerprint of the facts is checked for overlap. Shared answer strings (for example the same 8 colours) are expected and are not a leak.
Rebuild
Deterministic rebuild (does not upload):
uv run python scripts/build_concept_probe_datasets.py \
--scale full --seed 20260916 \
--tokenizer HuggingFaceTB/SmolLM3-3B \
--families arith \
--out_dir Cache/concept_probes/full
Ids are composed from a verified 1-token atom table of HuggingFaceTB/SmolLM3-3B.
Arithmetic rows inject bare digit and bracket ids; they do not BPE-encode a
glued string such as (1+2)*[3-4] (that merge path is not a well-defined alphabet).
Limitations
- Not natural language. Atoms are verified 1-token pieces of the SmolLM3 / Llama-3 vocab, chosen so each symbol is one id. Do not treat this as a human corpus.
- Answers are packed (several values in one span). Single-token labels are too sparse for a small latent channel to learn from.
prize_bitsis a counting lower bound on the answer, not a cross-entropy floor of a local language-model window.- Arithmetic mixed brackets colour the tree; they do not change
+ - *meaning.eval-only accuracy is not evidence of rich structure. - Rows are padded with a repeating filler cycle, so gzip of the full
textlooks tiny. Compareprize_bits, not compressibility of the padded row.
Origin
These files were built for a research project on compressing long context into a small set of latent vectors (“concepts”), so the author could ask what those vectors actually store. You do not need that project, its training code, or its internal experiment log to use the datasets.
Project page: ai.ksopyla.com ·
author: Krzysztof Sopyła.
Generator: data/concept_probes/ in the public research repo (MIT).
License
Apache-2.0 for this synthetic dataset. No web scrapes, no personal data. Generator code is MIT.
Citation
@misc{cogitoprobe2026,
title = {CogitoProbe: synthetic long-haystack probes for memory and compression},
author = {Sopyła, Krzysztof},
year = {2026},
url = {https://huggingface.co/datasets/ksopyla/cogito-probe-arith},
note = {Seed 20260916. Four families: bits, bind, arith, props.},
}
- Downloads last month
- 80