flavianv commited on
Commit
35172d9
·
verified ·
1 Parent(s): 4c53fc2

Publish verified AbstractGym checkpoints and model cards

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. LICENSE +21 -0
  2. README.md +64 -0
  3. direct/seed-0/config.json +36 -0
  4. direct/seed-0/conversion_verification.json +12 -0
  5. direct/seed-0/model.safetensors +3 -0
  6. direct/seed-0/results.json +8 -0
  7. direct/seed-0/training.json +63 -0
  8. direct/seed-1/config.json +36 -0
  9. direct/seed-1/conversion_verification.json +12 -0
  10. direct/seed-1/model.safetensors +3 -0
  11. direct/seed-1/results.json +8 -0
  12. direct/seed-1/training.json +63 -0
  13. direct/seed-2/config.json +36 -0
  14. direct/seed-2/conversion_verification.json +12 -0
  15. direct/seed-2/model.safetensors +3 -0
  16. direct/seed-2/results.json +8 -0
  17. direct/seed-2/training.json +63 -0
  18. manifest.json +250 -0
  19. raw-step/seed-0/config.json +132 -0
  20. raw-step/seed-0/conversion_verification.json +13 -0
  21. raw-step/seed-0/model.safetensors +3 -0
  22. raw-step/seed-0/results.json +283 -0
  23. raw-step/seed-0/training.json +148 -0
  24. raw-step/seed-1/config.json +132 -0
  25. raw-step/seed-1/conversion_verification.json +13 -0
  26. raw-step/seed-1/model.safetensors +3 -0
  27. raw-step/seed-1/results.json +283 -0
  28. raw-step/seed-1/training.json +148 -0
  29. raw-step/seed-2/config.json +132 -0
  30. raw-step/seed-2/conversion_verification.json +13 -0
  31. raw-step/seed-2/model.safetensors +3 -0
  32. raw-step/seed-2/results.json +283 -0
  33. raw-step/seed-2/training.json +148 -0
  34. step/seed-0/config.json +36 -0
  35. step/seed-0/conversion_verification.json +14 -0
  36. step/seed-0/model.safetensors +3 -0
  37. step/seed-0/results.json +291 -0
  38. step/seed-0/training.json +63 -0
  39. step/seed-1/config.json +36 -0
  40. step/seed-1/conversion_verification.json +14 -0
  41. step/seed-1/model.safetensors +3 -0
  42. step/seed-1/results.json +291 -0
  43. step/seed-1/training.json +63 -0
  44. step/seed-2/config.json +36 -0
  45. step/seed-2/conversion_verification.json +14 -0
  46. step/seed-2/model.safetensors +3 -0
  47. step/seed-2/results.json +291 -0
  48. step/seed-2/training.json +63 -0
  49. trace/seed-0/config.json +39 -0
  50. trace/seed-0/conversion_verification.json +14 -0
LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2026 AbstractGym contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language: en
4
+ library_name: pytorch
5
+ tags:
6
+ - abstractgym
7
+ - research
8
+ - transformers
9
+ ---
10
+
11
+ # AbstractGym tiny controllers
12
+
13
+ Twelve independently trained small Transformers: role-mapped step and direct-answer controls (A6), a separate role-mapped full-trace model (X4), and a raw-symbol step ablation (X6). Seeds 0, 1, 2 for each family. These are full model weights, not adapters. Each folder has model.safetensors, config.json, training.json, results.json, and a conversion verification record.
14
+
15
+ ## Input representation and split
16
+
17
+ The step, direct, and trace controllers receive symbols already mapped to roles. The harness supplies this abstraction; perfect step execution does not demonstrate learned raw-symbol binding. **Exception: raw-step (X6)** receives printable raw-symbol IDs and a supplied symbol map; it was explicitly designed to remove role preprocessing.
18
+
19
+ A6 development uses 367 trajectories on uvwxy, depths 0–4. Step training deduplicates the prefix states to 36 role observations; direct training uses all 367 membership examples with balanced label sampling. Trace training uses the same development trajectories with balanced membership sampling. Raw-step trains on the 36 raw observations of the development symbol map. The original held-out set has 92 cases across two different alphabets at depths 0/1/2/3/4/8/16. Step models also have 32 extra cases at depths 32/64 and an exhaustive 36-state check. Raw-step evaluates 108 states across the three supplied maps.
20
+
21
+ ## Architecture and optimization
22
+
23
+ All: two Transformer layers, width 64, four heads, feed-forward width 128, GELU, dropout zero, pre-norm, sinusoidal positions (maximum 256), FP32. Step/direct use bidirectional attention and CLS classification; trace/raw-step use causal attention and autoregressive outputs. AdamW LR .001, weight decay .01, clipping 1, cosine decay to 1e-5. Step: 800 full-batch updates on 36 states. Direct/trace: 1,500 updates, balanced batch 64. Raw-step: 800 full-batch updates on 36 states. Exact per-seed metadata and vocabularies are supplied.
24
+
25
+ ## Exact held-out results
26
+
27
+ | Family | Seed | Correct / cases |
28
+ | --- | --- | --- |
29
+ | step | 0 | 92/92 |
30
+ | step | 1 | 92/92 |
31
+ | step | 2 | 92/92 |
32
+ | direct | 0 | 76/92 |
33
+ | direct | 1 | 80/92 |
34
+ | direct | 2 | 76/92 |
35
+ | trace | 0 | 60/92 |
36
+ | trace | 1 | 60/92 |
37
+ | trace | 2 | 60/92 |
38
+ | raw-step | 0 | 0/92 |
39
+ | raw-step | 1 | 0/92 |
40
+ | raw-step | 2 | 0/92 |
41
+
42
+ Step/raw-step scores require complete live execution; direct scores are binary membership; trace scores require the entire generated action sequence. These are different tasks and interfaces. All failures remain in the denominator. Results are copied from `docs/results/2026-10-03-a6`, X4 metadata, and `docs/results/2026-10-04-x6`. Detailed auxiliary results remain in each folder.
43
+
44
+ ## Conversion and loading
45
+
46
+ Original local state dictionaries were checked against each run’s frozen.json, the tiny runs’ original checkpoint hash manifest. Tensor values remain bitwise identical after safetensors serialization. Reloading into the original architecture reproduced every saved evaluation prediction, including teacher-forced trace outputs, corrupted-history continuations, exhaustive states, and extra-depth step trajectories. No training or evaluation selection was performed during conversion. See conversion_verification.json for exact counts and hashes.
47
+
48
+ Clone [the public code on main](https://github.com/flavianv/abstractgym-public/tree/main), install PyTorch and safetensors, and set `PYTHONPATH=src:scripts`:
49
+
50
+ ```python
51
+ from huggingface_hub import hf_hub_download
52
+ from safetensors.torch import load_file
53
+ from abstractgym.a6_model import TinyTransformer
54
+ path = hf_hub_download("flavianv/abstractgym-tiny-controllers", "step/seed-0/model.safetensors")
55
+ model = TinyTransformer()
56
+ model.load_state_dict(load_file(path), strict=True)
57
+ model.eval()
58
+ ```
59
+
60
+ For direct use `TinyTransformer(outputs=2)`; for trace import `TraceTransformer` from `run_a6_tiny_trace`; for raw-step import `RawTransformer` from `run_a6_x6`. Use the matching encoder and vocabulary recorded in config.json and implemented in the public source. These are custom PyTorch models, not root-level AutoModel checkpoints.
61
+
62
+ ## Limitations and license
63
+
64
+ Three seeds per family. The role-mapped models depend on privileged preprocessing, and the raw-symbol ablation does not transfer reliably. Synthetic finite tests, bounded positions, and an external state machine do not prove general computation. MIT license. No pickle files or optimizer states are published. Code: [flavianv/abstractgym-public, main](https://github.com/flavianv/abstractgym-public/tree/main).
direct/seed-0/config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "actions": [
3
+ "PUSH_0",
4
+ "PUSH_1",
5
+ "CENTER",
6
+ "POP",
7
+ "ACCEPT",
8
+ "REJECT"
9
+ ],
10
+ "code_branch": "main",
11
+ "dropout": 0,
12
+ "dtype": "float32",
13
+ "family": "direct",
14
+ "feedforward": 128,
15
+ "heads": 4,
16
+ "layers": 2,
17
+ "model_class": "abstractgym.a6_model.TinyTransformer",
18
+ "outputs": 2,
19
+ "position_limit": 256,
20
+ "seed": 0,
21
+ "vocabulary": [
22
+ "PAD",
23
+ "CLS",
24
+ "opening",
25
+ "closing",
26
+ "OPEN_0",
27
+ "OPEN_1",
28
+ "CLOSE_0",
29
+ "CLOSE_1",
30
+ "CENTER",
31
+ "END",
32
+ "EMPTY",
33
+ "DIRECT"
34
+ ],
35
+ "width": 64
36
+ }
direct/seed-0/conversion_verification.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "all_tensors_bitwise_equal": true,
3
+ "family": "direct",
4
+ "published_sha256": "387fc671b5ee2669d371f3f10094fba55c8c5f7e31d027065d2c8dcc977c455a",
5
+ "saved_predictions_reproduced": {
6
+ "held_out": 92
7
+ },
8
+ "seed": 0,
9
+ "source_hash_manifest": "frozen.json",
10
+ "source_sha256": "39bf28b49785115db3ca0b58a584230aff6db09361ee79619ba6e7fca8bcb8cd",
11
+ "torch_version": "2.14.1"
12
+ }
direct/seed-0/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:387fc671b5ee2669d371f3f10094fba55c8c5f7e31d027065d2c8dcc977c455a
3
+ size 340216
direct/seed-0/results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "direct_answer": [
3
+ 76,
4
+ 92
5
+ ],
6
+ "direct_answer_model": "separate matched architecture; end-to-end development-label training",
7
+ "seed": 0
8
+ }
direct/seed-0/training.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "plan": {
3
+ "architecture": {
4
+ "attention": "bidirectional encoder, CLS readout",
5
+ "dropout": 0,
6
+ "feedforward": 128,
7
+ "heads": 4,
8
+ "layers": 2,
9
+ "position": "fixed sinusoidal",
10
+ "width": 64
11
+ },
12
+ "device": "cpu",
13
+ "dtype": "float32",
14
+ "git_revision": "39bca8d1f7dd0324010f76d6eb44a68ea719d572",
15
+ "hardware": "arm",
16
+ "optimizer": {
17
+ "clip_norm": 1.0,
18
+ "lr": 0.001,
19
+ "name": "AdamW",
20
+ "schedule": "cosine to 1e-5",
21
+ "weight_decay": 0.01
22
+ },
23
+ "packages": {
24
+ "torch": "2.14.1"
25
+ },
26
+ "platform": "macOS-26.7-arm64-arm-64bit",
27
+ "python": "3.12.13",
28
+ "seeds": [
29
+ 0,
30
+ 1,
31
+ 2
32
+ ],
33
+ "source_sha256": {
34
+ "scripts/run_a6_tiny.py": "62a632c65003a10c5f35b1a586f7a62cfae3605db0c39d9ae48914367ea7aa1e",
35
+ "src/abstractgym/a6.py": "975b3d76fc9503e11e8f0ad8c57aa27162250298d4316d949145e6df80dbbfe2",
36
+ "src/abstractgym/a6_model.py": "d13c0b913ba39cd3c8371147d2495b185c24d8d15225cd68bc11e1aa2ebd72f7",
37
+ "src/abstractgym/brackets.py": "9fa8b835c0aac8fa26177b032f1fc07e1bb0964f7ec01fd0f83ad11b74e0550f"
38
+ },
39
+ "threads": 2,
40
+ "training": {
41
+ "deduplicated_step_examples": 36,
42
+ "direct_examples": 367,
43
+ "direct_positive": 31,
44
+ "direct_sampling": "balanced labels, replacement; separate matched model",
45
+ "max_depth": 4,
46
+ "raw_step_examples": 2305,
47
+ "symbols": "uvwxy",
48
+ "trajectories": 367
49
+ },
50
+ "training_hash": "8fa8728efdda11e741e8ec16c2e0267cf0fd321e849119caea177055d15e5df0"
51
+ },
52
+ "training": {
53
+ "batch_size": 64,
54
+ "final_loss": 0.005661265458911657,
55
+ "parameters": 67970,
56
+ "seconds": 5.530814791000012,
57
+ "steps": 1500,
58
+ "train_accuracy": [
59
+ 366,
60
+ 367
61
+ ]
62
+ }
63
+ }
direct/seed-1/config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "actions": [
3
+ "PUSH_0",
4
+ "PUSH_1",
5
+ "CENTER",
6
+ "POP",
7
+ "ACCEPT",
8
+ "REJECT"
9
+ ],
10
+ "code_branch": "main",
11
+ "dropout": 0,
12
+ "dtype": "float32",
13
+ "family": "direct",
14
+ "feedforward": 128,
15
+ "heads": 4,
16
+ "layers": 2,
17
+ "model_class": "abstractgym.a6_model.TinyTransformer",
18
+ "outputs": 2,
19
+ "position_limit": 256,
20
+ "seed": 1,
21
+ "vocabulary": [
22
+ "PAD",
23
+ "CLS",
24
+ "opening",
25
+ "closing",
26
+ "OPEN_0",
27
+ "OPEN_1",
28
+ "CLOSE_0",
29
+ "CLOSE_1",
30
+ "CENTER",
31
+ "END",
32
+ "EMPTY",
33
+ "DIRECT"
34
+ ],
35
+ "width": 64
36
+ }
direct/seed-1/conversion_verification.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "all_tensors_bitwise_equal": true,
3
+ "family": "direct",
4
+ "published_sha256": "540f302b732386c378e521a5ff110a28fd056686ba65d23416cf0031017a54ae",
5
+ "saved_predictions_reproduced": {
6
+ "held_out": 92
7
+ },
8
+ "seed": 1,
9
+ "source_hash_manifest": "frozen.json",
10
+ "source_sha256": "07445f6621896c71053a5e64ba61b78c430954a840575bba113e7aeaef462a43",
11
+ "torch_version": "2.14.1"
12
+ }
direct/seed-1/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:540f302b732386c378e521a5ff110a28fd056686ba65d23416cf0031017a54ae
3
+ size 340216
direct/seed-1/results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "direct_answer": [
3
+ 80,
4
+ 92
5
+ ],
6
+ "direct_answer_model": "separate matched architecture; end-to-end development-label training",
7
+ "seed": 1
8
+ }
direct/seed-1/training.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "plan": {
3
+ "architecture": {
4
+ "attention": "bidirectional encoder, CLS readout",
5
+ "dropout": 0,
6
+ "feedforward": 128,
7
+ "heads": 4,
8
+ "layers": 2,
9
+ "position": "fixed sinusoidal",
10
+ "width": 64
11
+ },
12
+ "device": "cpu",
13
+ "dtype": "float32",
14
+ "git_revision": "39bca8d1f7dd0324010f76d6eb44a68ea719d572",
15
+ "hardware": "arm",
16
+ "optimizer": {
17
+ "clip_norm": 1.0,
18
+ "lr": 0.001,
19
+ "name": "AdamW",
20
+ "schedule": "cosine to 1e-5",
21
+ "weight_decay": 0.01
22
+ },
23
+ "packages": {
24
+ "torch": "2.14.1"
25
+ },
26
+ "platform": "macOS-26.7-arm64-arm-64bit",
27
+ "python": "3.12.13",
28
+ "seeds": [
29
+ 0,
30
+ 1,
31
+ 2
32
+ ],
33
+ "source_sha256": {
34
+ "scripts/run_a6_tiny.py": "62a632c65003a10c5f35b1a586f7a62cfae3605db0c39d9ae48914367ea7aa1e",
35
+ "src/abstractgym/a6.py": "975b3d76fc9503e11e8f0ad8c57aa27162250298d4316d949145e6df80dbbfe2",
36
+ "src/abstractgym/a6_model.py": "d13c0b913ba39cd3c8371147d2495b185c24d8d15225cd68bc11e1aa2ebd72f7",
37
+ "src/abstractgym/brackets.py": "9fa8b835c0aac8fa26177b032f1fc07e1bb0964f7ec01fd0f83ad11b74e0550f"
38
+ },
39
+ "threads": 2,
40
+ "training": {
41
+ "deduplicated_step_examples": 36,
42
+ "direct_examples": 367,
43
+ "direct_positive": 31,
44
+ "direct_sampling": "balanced labels, replacement; separate matched model",
45
+ "max_depth": 4,
46
+ "raw_step_examples": 2305,
47
+ "symbols": "uvwxy",
48
+ "trajectories": 367
49
+ },
50
+ "training_hash": "8fa8728efdda11e741e8ec16c2e0267cf0fd321e849119caea177055d15e5df0"
51
+ },
52
+ "training": {
53
+ "batch_size": 64,
54
+ "final_loss": 0.00023508977028541267,
55
+ "parameters": 67970,
56
+ "seconds": 5.903513042001578,
57
+ "steps": 1500,
58
+ "train_accuracy": [
59
+ 367,
60
+ 367
61
+ ]
62
+ }
63
+ }
direct/seed-2/config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "actions": [
3
+ "PUSH_0",
4
+ "PUSH_1",
5
+ "CENTER",
6
+ "POP",
7
+ "ACCEPT",
8
+ "REJECT"
9
+ ],
10
+ "code_branch": "main",
11
+ "dropout": 0,
12
+ "dtype": "float32",
13
+ "family": "direct",
14
+ "feedforward": 128,
15
+ "heads": 4,
16
+ "layers": 2,
17
+ "model_class": "abstractgym.a6_model.TinyTransformer",
18
+ "outputs": 2,
19
+ "position_limit": 256,
20
+ "seed": 2,
21
+ "vocabulary": [
22
+ "PAD",
23
+ "CLS",
24
+ "opening",
25
+ "closing",
26
+ "OPEN_0",
27
+ "OPEN_1",
28
+ "CLOSE_0",
29
+ "CLOSE_1",
30
+ "CENTER",
31
+ "END",
32
+ "EMPTY",
33
+ "DIRECT"
34
+ ],
35
+ "width": 64
36
+ }
direct/seed-2/conversion_verification.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "all_tensors_bitwise_equal": true,
3
+ "family": "direct",
4
+ "published_sha256": "cf8c716286a9d5abc063a423e3c44c379e1b7e132b28108a6a51a683c0e6ae3f",
5
+ "saved_predictions_reproduced": {
6
+ "held_out": 92
7
+ },
8
+ "seed": 2,
9
+ "source_hash_manifest": "frozen.json",
10
+ "source_sha256": "5e14beeb2d5e742967d56c86677e37a4b0b8d2a1097d3c1d50f78d71fe29a782",
11
+ "torch_version": "2.14.1"
12
+ }
direct/seed-2/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf8c716286a9d5abc063a423e3c44c379e1b7e132b28108a6a51a683c0e6ae3f
3
+ size 340216
direct/seed-2/results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "direct_answer": [
3
+ 76,
4
+ 92
5
+ ],
6
+ "direct_answer_model": "separate matched architecture; end-to-end development-label training",
7
+ "seed": 2
8
+ }
direct/seed-2/training.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "plan": {
3
+ "architecture": {
4
+ "attention": "bidirectional encoder, CLS readout",
5
+ "dropout": 0,
6
+ "feedforward": 128,
7
+ "heads": 4,
8
+ "layers": 2,
9
+ "position": "fixed sinusoidal",
10
+ "width": 64
11
+ },
12
+ "device": "cpu",
13
+ "dtype": "float32",
14
+ "git_revision": "39bca8d1f7dd0324010f76d6eb44a68ea719d572",
15
+ "hardware": "arm",
16
+ "optimizer": {
17
+ "clip_norm": 1.0,
18
+ "lr": 0.001,
19
+ "name": "AdamW",
20
+ "schedule": "cosine to 1e-5",
21
+ "weight_decay": 0.01
22
+ },
23
+ "packages": {
24
+ "torch": "2.14.1"
25
+ },
26
+ "platform": "macOS-26.7-arm64-arm-64bit",
27
+ "python": "3.12.13",
28
+ "seeds": [
29
+ 0,
30
+ 1,
31
+ 2
32
+ ],
33
+ "source_sha256": {
34
+ "scripts/run_a6_tiny.py": "62a632c65003a10c5f35b1a586f7a62cfae3605db0c39d9ae48914367ea7aa1e",
35
+ "src/abstractgym/a6.py": "975b3d76fc9503e11e8f0ad8c57aa27162250298d4316d949145e6df80dbbfe2",
36
+ "src/abstractgym/a6_model.py": "d13c0b913ba39cd3c8371147d2495b185c24d8d15225cd68bc11e1aa2ebd72f7",
37
+ "src/abstractgym/brackets.py": "9fa8b835c0aac8fa26177b032f1fc07e1bb0964f7ec01fd0f83ad11b74e0550f"
38
+ },
39
+ "threads": 2,
40
+ "training": {
41
+ "deduplicated_step_examples": 36,
42
+ "direct_examples": 367,
43
+ "direct_positive": 31,
44
+ "direct_sampling": "balanced labels, replacement; separate matched model",
45
+ "max_depth": 4,
46
+ "raw_step_examples": 2305,
47
+ "symbols": "uvwxy",
48
+ "trajectories": 367
49
+ },
50
+ "training_hash": "8fa8728efdda11e741e8ec16c2e0267cf0fd321e849119caea177055d15e5df0"
51
+ },
52
+ "training": {
53
+ "batch_size": 64,
54
+ "final_loss": 0.00016993776080198586,
55
+ "parameters": 67970,
56
+ "seconds": 5.7849729169975035,
57
+ "steps": 1500,
58
+ "train_accuracy": [
59
+ 367,
60
+ 367
61
+ ]
62
+ }
63
+ }
manifest.json ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "LICENSE": {
3
+ "bytes": 1081,
4
+ "sha256": "36a8634aa63459be88ffbc508c73cb06fa8cfb8d050db23f0e7fd01f55ec3abb"
5
+ },
6
+ "README.md": {
7
+ "bytes": 4658,
8
+ "sha256": "20853e0339b311e29032cf8a620e511c2b81f00344853f5790c2df0fa2694dfe"
9
+ },
10
+ "direct/seed-0/config.json": {
11
+ "bytes": 549,
12
+ "sha256": "dcba247b7ba2d2b0c8772e9b4361c83953393915a1b865380f85f07ff872c06e"
13
+ },
14
+ "direct/seed-0/conversion_verification.json": {
15
+ "bytes": 382,
16
+ "sha256": "cf10ca3f07575269d0ead4ae48cf2c5616de439aea32ae3e7df21976d1a608ab"
17
+ },
18
+ "direct/seed-0/model.safetensors": {
19
+ "bytes": 340216,
20
+ "sha256": "387fc671b5ee2669d371f3f10094fba55c8c5f7e31d027065d2c8dcc977c455a"
21
+ },
22
+ "direct/seed-0/results.json": {
23
+ "bytes": 154,
24
+ "sha256": "69d311d44e0b33220d53b6c0ca918f90a190a97d49d7f5204380cb965475b8e8"
25
+ },
26
+ "direct/seed-0/training.json": {
27
+ "bytes": 1768,
28
+ "sha256": "7c77c85e0c32ad147ac294df837d014eba5ea70d590831e8fc908c77449059da"
29
+ },
30
+ "direct/seed-1/config.json": {
31
+ "bytes": 549,
32
+ "sha256": "53a9951238e89616cd290e76fe18284c34fe93f327030686a5df15893d871bcc"
33
+ },
34
+ "direct/seed-1/conversion_verification.json": {
35
+ "bytes": 382,
36
+ "sha256": "81d3787bc5f7b1b724202ba2df40ebc62edbd9dcb73a4c146b394b6c3150e46d"
37
+ },
38
+ "direct/seed-1/model.safetensors": {
39
+ "bytes": 340216,
40
+ "sha256": "540f302b732386c378e521a5ff110a28fd056686ba65d23416cf0031017a54ae"
41
+ },
42
+ "direct/seed-1/results.json": {
43
+ "bytes": 154,
44
+ "sha256": "a4824c54db8b4f93cf0d23db2ef813758dc7d60780a02f0b53b5223f86e6124b"
45
+ },
46
+ "direct/seed-1/training.json": {
47
+ "bytes": 1770,
48
+ "sha256": "c0a1329d04e5ecabdd4d773ed8dca3ffb2f24d0a15880bd16ea2aab3dc58534c"
49
+ },
50
+ "direct/seed-2/config.json": {
51
+ "bytes": 549,
52
+ "sha256": "33844a3e45bf7b19f265ba2d94752c0abf06dfbf174ef0681eb14cbf5e75dc37"
53
+ },
54
+ "direct/seed-2/conversion_verification.json": {
55
+ "bytes": 382,
56
+ "sha256": "23363eb35375ff6fab17673a2f855ff86c13cf88a611c976c7adf4ed4ac08770"
57
+ },
58
+ "direct/seed-2/model.safetensors": {
59
+ "bytes": 340216,
60
+ "sha256": "cf8c716286a9d5abc063a423e3c44c379e1b7e132b28108a6a51a683c0e6ae3f"
61
+ },
62
+ "direct/seed-2/results.json": {
63
+ "bytes": 154,
64
+ "sha256": "6603ce84ea30162446f5d7237a689224efc0f5b7bedbfb4555839f776980bb7c"
65
+ },
66
+ "direct/seed-2/training.json": {
67
+ "bytes": 1771,
68
+ "sha256": "da825931beab887b09652975f0b5ca15adc15e2059641870e9335a0b0615d8fa"
69
+ },
70
+ "raw-step/seed-0/config.json": {
71
+ "bytes": 1399,
72
+ "sha256": "8bd04099a71d6ca57d29c38e569ba5aa3ee66b6b648e492cfa2e6c2ad2112d78"
73
+ },
74
+ "raw-step/seed-0/conversion_verification.json": {
75
+ "bytes": 407,
76
+ "sha256": "03a5f3006fbc8c9e0c0c602bc3e251819c7ae49e2f57a19089fd0f36ba10b1ad"
77
+ },
78
+ "raw-step/seed-0/model.safetensors": {
79
+ "bytes": 392360,
80
+ "sha256": "88a2b23e78cbd8ef1c0f09bd9972029827dc9529d49284327b5f83318827f21d"
81
+ },
82
+ "raw-step/seed-0/results.json": {
83
+ "bytes": 4543,
84
+ "sha256": "27921d9996d95393d8cef298e06f2749c0732ae31febc5d09fb7abc33257c98e"
85
+ },
86
+ "raw-step/seed-0/training.json": {
87
+ "bytes": 2480,
88
+ "sha256": "89ac1dfbd738c8f575f00832270ff9bee8ddd8046bf17a2563c6abf628cb7dab"
89
+ },
90
+ "raw-step/seed-1/config.json": {
91
+ "bytes": 1399,
92
+ "sha256": "bb4442cbae671722b0bae353850795bdfb51ea9940a6d875421044e8d9f7a5c9"
93
+ },
94
+ "raw-step/seed-1/conversion_verification.json": {
95
+ "bytes": 407,
96
+ "sha256": "fa2739568210c1fbe541c02c3ede130fbabe093649e4aeaaf32fffb7fae3ba96"
97
+ },
98
+ "raw-step/seed-1/model.safetensors": {
99
+ "bytes": 392360,
100
+ "sha256": "c0d4940618fce954f253a157d7167b27fabd561982dc73d174be29ab02c1278a"
101
+ },
102
+ "raw-step/seed-1/results.json": {
103
+ "bytes": 4543,
104
+ "sha256": "58f3793ed88faa59c31a2a84986b39d69a537fa4306d6c9ddadc02f90ac79ab3"
105
+ },
106
+ "raw-step/seed-1/training.json": {
107
+ "bytes": 2480,
108
+ "sha256": "9559146efcde113032b8d4352e8d8b3118b909bcee7ef95ac2a1c76367733fa9"
109
+ },
110
+ "raw-step/seed-2/config.json": {
111
+ "bytes": 1399,
112
+ "sha256": "890e3426a85bd3a9e6f2c7daf85c04caa81201a2e4947784e01e3fe3f8e6d107"
113
+ },
114
+ "raw-step/seed-2/conversion_verification.json": {
115
+ "bytes": 407,
116
+ "sha256": "ca5d50a980943cf30431fda32ef49507606577dd2c04f252a8512533e996a044"
117
+ },
118
+ "raw-step/seed-2/model.safetensors": {
119
+ "bytes": 392360,
120
+ "sha256": "a96e32f0a540aaf176a0ec8479c3f9b18c9a43fbea392f1049ea028f3f229f87"
121
+ },
122
+ "raw-step/seed-2/results.json": {
123
+ "bytes": 4542,
124
+ "sha256": "b1c01769f6431e6663c7f2876dd4f48278d19cff2df6d18c5186971d452b8f5e"
125
+ },
126
+ "raw-step/seed-2/training.json": {
127
+ "bytes": 2479,
128
+ "sha256": "df4ecadf41931b5c4ea2b40f4a36e64bae0208c1f513b820de4b2e51d2621b07"
129
+ },
130
+ "step/seed-0/config.json": {
131
+ "bytes": 547,
132
+ "sha256": "7eff724be08aeac497e22428c16b4b9819863b566405703e18a734460d69a7c9"
133
+ },
134
+ "step/seed-0/conversion_verification.json": {
135
+ "bytes": 419,
136
+ "sha256": "c42d87c2fd15b8e28b5cd3ec405858c1656b4b77709d6638e3f0fe0ef93cefd0"
137
+ },
138
+ "step/seed-0/model.safetensors": {
139
+ "bytes": 341256,
140
+ "sha256": "baee7f0d12b2a70b1e9604c2d7d9a80554f156a2af111d3966f37cea9f21357f"
141
+ },
142
+ "step/seed-0/results.json": {
143
+ "bytes": 5108,
144
+ "sha256": "d2c1bf14a8b50ae7b2432472e0534d87239f4c67bf2ccadc4ea527e079f98cc3"
145
+ },
146
+ "step/seed-0/training.json": {
147
+ "bytes": 1767,
148
+ "sha256": "cfdbe38e6ab8be1dc283d71e55ee7871bdd90f6aad37db17ff01ac05800b3bb2"
149
+ },
150
+ "step/seed-1/config.json": {
151
+ "bytes": 547,
152
+ "sha256": "cc33223113373fba31603162fd9435927cf54b967ebb3a7a1f1c0cf3c5f2773e"
153
+ },
154
+ "step/seed-1/conversion_verification.json": {
155
+ "bytes": 419,
156
+ "sha256": "f023fd87d2e3e9bf4e848b348a0ff7a931555ea37c32131b76fd7f966103c1f2"
157
+ },
158
+ "step/seed-1/model.safetensors": {
159
+ "bytes": 341256,
160
+ "sha256": "2d25c9513d2378fa151f79d4cb4619a2e0d401f7825bd7b6c5a6c13769b37f5b"
161
+ },
162
+ "step/seed-1/results.json": {
163
+ "bytes": 5107,
164
+ "sha256": "11e1f39bbbae97bb43a3aa607f03de17873ffb36ec461b2d83dc30e71bfe19f1"
165
+ },
166
+ "step/seed-1/training.json": {
167
+ "bytes": 1766,
168
+ "sha256": "e506968b02ba32835f5d89e274b02f68f58a7af38144c475c4e8d5dc7a2777cf"
169
+ },
170
+ "step/seed-2/config.json": {
171
+ "bytes": 547,
172
+ "sha256": "cb49d14caf8bb7abd182df0c8a447322918fcec9126025be81a40a564767bd62"
173
+ },
174
+ "step/seed-2/conversion_verification.json": {
175
+ "bytes": 419,
176
+ "sha256": "267889e561e794217c7be6476aea192c39b9481f4dfccccbee2b10bc72017963"
177
+ },
178
+ "step/seed-2/model.safetensors": {
179
+ "bytes": 341256,
180
+ "sha256": "7a2d655c83a05f98193abb506ab5e7d181d4463fd21a6dbc1934b43cc7abf213"
181
+ },
182
+ "step/seed-2/results.json": {
183
+ "bytes": 5108,
184
+ "sha256": "f69f7d4971418960aa05301e873dca3d05318f8bc4acb86de97f548ffee7f4ef"
185
+ },
186
+ "step/seed-2/training.json": {
187
+ "bytes": 1767,
188
+ "sha256": "d9144554c88c324759c5e9783da13ce97adf40bcc6d39b1e6f95eee4455a9856"
189
+ },
190
+ "trace/seed-0/config.json": {
191
+ "bytes": 579,
192
+ "sha256": "ed06ce0b09a9e153f047818e927ae6f81ec16b0f8339454ed37988e877690a89"
193
+ },
194
+ "trace/seed-0/conversion_verification.json": {
195
+ "bytes": 440,
196
+ "sha256": "00cdf1dc3ca0d73effc171d6645ee875fac173eaf66f26c37e913b829b420f5d"
197
+ },
198
+ "trace/seed-0/model.safetensors": {
199
+ "bytes": 344364,
200
+ "sha256": "e506bfd329fcf518b60b9d904e29045cbb4521a8ee93fce9ab19884654afe35d"
201
+ },
202
+ "trace/seed-0/results.json": {
203
+ "bytes": 1034,
204
+ "sha256": "92b7aa49f9981daf61871a4a5c2274d0fb89999fb43051bb518f4914bcec7c4e"
205
+ },
206
+ "trace/seed-0/training.json": {
207
+ "bytes": 1088,
208
+ "sha256": "76189eed4d919df72f532f1fb70ed012a07b45e515e6d318c0b1be4bc884b4ea"
209
+ },
210
+ "trace/seed-1/config.json": {
211
+ "bytes": 579,
212
+ "sha256": "fd49cb8f7a732f668be343d75a6994d3a19570798f95079d3e20028d24067a23"
213
+ },
214
+ "trace/seed-1/conversion_verification.json": {
215
+ "bytes": 440,
216
+ "sha256": "ce9a4cd3e64a7e4404da34e9dff84126b828d68889c0f8515f99ba70f24bdfbd"
217
+ },
218
+ "trace/seed-1/model.safetensors": {
219
+ "bytes": 344364,
220
+ "sha256": "82b4057ba67f34df95a23f117ded59c80be9c10fbd7d3bf85a5ac36d48dfc299"
221
+ },
222
+ "trace/seed-1/results.json": {
223
+ "bytes": 1034,
224
+ "sha256": "fcd7d53af8393e8b362bf5ad1abc0ace880f04ed67f131463bb51b8a902f7d06"
225
+ },
226
+ "trace/seed-1/training.json": {
227
+ "bytes": 1089,
228
+ "sha256": "3c1554a1e0d23cd63b165468f18fbbdf74ac8eb01738abeca3ebdab2483c10be"
229
+ },
230
+ "trace/seed-2/config.json": {
231
+ "bytes": 579,
232
+ "sha256": "6de2e6f36fb39fad15016276144f0b6682f9dfcd6f1c8067d3a0134aa387ebdf"
233
+ },
234
+ "trace/seed-2/conversion_verification.json": {
235
+ "bytes": 440,
236
+ "sha256": "7bbbd83b9bd1d4f68cf5d40abed77fcfb83944d49a3ea722052134fcc05222ff"
237
+ },
238
+ "trace/seed-2/model.safetensors": {
239
+ "bytes": 344364,
240
+ "sha256": "f51b7be3c5995a693bad0e806a28481f7530533fcff44a52590ba99f2652d041"
241
+ },
242
+ "trace/seed-2/results.json": {
243
+ "bytes": 1034,
244
+ "sha256": "b0e0e1bda3c8a6e08fdee845b23b3d10278f6dfbf5e45551f0e456ac76659094"
245
+ },
246
+ "trace/seed-2/training.json": {
247
+ "bytes": 1089,
248
+ "sha256": "06e6e70d022c540a2f3556cf1e0e75667903fb681c9ac74b9fa5025779def80c"
249
+ }
250
+ }
raw-step/seed-0/config.json ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "actions": [
3
+ "PUSH_0",
4
+ "PUSH_1",
5
+ "CENTER",
6
+ "POP",
7
+ "ACCEPT",
8
+ "REJECT"
9
+ ],
10
+ "code_branch": "main",
11
+ "dropout": 0,
12
+ "dtype": "float32",
13
+ "family": "raw-step",
14
+ "feedforward": 128,
15
+ "heads": 4,
16
+ "layers": 2,
17
+ "model_class": "run_a6_x6.RawTransformer",
18
+ "outputs": 108,
19
+ "position_limit": 256,
20
+ "seed": 0,
21
+ "vocabulary": [
22
+ "PAD",
23
+ "CLS",
24
+ "opening",
25
+ "closing",
26
+ "END",
27
+ "EMPTY",
28
+ "SEP",
29
+ "EOS",
30
+ "PUSH",
31
+ "CENTER",
32
+ "POP",
33
+ "ACCEPT",
34
+ "REJECT",
35
+ " ",
36
+ "!",
37
+ "\"",
38
+ "#",
39
+ "$",
40
+ "%",
41
+ "&",
42
+ "'",
43
+ "(",
44
+ ")",
45
+ "*",
46
+ "+",
47
+ ",",
48
+ "-",
49
+ ".",
50
+ "/",
51
+ "0",
52
+ "1",
53
+ "2",
54
+ "3",
55
+ "4",
56
+ "5",
57
+ "6",
58
+ "7",
59
+ "8",
60
+ "9",
61
+ ":",
62
+ ";",
63
+ "<",
64
+ "=",
65
+ ">",
66
+ "?",
67
+ "@",
68
+ "A",
69
+ "B",
70
+ "C",
71
+ "D",
72
+ "E",
73
+ "F",
74
+ "G",
75
+ "H",
76
+ "I",
77
+ "J",
78
+ "K",
79
+ "L",
80
+ "M",
81
+ "N",
82
+ "O",
83
+ "P",
84
+ "Q",
85
+ "R",
86
+ "S",
87
+ "T",
88
+ "U",
89
+ "V",
90
+ "W",
91
+ "X",
92
+ "Y",
93
+ "Z",
94
+ "[",
95
+ "\\",
96
+ "]",
97
+ "^",
98
+ "_",
99
+ "`",
100
+ "a",
101
+ "b",
102
+ "c",
103
+ "d",
104
+ "e",
105
+ "f",
106
+ "g",
107
+ "h",
108
+ "i",
109
+ "j",
110
+ "k",
111
+ "l",
112
+ "m",
113
+ "n",
114
+ "o",
115
+ "p",
116
+ "q",
117
+ "r",
118
+ "s",
119
+ "t",
120
+ "u",
121
+ "v",
122
+ "w",
123
+ "x",
124
+ "y",
125
+ "z",
126
+ "{",
127
+ "|",
128
+ "}",
129
+ "~"
130
+ ],
131
+ "width": 64
132
+ }
raw-step/seed-0/conversion_verification.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "all_tensors_bitwise_equal": true,
3
+ "family": "raw-step",
4
+ "published_sha256": "88a2b23e78cbd8ef1c0f09bd9972029827dc9529d49284327b5f83318827f21d",
5
+ "saved_predictions_reproduced": {
6
+ "exhaustive": 108,
7
+ "held_out": 92
8
+ },
9
+ "seed": 0,
10
+ "source_hash_manifest": "frozen.json",
11
+ "source_sha256": "95dc9cee6071309f370910fc3ae84c958d4f9656e642f5831b388c76524eab01",
12
+ "torch_version": "2.14.1"
13
+ }
raw-step/seed-0/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88a2b23e78cbd8ef1c0f09bd9972029827dc9529d49284327b5f83318827f21d
3
+ size 392360
raw-step/seed-0/results.json ADDED
@@ -0,0 +1,283 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_accuracy": [
3
+ 0,
4
+ 92
5
+ ],
6
+ "condition": "tiny_raw_autoregressive",
7
+ "exhaustive": {
8
+ "([)]#": [
9
+ 12,
10
+ 36
11
+ ],
12
+ "abcde": [
13
+ 15,
14
+ 36
15
+ ],
16
+ "uvwxy": [
17
+ 36,
18
+ 36
19
+ ]
20
+ },
21
+ "first_error_median": 1.0,
22
+ "held_out": {
23
+ "brackets": {
24
+ "by_depth": {
25
+ "0": [
26
+ 0,
27
+ 2
28
+ ],
29
+ "1": [
30
+ 0,
31
+ 4
32
+ ],
33
+ "16": [
34
+ 0,
35
+ 8
36
+ ],
37
+ "2": [
38
+ 0,
39
+ 8
40
+ ],
41
+ "3": [
42
+ 0,
43
+ 8
44
+ ],
45
+ "4": [
46
+ 0,
47
+ 8
48
+ ],
49
+ "8": [
50
+ 0,
51
+ 8
52
+ ]
53
+ },
54
+ "interpretation": {
55
+ "0": "below label-blind",
56
+ "1": "below label-blind",
57
+ "16": "below label-blind",
58
+ "2": "below label-blind",
59
+ "3": "below label-blind",
60
+ "4": "below label-blind",
61
+ "8": "below label-blind"
62
+ }
63
+ },
64
+ "letters": {
65
+ "by_depth": {
66
+ "0": [
67
+ 0,
68
+ 2
69
+ ],
70
+ "1": [
71
+ 0,
72
+ 4
73
+ ],
74
+ "16": [
75
+ 0,
76
+ 8
77
+ ],
78
+ "2": [
79
+ 0,
80
+ 8
81
+ ],
82
+ "3": [
83
+ 0,
84
+ 8
85
+ ],
86
+ "4": [
87
+ 0,
88
+ 8
89
+ ],
90
+ "8": [
91
+ 0,
92
+ 8
93
+ ]
94
+ },
95
+ "interpretation": {
96
+ "0": "below label-blind",
97
+ "1": "below label-blind",
98
+ "16": "below label-blind",
99
+ "2": "below label-blind",
100
+ "3": "below label-blind",
101
+ "4": "below label-blind",
102
+ "8": "below label-blind"
103
+ }
104
+ },
105
+ "total": [
106
+ 0,
107
+ 92
108
+ ]
109
+ },
110
+ "invalid_action_calls": 0,
111
+ "label_blind": {
112
+ "always_accept": [
113
+ 46,
114
+ 92
115
+ ],
116
+ "always_reject": [
117
+ 46,
118
+ 92
119
+ ],
120
+ "by_cell": {
121
+ "brackets": {
122
+ "0": {
123
+ "always_accept": [
124
+ 1,
125
+ 2
126
+ ],
127
+ "always_reject": [
128
+ 1,
129
+ 2
130
+ ]
131
+ },
132
+ "1": {
133
+ "always_accept": [
134
+ 2,
135
+ 4
136
+ ],
137
+ "always_reject": [
138
+ 2,
139
+ 4
140
+ ]
141
+ },
142
+ "16": {
143
+ "always_accept": [
144
+ 4,
145
+ 8
146
+ ],
147
+ "always_reject": [
148
+ 4,
149
+ 8
150
+ ]
151
+ },
152
+ "2": {
153
+ "always_accept": [
154
+ 4,
155
+ 8
156
+ ],
157
+ "always_reject": [
158
+ 4,
159
+ 8
160
+ ]
161
+ },
162
+ "3": {
163
+ "always_accept": [
164
+ 4,
165
+ 8
166
+ ],
167
+ "always_reject": [
168
+ 4,
169
+ 8
170
+ ]
171
+ },
172
+ "4": {
173
+ "always_accept": [
174
+ 4,
175
+ 8
176
+ ],
177
+ "always_reject": [
178
+ 4,
179
+ 8
180
+ ]
181
+ },
182
+ "8": {
183
+ "always_accept": [
184
+ 4,
185
+ 8
186
+ ],
187
+ "always_reject": [
188
+ 4,
189
+ 8
190
+ ]
191
+ }
192
+ },
193
+ "letters": {
194
+ "0": {
195
+ "always_accept": [
196
+ 1,
197
+ 2
198
+ ],
199
+ "always_reject": [
200
+ 1,
201
+ 2
202
+ ]
203
+ },
204
+ "1": {
205
+ "always_accept": [
206
+ 2,
207
+ 4
208
+ ],
209
+ "always_reject": [
210
+ 2,
211
+ 4
212
+ ]
213
+ },
214
+ "16": {
215
+ "always_accept": [
216
+ 4,
217
+ 8
218
+ ],
219
+ "always_reject": [
220
+ 4,
221
+ 8
222
+ ]
223
+ },
224
+ "2": {
225
+ "always_accept": [
226
+ 4,
227
+ 8
228
+ ],
229
+ "always_reject": [
230
+ 4,
231
+ 8
232
+ ]
233
+ },
234
+ "3": {
235
+ "always_accept": [
236
+ 4,
237
+ 8
238
+ ],
239
+ "always_reject": [
240
+ 4,
241
+ 8
242
+ ]
243
+ },
244
+ "4": {
245
+ "always_accept": [
246
+ 4,
247
+ 8
248
+ ],
249
+ "always_reject": [
250
+ 4,
251
+ 8
252
+ ]
253
+ },
254
+ "8": {
255
+ "always_accept": [
256
+ 4,
257
+ 8
258
+ ],
259
+ "always_reject": [
260
+ 4,
261
+ 8
262
+ ]
263
+ }
264
+ }
265
+ }
266
+ },
267
+ "push_value_errors": 66,
268
+ "seed": 0,
269
+ "training": {
270
+ "loss": 0.0016285243909806013,
271
+ "parameters": 81004,
272
+ "seconds": 2.2738583749996906,
273
+ "seed": 0,
274
+ "train_accuracy": [
275
+ 36,
276
+ 36
277
+ ]
278
+ },
279
+ "usage": {
280
+ "completion_tokens": 0,
281
+ "prompt_tokens": 0
282
+ }
283
+ }
raw-step/seed-0/training.json ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "plan": {
3
+ "architecture": "2-layer width-64 4-head Transformer; causal attention; autoregressive operation/value/EOS",
4
+ "batch": 36,
5
+ "clip": 1,
6
+ "domain": "three fixed supplied maps x 2 phases x 6 current symbols/end x 3 closing-symbol/empty tops",
7
+ "held_out_hash": "d2c7202ea08da83ad5398723a2cc4ce9d3175b7e5f7b84ce40aa529103e0d6e2",
8
+ "lr": 0.001,
9
+ "optimizer": "AdamW",
10
+ "output_limit": 3,
11
+ "prompt_loss_masked": true,
12
+ "schedule": "cosine to 1e-5",
13
+ "seeds": [
14
+ 0,
15
+ 1,
16
+ 2
17
+ ],
18
+ "source_sha256": {
19
+ "scripts/run_a6_x6.py": "b8ce548d5a55069483b46ed89da10f34bb9a3edf976b361069cd4d11692fd685",
20
+ "src/abstractgym/a6_model.py": "d13c0b913ba39cd3c8371147d2495b185c24d8d15225cd68bc11e1aa2ebd72f7",
21
+ "src/abstractgym/a6_raw.py": "df9c2be312f2290939871364baca738ac9a849dca855d049e304a6d0bb74e630"
22
+ },
23
+ "steps": 800,
24
+ "torch": "2.14.1",
25
+ "training_hash": "11d5025e1246025f38e3ea840fd2a065ca73c2751cdf9de5f50005f4be7fa3a7",
26
+ "vocab": [
27
+ "PAD",
28
+ "CLS",
29
+ "opening",
30
+ "closing",
31
+ "END",
32
+ "EMPTY",
33
+ "SEP",
34
+ "EOS",
35
+ "PUSH",
36
+ "CENTER",
37
+ "POP",
38
+ "ACCEPT",
39
+ "REJECT",
40
+ " ",
41
+ "!",
42
+ "\"",
43
+ "#",
44
+ "$",
45
+ "%",
46
+ "&",
47
+ "'",
48
+ "(",
49
+ ")",
50
+ "*",
51
+ "+",
52
+ ",",
53
+ "-",
54
+ ".",
55
+ "<local-path>",
56
+ "0",
57
+ "1",
58
+ "2",
59
+ "3",
60
+ "4",
61
+ "5",
62
+ "6",
63
+ "7",
64
+ "8",
65
+ "9",
66
+ ":",
67
+ ";",
68
+ "<",
69
+ "=",
70
+ ">",
71
+ "?",
72
+ "@",
73
+ "A",
74
+ "B",
75
+ "C",
76
+ "D",
77
+ "E",
78
+ "F",
79
+ "G",
80
+ "H",
81
+ "I",
82
+ "J",
83
+ "K",
84
+ "L",
85
+ "M",
86
+ "N",
87
+ "O",
88
+ "P",
89
+ "Q",
90
+ "R",
91
+ "S",
92
+ "T",
93
+ "U",
94
+ "V",
95
+ "W",
96
+ "X",
97
+ "Y",
98
+ "Z",
99
+ "[",
100
+ "\\",
101
+ "]",
102
+ "^",
103
+ "_",
104
+ "`",
105
+ "a",
106
+ "b",
107
+ "c",
108
+ "d",
109
+ "e",
110
+ "f",
111
+ "g",
112
+ "h",
113
+ "i",
114
+ "j",
115
+ "k",
116
+ "l",
117
+ "m",
118
+ "n",
119
+ "o",
120
+ "p",
121
+ "q",
122
+ "r",
123
+ "s",
124
+ "t",
125
+ "u",
126
+ "v",
127
+ "w",
128
+ "x",
129
+ "y",
130
+ "z",
131
+ "{",
132
+ "|",
133
+ "}",
134
+ "~"
135
+ ],
136
+ "weight_decay": 0.01
137
+ },
138
+ "training": {
139
+ "loss": 0.0016285243909806013,
140
+ "parameters": 81004,
141
+ "seconds": 2.2738583749996906,
142
+ "seed": 0,
143
+ "train_accuracy": [
144
+ 36,
145
+ 36
146
+ ]
147
+ }
148
+ }
raw-step/seed-1/config.json ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "actions": [
3
+ "PUSH_0",
4
+ "PUSH_1",
5
+ "CENTER",
6
+ "POP",
7
+ "ACCEPT",
8
+ "REJECT"
9
+ ],
10
+ "code_branch": "main",
11
+ "dropout": 0,
12
+ "dtype": "float32",
13
+ "family": "raw-step",
14
+ "feedforward": 128,
15
+ "heads": 4,
16
+ "layers": 2,
17
+ "model_class": "run_a6_x6.RawTransformer",
18
+ "outputs": 108,
19
+ "position_limit": 256,
20
+ "seed": 1,
21
+ "vocabulary": [
22
+ "PAD",
23
+ "CLS",
24
+ "opening",
25
+ "closing",
26
+ "END",
27
+ "EMPTY",
28
+ "SEP",
29
+ "EOS",
30
+ "PUSH",
31
+ "CENTER",
32
+ "POP",
33
+ "ACCEPT",
34
+ "REJECT",
35
+ " ",
36
+ "!",
37
+ "\"",
38
+ "#",
39
+ "$",
40
+ "%",
41
+ "&",
42
+ "'",
43
+ "(",
44
+ ")",
45
+ "*",
46
+ "+",
47
+ ",",
48
+ "-",
49
+ ".",
50
+ "/",
51
+ "0",
52
+ "1",
53
+ "2",
54
+ "3",
55
+ "4",
56
+ "5",
57
+ "6",
58
+ "7",
59
+ "8",
60
+ "9",
61
+ ":",
62
+ ";",
63
+ "<",
64
+ "=",
65
+ ">",
66
+ "?",
67
+ "@",
68
+ "A",
69
+ "B",
70
+ "C",
71
+ "D",
72
+ "E",
73
+ "F",
74
+ "G",
75
+ "H",
76
+ "I",
77
+ "J",
78
+ "K",
79
+ "L",
80
+ "M",
81
+ "N",
82
+ "O",
83
+ "P",
84
+ "Q",
85
+ "R",
86
+ "S",
87
+ "T",
88
+ "U",
89
+ "V",
90
+ "W",
91
+ "X",
92
+ "Y",
93
+ "Z",
94
+ "[",
95
+ "\\",
96
+ "]",
97
+ "^",
98
+ "_",
99
+ "`",
100
+ "a",
101
+ "b",
102
+ "c",
103
+ "d",
104
+ "e",
105
+ "f",
106
+ "g",
107
+ "h",
108
+ "i",
109
+ "j",
110
+ "k",
111
+ "l",
112
+ "m",
113
+ "n",
114
+ "o",
115
+ "p",
116
+ "q",
117
+ "r",
118
+ "s",
119
+ "t",
120
+ "u",
121
+ "v",
122
+ "w",
123
+ "x",
124
+ "y",
125
+ "z",
126
+ "{",
127
+ "|",
128
+ "}",
129
+ "~"
130
+ ],
131
+ "width": 64
132
+ }
raw-step/seed-1/conversion_verification.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "all_tensors_bitwise_equal": true,
3
+ "family": "raw-step",
4
+ "published_sha256": "c0d4940618fce954f253a157d7167b27fabd561982dc73d174be29ab02c1278a",
5
+ "saved_predictions_reproduced": {
6
+ "exhaustive": 108,
7
+ "held_out": 92
8
+ },
9
+ "seed": 1,
10
+ "source_hash_manifest": "frozen.json",
11
+ "source_sha256": "7c83c18936b476968f6c373d1bc9a034eb361dd4f96c333222d0f5d9c0aea0f0",
12
+ "torch_version": "2.14.1"
13
+ }
raw-step/seed-1/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0d4940618fce954f253a157d7167b27fabd561982dc73d174be29ab02c1278a
3
+ size 392360
raw-step/seed-1/results.json ADDED
@@ -0,0 +1,283 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_accuracy": [
3
+ 0,
4
+ 92
5
+ ],
6
+ "condition": "tiny_raw_autoregressive",
7
+ "exhaustive": {
8
+ "([)]#": [
9
+ 23,
10
+ 36
11
+ ],
12
+ "abcde": [
13
+ 23,
14
+ 36
15
+ ],
16
+ "uvwxy": [
17
+ 36,
18
+ 36
19
+ ]
20
+ },
21
+ "first_error_median": 1.0,
22
+ "held_out": {
23
+ "brackets": {
24
+ "by_depth": {
25
+ "0": [
26
+ 0,
27
+ 2
28
+ ],
29
+ "1": [
30
+ 0,
31
+ 4
32
+ ],
33
+ "16": [
34
+ 0,
35
+ 8
36
+ ],
37
+ "2": [
38
+ 0,
39
+ 8
40
+ ],
41
+ "3": [
42
+ 0,
43
+ 8
44
+ ],
45
+ "4": [
46
+ 0,
47
+ 8
48
+ ],
49
+ "8": [
50
+ 0,
51
+ 8
52
+ ]
53
+ },
54
+ "interpretation": {
55
+ "0": "below label-blind",
56
+ "1": "below label-blind",
57
+ "16": "below label-blind",
58
+ "2": "below label-blind",
59
+ "3": "below label-blind",
60
+ "4": "below label-blind",
61
+ "8": "below label-blind"
62
+ }
63
+ },
64
+ "letters": {
65
+ "by_depth": {
66
+ "0": [
67
+ 0,
68
+ 2
69
+ ],
70
+ "1": [
71
+ 0,
72
+ 4
73
+ ],
74
+ "16": [
75
+ 0,
76
+ 8
77
+ ],
78
+ "2": [
79
+ 0,
80
+ 8
81
+ ],
82
+ "3": [
83
+ 0,
84
+ 8
85
+ ],
86
+ "4": [
87
+ 0,
88
+ 8
89
+ ],
90
+ "8": [
91
+ 0,
92
+ 8
93
+ ]
94
+ },
95
+ "interpretation": {
96
+ "0": "below label-blind",
97
+ "1": "below label-blind",
98
+ "16": "below label-blind",
99
+ "2": "below label-blind",
100
+ "3": "below label-blind",
101
+ "4": "below label-blind",
102
+ "8": "below label-blind"
103
+ }
104
+ },
105
+ "total": [
106
+ 0,
107
+ 92
108
+ ]
109
+ },
110
+ "invalid_action_calls": 0,
111
+ "label_blind": {
112
+ "always_accept": [
113
+ 46,
114
+ 92
115
+ ],
116
+ "always_reject": [
117
+ 46,
118
+ 92
119
+ ],
120
+ "by_cell": {
121
+ "brackets": {
122
+ "0": {
123
+ "always_accept": [
124
+ 1,
125
+ 2
126
+ ],
127
+ "always_reject": [
128
+ 1,
129
+ 2
130
+ ]
131
+ },
132
+ "1": {
133
+ "always_accept": [
134
+ 2,
135
+ 4
136
+ ],
137
+ "always_reject": [
138
+ 2,
139
+ 4
140
+ ]
141
+ },
142
+ "16": {
143
+ "always_accept": [
144
+ 4,
145
+ 8
146
+ ],
147
+ "always_reject": [
148
+ 4,
149
+ 8
150
+ ]
151
+ },
152
+ "2": {
153
+ "always_accept": [
154
+ 4,
155
+ 8
156
+ ],
157
+ "always_reject": [
158
+ 4,
159
+ 8
160
+ ]
161
+ },
162
+ "3": {
163
+ "always_accept": [
164
+ 4,
165
+ 8
166
+ ],
167
+ "always_reject": [
168
+ 4,
169
+ 8
170
+ ]
171
+ },
172
+ "4": {
173
+ "always_accept": [
174
+ 4,
175
+ 8
176
+ ],
177
+ "always_reject": [
178
+ 4,
179
+ 8
180
+ ]
181
+ },
182
+ "8": {
183
+ "always_accept": [
184
+ 4,
185
+ 8
186
+ ],
187
+ "always_reject": [
188
+ 4,
189
+ 8
190
+ ]
191
+ }
192
+ },
193
+ "letters": {
194
+ "0": {
195
+ "always_accept": [
196
+ 1,
197
+ 2
198
+ ],
199
+ "always_reject": [
200
+ 1,
201
+ 2
202
+ ]
203
+ },
204
+ "1": {
205
+ "always_accept": [
206
+ 2,
207
+ 4
208
+ ],
209
+ "always_reject": [
210
+ 2,
211
+ 4
212
+ ]
213
+ },
214
+ "16": {
215
+ "always_accept": [
216
+ 4,
217
+ 8
218
+ ],
219
+ "always_reject": [
220
+ 4,
221
+ 8
222
+ ]
223
+ },
224
+ "2": {
225
+ "always_accept": [
226
+ 4,
227
+ 8
228
+ ],
229
+ "always_reject": [
230
+ 4,
231
+ 8
232
+ ]
233
+ },
234
+ "3": {
235
+ "always_accept": [
236
+ 4,
237
+ 8
238
+ ],
239
+ "always_reject": [
240
+ 4,
241
+ 8
242
+ ]
243
+ },
244
+ "4": {
245
+ "always_accept": [
246
+ 4,
247
+ 8
248
+ ],
249
+ "always_reject": [
250
+ 4,
251
+ 8
252
+ ]
253
+ },
254
+ "8": {
255
+ "always_accept": [
256
+ 4,
257
+ 8
258
+ ],
259
+ "always_reject": [
260
+ 4,
261
+ 8
262
+ ]
263
+ }
264
+ }
265
+ }
266
+ },
267
+ "push_value_errors": 22,
268
+ "seed": 1,
269
+ "training": {
270
+ "loss": 0.0016210851026698947,
271
+ "parameters": 81004,
272
+ "seconds": 1.9787468750000698,
273
+ "seed": 1,
274
+ "train_accuracy": [
275
+ 36,
276
+ 36
277
+ ]
278
+ },
279
+ "usage": {
280
+ "completion_tokens": 0,
281
+ "prompt_tokens": 0
282
+ }
283
+ }
raw-step/seed-1/training.json ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "plan": {
3
+ "architecture": "2-layer width-64 4-head Transformer; causal attention; autoregressive operation/value/EOS",
4
+ "batch": 36,
5
+ "clip": 1,
6
+ "domain": "three fixed supplied maps x 2 phases x 6 current symbols/end x 3 closing-symbol/empty tops",
7
+ "held_out_hash": "d2c7202ea08da83ad5398723a2cc4ce9d3175b7e5f7b84ce40aa529103e0d6e2",
8
+ "lr": 0.001,
9
+ "optimizer": "AdamW",
10
+ "output_limit": 3,
11
+ "prompt_loss_masked": true,
12
+ "schedule": "cosine to 1e-5",
13
+ "seeds": [
14
+ 0,
15
+ 1,
16
+ 2
17
+ ],
18
+ "source_sha256": {
19
+ "scripts/run_a6_x6.py": "b8ce548d5a55069483b46ed89da10f34bb9a3edf976b361069cd4d11692fd685",
20
+ "src/abstractgym/a6_model.py": "d13c0b913ba39cd3c8371147d2495b185c24d8d15225cd68bc11e1aa2ebd72f7",
21
+ "src/abstractgym/a6_raw.py": "df9c2be312f2290939871364baca738ac9a849dca855d049e304a6d0bb74e630"
22
+ },
23
+ "steps": 800,
24
+ "torch": "2.14.1",
25
+ "training_hash": "11d5025e1246025f38e3ea840fd2a065ca73c2751cdf9de5f50005f4be7fa3a7",
26
+ "vocab": [
27
+ "PAD",
28
+ "CLS",
29
+ "opening",
30
+ "closing",
31
+ "END",
32
+ "EMPTY",
33
+ "SEP",
34
+ "EOS",
35
+ "PUSH",
36
+ "CENTER",
37
+ "POP",
38
+ "ACCEPT",
39
+ "REJECT",
40
+ " ",
41
+ "!",
42
+ "\"",
43
+ "#",
44
+ "$",
45
+ "%",
46
+ "&",
47
+ "'",
48
+ "(",
49
+ ")",
50
+ "*",
51
+ "+",
52
+ ",",
53
+ "-",
54
+ ".",
55
+ "<local-path>",
56
+ "0",
57
+ "1",
58
+ "2",
59
+ "3",
60
+ "4",
61
+ "5",
62
+ "6",
63
+ "7",
64
+ "8",
65
+ "9",
66
+ ":",
67
+ ";",
68
+ "<",
69
+ "=",
70
+ ">",
71
+ "?",
72
+ "@",
73
+ "A",
74
+ "B",
75
+ "C",
76
+ "D",
77
+ "E",
78
+ "F",
79
+ "G",
80
+ "H",
81
+ "I",
82
+ "J",
83
+ "K",
84
+ "L",
85
+ "M",
86
+ "N",
87
+ "O",
88
+ "P",
89
+ "Q",
90
+ "R",
91
+ "S",
92
+ "T",
93
+ "U",
94
+ "V",
95
+ "W",
96
+ "X",
97
+ "Y",
98
+ "Z",
99
+ "[",
100
+ "\\",
101
+ "]",
102
+ "^",
103
+ "_",
104
+ "`",
105
+ "a",
106
+ "b",
107
+ "c",
108
+ "d",
109
+ "e",
110
+ "f",
111
+ "g",
112
+ "h",
113
+ "i",
114
+ "j",
115
+ "k",
116
+ "l",
117
+ "m",
118
+ "n",
119
+ "o",
120
+ "p",
121
+ "q",
122
+ "r",
123
+ "s",
124
+ "t",
125
+ "u",
126
+ "v",
127
+ "w",
128
+ "x",
129
+ "y",
130
+ "z",
131
+ "{",
132
+ "|",
133
+ "}",
134
+ "~"
135
+ ],
136
+ "weight_decay": 0.01
137
+ },
138
+ "training": {
139
+ "loss": 0.0016210851026698947,
140
+ "parameters": 81004,
141
+ "seconds": 1.9787468750000698,
142
+ "seed": 1,
143
+ "train_accuracy": [
144
+ 36,
145
+ 36
146
+ ]
147
+ }
148
+ }
raw-step/seed-2/config.json ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "actions": [
3
+ "PUSH_0",
4
+ "PUSH_1",
5
+ "CENTER",
6
+ "POP",
7
+ "ACCEPT",
8
+ "REJECT"
9
+ ],
10
+ "code_branch": "main",
11
+ "dropout": 0,
12
+ "dtype": "float32",
13
+ "family": "raw-step",
14
+ "feedforward": 128,
15
+ "heads": 4,
16
+ "layers": 2,
17
+ "model_class": "run_a6_x6.RawTransformer",
18
+ "outputs": 108,
19
+ "position_limit": 256,
20
+ "seed": 2,
21
+ "vocabulary": [
22
+ "PAD",
23
+ "CLS",
24
+ "opening",
25
+ "closing",
26
+ "END",
27
+ "EMPTY",
28
+ "SEP",
29
+ "EOS",
30
+ "PUSH",
31
+ "CENTER",
32
+ "POP",
33
+ "ACCEPT",
34
+ "REJECT",
35
+ " ",
36
+ "!",
37
+ "\"",
38
+ "#",
39
+ "$",
40
+ "%",
41
+ "&",
42
+ "'",
43
+ "(",
44
+ ")",
45
+ "*",
46
+ "+",
47
+ ",",
48
+ "-",
49
+ ".",
50
+ "/",
51
+ "0",
52
+ "1",
53
+ "2",
54
+ "3",
55
+ "4",
56
+ "5",
57
+ "6",
58
+ "7",
59
+ "8",
60
+ "9",
61
+ ":",
62
+ ";",
63
+ "<",
64
+ "=",
65
+ ">",
66
+ "?",
67
+ "@",
68
+ "A",
69
+ "B",
70
+ "C",
71
+ "D",
72
+ "E",
73
+ "F",
74
+ "G",
75
+ "H",
76
+ "I",
77
+ "J",
78
+ "K",
79
+ "L",
80
+ "M",
81
+ "N",
82
+ "O",
83
+ "P",
84
+ "Q",
85
+ "R",
86
+ "S",
87
+ "T",
88
+ "U",
89
+ "V",
90
+ "W",
91
+ "X",
92
+ "Y",
93
+ "Z",
94
+ "[",
95
+ "\\",
96
+ "]",
97
+ "^",
98
+ "_",
99
+ "`",
100
+ "a",
101
+ "b",
102
+ "c",
103
+ "d",
104
+ "e",
105
+ "f",
106
+ "g",
107
+ "h",
108
+ "i",
109
+ "j",
110
+ "k",
111
+ "l",
112
+ "m",
113
+ "n",
114
+ "o",
115
+ "p",
116
+ "q",
117
+ "r",
118
+ "s",
119
+ "t",
120
+ "u",
121
+ "v",
122
+ "w",
123
+ "x",
124
+ "y",
125
+ "z",
126
+ "{",
127
+ "|",
128
+ "}",
129
+ "~"
130
+ ],
131
+ "width": 64
132
+ }
raw-step/seed-2/conversion_verification.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "all_tensors_bitwise_equal": true,
3
+ "family": "raw-step",
4
+ "published_sha256": "a96e32f0a540aaf176a0ec8479c3f9b18c9a43fbea392f1049ea028f3f229f87",
5
+ "saved_predictions_reproduced": {
6
+ "exhaustive": 108,
7
+ "held_out": 92
8
+ },
9
+ "seed": 2,
10
+ "source_hash_manifest": "frozen.json",
11
+ "source_sha256": "d1d3ef582c2f85a043ba507cd502aae062a8e5daac3cacaa0702ddce9404abf4",
12
+ "torch_version": "2.14.1"
13
+ }
raw-step/seed-2/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a96e32f0a540aaf176a0ec8479c3f9b18c9a43fbea392f1049ea028f3f229f87
3
+ size 392360
raw-step/seed-2/results.json ADDED
@@ -0,0 +1,283 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_accuracy": [
3
+ 0,
4
+ 92
5
+ ],
6
+ "condition": "tiny_raw_autoregressive",
7
+ "exhaustive": {
8
+ "([)]#": [
9
+ 23,
10
+ 36
11
+ ],
12
+ "abcde": [
13
+ 20,
14
+ 36
15
+ ],
16
+ "uvwxy": [
17
+ 36,
18
+ 36
19
+ ]
20
+ },
21
+ "first_error_median": 1.0,
22
+ "held_out": {
23
+ "brackets": {
24
+ "by_depth": {
25
+ "0": [
26
+ 0,
27
+ 2
28
+ ],
29
+ "1": [
30
+ 0,
31
+ 4
32
+ ],
33
+ "16": [
34
+ 0,
35
+ 8
36
+ ],
37
+ "2": [
38
+ 0,
39
+ 8
40
+ ],
41
+ "3": [
42
+ 0,
43
+ 8
44
+ ],
45
+ "4": [
46
+ 0,
47
+ 8
48
+ ],
49
+ "8": [
50
+ 0,
51
+ 8
52
+ ]
53
+ },
54
+ "interpretation": {
55
+ "0": "below label-blind",
56
+ "1": "below label-blind",
57
+ "16": "below label-blind",
58
+ "2": "below label-blind",
59
+ "3": "below label-blind",
60
+ "4": "below label-blind",
61
+ "8": "below label-blind"
62
+ }
63
+ },
64
+ "letters": {
65
+ "by_depth": {
66
+ "0": [
67
+ 0,
68
+ 2
69
+ ],
70
+ "1": [
71
+ 0,
72
+ 4
73
+ ],
74
+ "16": [
75
+ 0,
76
+ 8
77
+ ],
78
+ "2": [
79
+ 0,
80
+ 8
81
+ ],
82
+ "3": [
83
+ 0,
84
+ 8
85
+ ],
86
+ "4": [
87
+ 0,
88
+ 8
89
+ ],
90
+ "8": [
91
+ 0,
92
+ 8
93
+ ]
94
+ },
95
+ "interpretation": {
96
+ "0": "below label-blind",
97
+ "1": "below label-blind",
98
+ "16": "below label-blind",
99
+ "2": "below label-blind",
100
+ "3": "below label-blind",
101
+ "4": "below label-blind",
102
+ "8": "below label-blind"
103
+ }
104
+ },
105
+ "total": [
106
+ 0,
107
+ 92
108
+ ]
109
+ },
110
+ "invalid_action_calls": 0,
111
+ "label_blind": {
112
+ "always_accept": [
113
+ 46,
114
+ 92
115
+ ],
116
+ "always_reject": [
117
+ 46,
118
+ 92
119
+ ],
120
+ "by_cell": {
121
+ "brackets": {
122
+ "0": {
123
+ "always_accept": [
124
+ 1,
125
+ 2
126
+ ],
127
+ "always_reject": [
128
+ 1,
129
+ 2
130
+ ]
131
+ },
132
+ "1": {
133
+ "always_accept": [
134
+ 2,
135
+ 4
136
+ ],
137
+ "always_reject": [
138
+ 2,
139
+ 4
140
+ ]
141
+ },
142
+ "16": {
143
+ "always_accept": [
144
+ 4,
145
+ 8
146
+ ],
147
+ "always_reject": [
148
+ 4,
149
+ 8
150
+ ]
151
+ },
152
+ "2": {
153
+ "always_accept": [
154
+ 4,
155
+ 8
156
+ ],
157
+ "always_reject": [
158
+ 4,
159
+ 8
160
+ ]
161
+ },
162
+ "3": {
163
+ "always_accept": [
164
+ 4,
165
+ 8
166
+ ],
167
+ "always_reject": [
168
+ 4,
169
+ 8
170
+ ]
171
+ },
172
+ "4": {
173
+ "always_accept": [
174
+ 4,
175
+ 8
176
+ ],
177
+ "always_reject": [
178
+ 4,
179
+ 8
180
+ ]
181
+ },
182
+ "8": {
183
+ "always_accept": [
184
+ 4,
185
+ 8
186
+ ],
187
+ "always_reject": [
188
+ 4,
189
+ 8
190
+ ]
191
+ }
192
+ },
193
+ "letters": {
194
+ "0": {
195
+ "always_accept": [
196
+ 1,
197
+ 2
198
+ ],
199
+ "always_reject": [
200
+ 1,
201
+ 2
202
+ ]
203
+ },
204
+ "1": {
205
+ "always_accept": [
206
+ 2,
207
+ 4
208
+ ],
209
+ "always_reject": [
210
+ 2,
211
+ 4
212
+ ]
213
+ },
214
+ "16": {
215
+ "always_accept": [
216
+ 4,
217
+ 8
218
+ ],
219
+ "always_reject": [
220
+ 4,
221
+ 8
222
+ ]
223
+ },
224
+ "2": {
225
+ "always_accept": [
226
+ 4,
227
+ 8
228
+ ],
229
+ "always_reject": [
230
+ 4,
231
+ 8
232
+ ]
233
+ },
234
+ "3": {
235
+ "always_accept": [
236
+ 4,
237
+ 8
238
+ ],
239
+ "always_reject": [
240
+ 4,
241
+ 8
242
+ ]
243
+ },
244
+ "4": {
245
+ "always_accept": [
246
+ 4,
247
+ 8
248
+ ],
249
+ "always_reject": [
250
+ 4,
251
+ 8
252
+ ]
253
+ },
254
+ "8": {
255
+ "always_accept": [
256
+ 4,
257
+ 8
258
+ ],
259
+ "always_reject": [
260
+ 4,
261
+ 8
262
+ ]
263
+ }
264
+ }
265
+ }
266
+ },
267
+ "push_value_errors": 22,
268
+ "seed": 2,
269
+ "training": {
270
+ "loss": 0.001583919976837933,
271
+ "parameters": 81004,
272
+ "seconds": 1.9714072089991532,
273
+ "seed": 2,
274
+ "train_accuracy": [
275
+ 36,
276
+ 36
277
+ ]
278
+ },
279
+ "usage": {
280
+ "completion_tokens": 0,
281
+ "prompt_tokens": 0
282
+ }
283
+ }
raw-step/seed-2/training.json ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "plan": {
3
+ "architecture": "2-layer width-64 4-head Transformer; causal attention; autoregressive operation/value/EOS",
4
+ "batch": 36,
5
+ "clip": 1,
6
+ "domain": "three fixed supplied maps x 2 phases x 6 current symbols/end x 3 closing-symbol/empty tops",
7
+ "held_out_hash": "d2c7202ea08da83ad5398723a2cc4ce9d3175b7e5f7b84ce40aa529103e0d6e2",
8
+ "lr": 0.001,
9
+ "optimizer": "AdamW",
10
+ "output_limit": 3,
11
+ "prompt_loss_masked": true,
12
+ "schedule": "cosine to 1e-5",
13
+ "seeds": [
14
+ 0,
15
+ 1,
16
+ 2
17
+ ],
18
+ "source_sha256": {
19
+ "scripts/run_a6_x6.py": "b8ce548d5a55069483b46ed89da10f34bb9a3edf976b361069cd4d11692fd685",
20
+ "src/abstractgym/a6_model.py": "d13c0b913ba39cd3c8371147d2495b185c24d8d15225cd68bc11e1aa2ebd72f7",
21
+ "src/abstractgym/a6_raw.py": "df9c2be312f2290939871364baca738ac9a849dca855d049e304a6d0bb74e630"
22
+ },
23
+ "steps": 800,
24
+ "torch": "2.14.1",
25
+ "training_hash": "11d5025e1246025f38e3ea840fd2a065ca73c2751cdf9de5f50005f4be7fa3a7",
26
+ "vocab": [
27
+ "PAD",
28
+ "CLS",
29
+ "opening",
30
+ "closing",
31
+ "END",
32
+ "EMPTY",
33
+ "SEP",
34
+ "EOS",
35
+ "PUSH",
36
+ "CENTER",
37
+ "POP",
38
+ "ACCEPT",
39
+ "REJECT",
40
+ " ",
41
+ "!",
42
+ "\"",
43
+ "#",
44
+ "$",
45
+ "%",
46
+ "&",
47
+ "'",
48
+ "(",
49
+ ")",
50
+ "*",
51
+ "+",
52
+ ",",
53
+ "-",
54
+ ".",
55
+ "<local-path>",
56
+ "0",
57
+ "1",
58
+ "2",
59
+ "3",
60
+ "4",
61
+ "5",
62
+ "6",
63
+ "7",
64
+ "8",
65
+ "9",
66
+ ":",
67
+ ";",
68
+ "<",
69
+ "=",
70
+ ">",
71
+ "?",
72
+ "@",
73
+ "A",
74
+ "B",
75
+ "C",
76
+ "D",
77
+ "E",
78
+ "F",
79
+ "G",
80
+ "H",
81
+ "I",
82
+ "J",
83
+ "K",
84
+ "L",
85
+ "M",
86
+ "N",
87
+ "O",
88
+ "P",
89
+ "Q",
90
+ "R",
91
+ "S",
92
+ "T",
93
+ "U",
94
+ "V",
95
+ "W",
96
+ "X",
97
+ "Y",
98
+ "Z",
99
+ "[",
100
+ "\\",
101
+ "]",
102
+ "^",
103
+ "_",
104
+ "`",
105
+ "a",
106
+ "b",
107
+ "c",
108
+ "d",
109
+ "e",
110
+ "f",
111
+ "g",
112
+ "h",
113
+ "i",
114
+ "j",
115
+ "k",
116
+ "l",
117
+ "m",
118
+ "n",
119
+ "o",
120
+ "p",
121
+ "q",
122
+ "r",
123
+ "s",
124
+ "t",
125
+ "u",
126
+ "v",
127
+ "w",
128
+ "x",
129
+ "y",
130
+ "z",
131
+ "{",
132
+ "|",
133
+ "}",
134
+ "~"
135
+ ],
136
+ "weight_decay": 0.01
137
+ },
138
+ "training": {
139
+ "loss": 0.001583919976837933,
140
+ "parameters": 81004,
141
+ "seconds": 1.9714072089991532,
142
+ "seed": 2,
143
+ "train_accuracy": [
144
+ 36,
145
+ 36
146
+ ]
147
+ }
148
+ }
step/seed-0/config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "actions": [
3
+ "PUSH_0",
4
+ "PUSH_1",
5
+ "CENTER",
6
+ "POP",
7
+ "ACCEPT",
8
+ "REJECT"
9
+ ],
10
+ "code_branch": "main",
11
+ "dropout": 0,
12
+ "dtype": "float32",
13
+ "family": "step",
14
+ "feedforward": 128,
15
+ "heads": 4,
16
+ "layers": 2,
17
+ "model_class": "abstractgym.a6_model.TinyTransformer",
18
+ "outputs": 6,
19
+ "position_limit": 256,
20
+ "seed": 0,
21
+ "vocabulary": [
22
+ "PAD",
23
+ "CLS",
24
+ "opening",
25
+ "closing",
26
+ "OPEN_0",
27
+ "OPEN_1",
28
+ "CLOSE_0",
29
+ "CLOSE_1",
30
+ "CENTER",
31
+ "END",
32
+ "EMPTY",
33
+ "DIRECT"
34
+ ],
35
+ "width": 64
36
+ }
step/seed-0/conversion_verification.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "all_tensors_bitwise_equal": true,
3
+ "family": "step",
4
+ "published_sha256": "baee7f0d12b2a70b1e9604c2d7d9a80554f156a2af111d3966f37cea9f21357f",
5
+ "saved_predictions_reproduced": {
6
+ "exhaustive": 36,
7
+ "extra": 32,
8
+ "held_out": 92
9
+ },
10
+ "seed": 0,
11
+ "source_hash_manifest": "frozen.json",
12
+ "source_sha256": "a6949c9c2a8679152cd71b1a64c68a5147cf8cc3c6dca94bcfd52c5820ae478e",
13
+ "torch_version": "2.14.1"
14
+ }
step/seed-0/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:baee7f0d12b2a70b1e9604c2d7d9a80554f156a2af111d3966f37cea9f21357f
3
+ size 341256
step/seed-0/results.json ADDED
@@ -0,0 +1,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_accuracy": [
3
+ 988,
4
+ 988
5
+ ],
6
+ "condition": "tiny_trained",
7
+ "evaluation_seconds": 0.07790250000107335,
8
+ "exhaustive_check": [
9
+ 36,
10
+ 36
11
+ ],
12
+ "extra_depths": {
13
+ "32": [
14
+ 16,
15
+ 16
16
+ ],
17
+ "64": [
18
+ 16,
19
+ 16
20
+ ]
21
+ },
22
+ "first_error_median": null,
23
+ "held_out": {
24
+ "brackets": {
25
+ "by_depth": {
26
+ "0": [
27
+ 2,
28
+ 2
29
+ ],
30
+ "1": [
31
+ 4,
32
+ 4
33
+ ],
34
+ "16": [
35
+ 8,
36
+ 8
37
+ ],
38
+ "2": [
39
+ 8,
40
+ 8
41
+ ],
42
+ "3": [
43
+ 8,
44
+ 8
45
+ ],
46
+ "4": [
47
+ 8,
48
+ 8
49
+ ],
50
+ "8": [
51
+ 8,
52
+ 8
53
+ ]
54
+ },
55
+ "interpretation": {
56
+ "0": "beats both label-blind baselines",
57
+ "1": "beats both label-blind baselines",
58
+ "16": "beats both label-blind baselines",
59
+ "2": "beats both label-blind baselines",
60
+ "3": "beats both label-blind baselines",
61
+ "4": "beats both label-blind baselines",
62
+ "8": "beats both label-blind baselines"
63
+ }
64
+ },
65
+ "letters": {
66
+ "by_depth": {
67
+ "0": [
68
+ 2,
69
+ 2
70
+ ],
71
+ "1": [
72
+ 4,
73
+ 4
74
+ ],
75
+ "16": [
76
+ 8,
77
+ 8
78
+ ],
79
+ "2": [
80
+ 8,
81
+ 8
82
+ ],
83
+ "3": [
84
+ 8,
85
+ 8
86
+ ],
87
+ "4": [
88
+ 8,
89
+ 8
90
+ ],
91
+ "8": [
92
+ 8,
93
+ 8
94
+ ]
95
+ },
96
+ "interpretation": {
97
+ "0": "beats both label-blind baselines",
98
+ "1": "beats both label-blind baselines",
99
+ "16": "beats both label-blind baselines",
100
+ "2": "beats both label-blind baselines",
101
+ "3": "beats both label-blind baselines",
102
+ "4": "beats both label-blind baselines",
103
+ "8": "beats both label-blind baselines"
104
+ }
105
+ },
106
+ "total": [
107
+ 92,
108
+ 92
109
+ ]
110
+ },
111
+ "label_blind": {
112
+ "always_accept": [
113
+ 46,
114
+ 92
115
+ ],
116
+ "always_reject": [
117
+ 46,
118
+ 92
119
+ ],
120
+ "by_cell": {
121
+ "brackets": {
122
+ "0": {
123
+ "always_accept": [
124
+ 1,
125
+ 2
126
+ ],
127
+ "always_reject": [
128
+ 1,
129
+ 2
130
+ ]
131
+ },
132
+ "1": {
133
+ "always_accept": [
134
+ 2,
135
+ 4
136
+ ],
137
+ "always_reject": [
138
+ 2,
139
+ 4
140
+ ]
141
+ },
142
+ "16": {
143
+ "always_accept": [
144
+ 4,
145
+ 8
146
+ ],
147
+ "always_reject": [
148
+ 4,
149
+ 8
150
+ ]
151
+ },
152
+ "2": {
153
+ "always_accept": [
154
+ 4,
155
+ 8
156
+ ],
157
+ "always_reject": [
158
+ 4,
159
+ 8
160
+ ]
161
+ },
162
+ "3": {
163
+ "always_accept": [
164
+ 4,
165
+ 8
166
+ ],
167
+ "always_reject": [
168
+ 4,
169
+ 8
170
+ ]
171
+ },
172
+ "4": {
173
+ "always_accept": [
174
+ 4,
175
+ 8
176
+ ],
177
+ "always_reject": [
178
+ 4,
179
+ 8
180
+ ]
181
+ },
182
+ "8": {
183
+ "always_accept": [
184
+ 4,
185
+ 8
186
+ ],
187
+ "always_reject": [
188
+ 4,
189
+ 8
190
+ ]
191
+ }
192
+ },
193
+ "letters": {
194
+ "0": {
195
+ "always_accept": [
196
+ 1,
197
+ 2
198
+ ],
199
+ "always_reject": [
200
+ 1,
201
+ 2
202
+ ]
203
+ },
204
+ "1": {
205
+ "always_accept": [
206
+ 2,
207
+ 4
208
+ ],
209
+ "always_reject": [
210
+ 2,
211
+ 4
212
+ ]
213
+ },
214
+ "16": {
215
+ "always_accept": [
216
+ 4,
217
+ 8
218
+ ],
219
+ "always_reject": [
220
+ 4,
221
+ 8
222
+ ]
223
+ },
224
+ "2": {
225
+ "always_accept": [
226
+ 4,
227
+ 8
228
+ ],
229
+ "always_reject": [
230
+ 4,
231
+ 8
232
+ ]
233
+ },
234
+ "3": {
235
+ "always_accept": [
236
+ 4,
237
+ 8
238
+ ],
239
+ "always_reject": [
240
+ 4,
241
+ 8
242
+ ]
243
+ },
244
+ "4": {
245
+ "always_accept": [
246
+ 4,
247
+ 8
248
+ ],
249
+ "always_reject": [
250
+ 4,
251
+ 8
252
+ ]
253
+ },
254
+ "8": {
255
+ "always_accept": [
256
+ 4,
257
+ 8
258
+ ],
259
+ "always_reject": [
260
+ 4,
261
+ 8
262
+ ]
263
+ }
264
+ }
265
+ }
266
+ },
267
+ "model_revisions": {
268
+ "direct-0.pt": "39bf28b49785115db3ca0b58a584230aff6db09361ee79619ba6e7fca8bcb8cd",
269
+ "step-0.pt": "a6949c9c2a8679152cd71b1a64c68a5147cf8cc3c6dca94bcfd52c5820ae478e"
270
+ },
271
+ "push_value_errors": 0,
272
+ "seed": 0,
273
+ "token_usage": {
274
+ "direct_input_tokens": 1442,
275
+ "execution_input_tokens": 3952,
276
+ "execution_output_classes": 988
277
+ },
278
+ "train_examples": 2305,
279
+ "training": {
280
+ "batch_size": 36,
281
+ "final_loss": 0.0006350057665258646,
282
+ "parameters": 68230,
283
+ "seconds": 1.4034502079994127,
284
+ "steps": 800,
285
+ "train_accuracy": [
286
+ 36,
287
+ 36
288
+ ]
289
+ },
290
+ "unique_train_examples": 36
291
+ }
step/seed-0/training.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "plan": {
3
+ "architecture": {
4
+ "attention": "bidirectional encoder, CLS readout",
5
+ "dropout": 0,
6
+ "feedforward": 128,
7
+ "heads": 4,
8
+ "layers": 2,
9
+ "position": "fixed sinusoidal",
10
+ "width": 64
11
+ },
12
+ "device": "cpu",
13
+ "dtype": "float32",
14
+ "git_revision": "39bca8d1f7dd0324010f76d6eb44a68ea719d572",
15
+ "hardware": "arm",
16
+ "optimizer": {
17
+ "clip_norm": 1.0,
18
+ "lr": 0.001,
19
+ "name": "AdamW",
20
+ "schedule": "cosine to 1e-5",
21
+ "weight_decay": 0.01
22
+ },
23
+ "packages": {
24
+ "torch": "2.14.1"
25
+ },
26
+ "platform": "macOS-26.7-arm64-arm-64bit",
27
+ "python": "3.12.13",
28
+ "seeds": [
29
+ 0,
30
+ 1,
31
+ 2
32
+ ],
33
+ "source_sha256": {
34
+ "scripts/run_a6_tiny.py": "62a632c65003a10c5f35b1a586f7a62cfae3605db0c39d9ae48914367ea7aa1e",
35
+ "src/abstractgym/a6.py": "975b3d76fc9503e11e8f0ad8c57aa27162250298d4316d949145e6df80dbbfe2",
36
+ "src/abstractgym/a6_model.py": "d13c0b913ba39cd3c8371147d2495b185c24d8d15225cd68bc11e1aa2ebd72f7",
37
+ "src/abstractgym/brackets.py": "9fa8b835c0aac8fa26177b032f1fc07e1bb0964f7ec01fd0f83ad11b74e0550f"
38
+ },
39
+ "threads": 2,
40
+ "training": {
41
+ "deduplicated_step_examples": 36,
42
+ "direct_examples": 367,
43
+ "direct_positive": 31,
44
+ "direct_sampling": "balanced labels, replacement; separate matched model",
45
+ "max_depth": 4,
46
+ "raw_step_examples": 2305,
47
+ "symbols": "uvwxy",
48
+ "trajectories": 367
49
+ },
50
+ "training_hash": "8fa8728efdda11e741e8ec16c2e0267cf0fd321e849119caea177055d15e5df0"
51
+ },
52
+ "training": {
53
+ "batch_size": 36,
54
+ "final_loss": 0.0006350057665258646,
55
+ "parameters": 68230,
56
+ "seconds": 1.4034502079994127,
57
+ "steps": 800,
58
+ "train_accuracy": [
59
+ 36,
60
+ 36
61
+ ]
62
+ }
63
+ }
step/seed-1/config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "actions": [
3
+ "PUSH_0",
4
+ "PUSH_1",
5
+ "CENTER",
6
+ "POP",
7
+ "ACCEPT",
8
+ "REJECT"
9
+ ],
10
+ "code_branch": "main",
11
+ "dropout": 0,
12
+ "dtype": "float32",
13
+ "family": "step",
14
+ "feedforward": 128,
15
+ "heads": 4,
16
+ "layers": 2,
17
+ "model_class": "abstractgym.a6_model.TinyTransformer",
18
+ "outputs": 6,
19
+ "position_limit": 256,
20
+ "seed": 1,
21
+ "vocabulary": [
22
+ "PAD",
23
+ "CLS",
24
+ "opening",
25
+ "closing",
26
+ "OPEN_0",
27
+ "OPEN_1",
28
+ "CLOSE_0",
29
+ "CLOSE_1",
30
+ "CENTER",
31
+ "END",
32
+ "EMPTY",
33
+ "DIRECT"
34
+ ],
35
+ "width": 64
36
+ }
step/seed-1/conversion_verification.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "all_tensors_bitwise_equal": true,
3
+ "family": "step",
4
+ "published_sha256": "2d25c9513d2378fa151f79d4cb4619a2e0d401f7825bd7b6c5a6c13769b37f5b",
5
+ "saved_predictions_reproduced": {
6
+ "exhaustive": 36,
7
+ "extra": 32,
8
+ "held_out": 92
9
+ },
10
+ "seed": 1,
11
+ "source_hash_manifest": "frozen.json",
12
+ "source_sha256": "341d85d422c11d1d34345d65e05cef12e2ee0a4d1608e065857eb64cda564a77",
13
+ "torch_version": "2.14.1"
14
+ }
step/seed-1/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d25c9513d2378fa151f79d4cb4619a2e0d401f7825bd7b6c5a6c13769b37f5b
3
+ size 341256
step/seed-1/results.json ADDED
@@ -0,0 +1,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_accuracy": [
3
+ 988,
4
+ 988
5
+ ],
6
+ "condition": "tiny_trained",
7
+ "evaluation_seconds": 0.05974966700159712,
8
+ "exhaustive_check": [
9
+ 36,
10
+ 36
11
+ ],
12
+ "extra_depths": {
13
+ "32": [
14
+ 16,
15
+ 16
16
+ ],
17
+ "64": [
18
+ 16,
19
+ 16
20
+ ]
21
+ },
22
+ "first_error_median": null,
23
+ "held_out": {
24
+ "brackets": {
25
+ "by_depth": {
26
+ "0": [
27
+ 2,
28
+ 2
29
+ ],
30
+ "1": [
31
+ 4,
32
+ 4
33
+ ],
34
+ "16": [
35
+ 8,
36
+ 8
37
+ ],
38
+ "2": [
39
+ 8,
40
+ 8
41
+ ],
42
+ "3": [
43
+ 8,
44
+ 8
45
+ ],
46
+ "4": [
47
+ 8,
48
+ 8
49
+ ],
50
+ "8": [
51
+ 8,
52
+ 8
53
+ ]
54
+ },
55
+ "interpretation": {
56
+ "0": "beats both label-blind baselines",
57
+ "1": "beats both label-blind baselines",
58
+ "16": "beats both label-blind baselines",
59
+ "2": "beats both label-blind baselines",
60
+ "3": "beats both label-blind baselines",
61
+ "4": "beats both label-blind baselines",
62
+ "8": "beats both label-blind baselines"
63
+ }
64
+ },
65
+ "letters": {
66
+ "by_depth": {
67
+ "0": [
68
+ 2,
69
+ 2
70
+ ],
71
+ "1": [
72
+ 4,
73
+ 4
74
+ ],
75
+ "16": [
76
+ 8,
77
+ 8
78
+ ],
79
+ "2": [
80
+ 8,
81
+ 8
82
+ ],
83
+ "3": [
84
+ 8,
85
+ 8
86
+ ],
87
+ "4": [
88
+ 8,
89
+ 8
90
+ ],
91
+ "8": [
92
+ 8,
93
+ 8
94
+ ]
95
+ },
96
+ "interpretation": {
97
+ "0": "beats both label-blind baselines",
98
+ "1": "beats both label-blind baselines",
99
+ "16": "beats both label-blind baselines",
100
+ "2": "beats both label-blind baselines",
101
+ "3": "beats both label-blind baselines",
102
+ "4": "beats both label-blind baselines",
103
+ "8": "beats both label-blind baselines"
104
+ }
105
+ },
106
+ "total": [
107
+ 92,
108
+ 92
109
+ ]
110
+ },
111
+ "label_blind": {
112
+ "always_accept": [
113
+ 46,
114
+ 92
115
+ ],
116
+ "always_reject": [
117
+ 46,
118
+ 92
119
+ ],
120
+ "by_cell": {
121
+ "brackets": {
122
+ "0": {
123
+ "always_accept": [
124
+ 1,
125
+ 2
126
+ ],
127
+ "always_reject": [
128
+ 1,
129
+ 2
130
+ ]
131
+ },
132
+ "1": {
133
+ "always_accept": [
134
+ 2,
135
+ 4
136
+ ],
137
+ "always_reject": [
138
+ 2,
139
+ 4
140
+ ]
141
+ },
142
+ "16": {
143
+ "always_accept": [
144
+ 4,
145
+ 8
146
+ ],
147
+ "always_reject": [
148
+ 4,
149
+ 8
150
+ ]
151
+ },
152
+ "2": {
153
+ "always_accept": [
154
+ 4,
155
+ 8
156
+ ],
157
+ "always_reject": [
158
+ 4,
159
+ 8
160
+ ]
161
+ },
162
+ "3": {
163
+ "always_accept": [
164
+ 4,
165
+ 8
166
+ ],
167
+ "always_reject": [
168
+ 4,
169
+ 8
170
+ ]
171
+ },
172
+ "4": {
173
+ "always_accept": [
174
+ 4,
175
+ 8
176
+ ],
177
+ "always_reject": [
178
+ 4,
179
+ 8
180
+ ]
181
+ },
182
+ "8": {
183
+ "always_accept": [
184
+ 4,
185
+ 8
186
+ ],
187
+ "always_reject": [
188
+ 4,
189
+ 8
190
+ ]
191
+ }
192
+ },
193
+ "letters": {
194
+ "0": {
195
+ "always_accept": [
196
+ 1,
197
+ 2
198
+ ],
199
+ "always_reject": [
200
+ 1,
201
+ 2
202
+ ]
203
+ },
204
+ "1": {
205
+ "always_accept": [
206
+ 2,
207
+ 4
208
+ ],
209
+ "always_reject": [
210
+ 2,
211
+ 4
212
+ ]
213
+ },
214
+ "16": {
215
+ "always_accept": [
216
+ 4,
217
+ 8
218
+ ],
219
+ "always_reject": [
220
+ 4,
221
+ 8
222
+ ]
223
+ },
224
+ "2": {
225
+ "always_accept": [
226
+ 4,
227
+ 8
228
+ ],
229
+ "always_reject": [
230
+ 4,
231
+ 8
232
+ ]
233
+ },
234
+ "3": {
235
+ "always_accept": [
236
+ 4,
237
+ 8
238
+ ],
239
+ "always_reject": [
240
+ 4,
241
+ 8
242
+ ]
243
+ },
244
+ "4": {
245
+ "always_accept": [
246
+ 4,
247
+ 8
248
+ ],
249
+ "always_reject": [
250
+ 4,
251
+ 8
252
+ ]
253
+ },
254
+ "8": {
255
+ "always_accept": [
256
+ 4,
257
+ 8
258
+ ],
259
+ "always_reject": [
260
+ 4,
261
+ 8
262
+ ]
263
+ }
264
+ }
265
+ }
266
+ },
267
+ "model_revisions": {
268
+ "direct-1.pt": "07445f6621896c71053a5e64ba61b78c430954a840575bba113e7aeaef462a43",
269
+ "step-1.pt": "341d85d422c11d1d34345d65e05cef12e2ee0a4d1608e065857eb64cda564a77"
270
+ },
271
+ "push_value_errors": 0,
272
+ "seed": 1,
273
+ "token_usage": {
274
+ "direct_input_tokens": 1442,
275
+ "execution_input_tokens": 3952,
276
+ "execution_output_classes": 988
277
+ },
278
+ "train_examples": 2305,
279
+ "training": {
280
+ "batch_size": 36,
281
+ "final_loss": 0.0007644929573871195,
282
+ "parameters": 68230,
283
+ "seconds": 1.179319791001035,
284
+ "steps": 800,
285
+ "train_accuracy": [
286
+ 36,
287
+ 36
288
+ ]
289
+ },
290
+ "unique_train_examples": 36
291
+ }
step/seed-1/training.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "plan": {
3
+ "architecture": {
4
+ "attention": "bidirectional encoder, CLS readout",
5
+ "dropout": 0,
6
+ "feedforward": 128,
7
+ "heads": 4,
8
+ "layers": 2,
9
+ "position": "fixed sinusoidal",
10
+ "width": 64
11
+ },
12
+ "device": "cpu",
13
+ "dtype": "float32",
14
+ "git_revision": "39bca8d1f7dd0324010f76d6eb44a68ea719d572",
15
+ "hardware": "arm",
16
+ "optimizer": {
17
+ "clip_norm": 1.0,
18
+ "lr": 0.001,
19
+ "name": "AdamW",
20
+ "schedule": "cosine to 1e-5",
21
+ "weight_decay": 0.01
22
+ },
23
+ "packages": {
24
+ "torch": "2.14.1"
25
+ },
26
+ "platform": "macOS-26.7-arm64-arm-64bit",
27
+ "python": "3.12.13",
28
+ "seeds": [
29
+ 0,
30
+ 1,
31
+ 2
32
+ ],
33
+ "source_sha256": {
34
+ "scripts/run_a6_tiny.py": "62a632c65003a10c5f35b1a586f7a62cfae3605db0c39d9ae48914367ea7aa1e",
35
+ "src/abstractgym/a6.py": "975b3d76fc9503e11e8f0ad8c57aa27162250298d4316d949145e6df80dbbfe2",
36
+ "src/abstractgym/a6_model.py": "d13c0b913ba39cd3c8371147d2495b185c24d8d15225cd68bc11e1aa2ebd72f7",
37
+ "src/abstractgym/brackets.py": "9fa8b835c0aac8fa26177b032f1fc07e1bb0964f7ec01fd0f83ad11b74e0550f"
38
+ },
39
+ "threads": 2,
40
+ "training": {
41
+ "deduplicated_step_examples": 36,
42
+ "direct_examples": 367,
43
+ "direct_positive": 31,
44
+ "direct_sampling": "balanced labels, replacement; separate matched model",
45
+ "max_depth": 4,
46
+ "raw_step_examples": 2305,
47
+ "symbols": "uvwxy",
48
+ "trajectories": 367
49
+ },
50
+ "training_hash": "8fa8728efdda11e741e8ec16c2e0267cf0fd321e849119caea177055d15e5df0"
51
+ },
52
+ "training": {
53
+ "batch_size": 36,
54
+ "final_loss": 0.0007644929573871195,
55
+ "parameters": 68230,
56
+ "seconds": 1.179319791001035,
57
+ "steps": 800,
58
+ "train_accuracy": [
59
+ 36,
60
+ 36
61
+ ]
62
+ }
63
+ }
step/seed-2/config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "actions": [
3
+ "PUSH_0",
4
+ "PUSH_1",
5
+ "CENTER",
6
+ "POP",
7
+ "ACCEPT",
8
+ "REJECT"
9
+ ],
10
+ "code_branch": "main",
11
+ "dropout": 0,
12
+ "dtype": "float32",
13
+ "family": "step",
14
+ "feedforward": 128,
15
+ "heads": 4,
16
+ "layers": 2,
17
+ "model_class": "abstractgym.a6_model.TinyTransformer",
18
+ "outputs": 6,
19
+ "position_limit": 256,
20
+ "seed": 2,
21
+ "vocabulary": [
22
+ "PAD",
23
+ "CLS",
24
+ "opening",
25
+ "closing",
26
+ "OPEN_0",
27
+ "OPEN_1",
28
+ "CLOSE_0",
29
+ "CLOSE_1",
30
+ "CENTER",
31
+ "END",
32
+ "EMPTY",
33
+ "DIRECT"
34
+ ],
35
+ "width": 64
36
+ }
step/seed-2/conversion_verification.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "all_tensors_bitwise_equal": true,
3
+ "family": "step",
4
+ "published_sha256": "7a2d655c83a05f98193abb506ab5e7d181d4463fd21a6dbc1934b43cc7abf213",
5
+ "saved_predictions_reproduced": {
6
+ "exhaustive": 36,
7
+ "extra": 32,
8
+ "held_out": 92
9
+ },
10
+ "seed": 2,
11
+ "source_hash_manifest": "frozen.json",
12
+ "source_sha256": "e70093585cce216028e40d2ff4648b6bf356383d96e1706ffb5a2e86f656ca30",
13
+ "torch_version": "2.14.1"
14
+ }
step/seed-2/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a2d655c83a05f98193abb506ab5e7d181d4463fd21a6dbc1934b43cc7abf213
3
+ size 341256
step/seed-2/results.json ADDED
@@ -0,0 +1,291 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_accuracy": [
3
+ 988,
4
+ 988
5
+ ],
6
+ "condition": "tiny_trained",
7
+ "evaluation_seconds": 0.12443979099771241,
8
+ "exhaustive_check": [
9
+ 36,
10
+ 36
11
+ ],
12
+ "extra_depths": {
13
+ "32": [
14
+ 16,
15
+ 16
16
+ ],
17
+ "64": [
18
+ 16,
19
+ 16
20
+ ]
21
+ },
22
+ "first_error_median": null,
23
+ "held_out": {
24
+ "brackets": {
25
+ "by_depth": {
26
+ "0": [
27
+ 2,
28
+ 2
29
+ ],
30
+ "1": [
31
+ 4,
32
+ 4
33
+ ],
34
+ "16": [
35
+ 8,
36
+ 8
37
+ ],
38
+ "2": [
39
+ 8,
40
+ 8
41
+ ],
42
+ "3": [
43
+ 8,
44
+ 8
45
+ ],
46
+ "4": [
47
+ 8,
48
+ 8
49
+ ],
50
+ "8": [
51
+ 8,
52
+ 8
53
+ ]
54
+ },
55
+ "interpretation": {
56
+ "0": "beats both label-blind baselines",
57
+ "1": "beats both label-blind baselines",
58
+ "16": "beats both label-blind baselines",
59
+ "2": "beats both label-blind baselines",
60
+ "3": "beats both label-blind baselines",
61
+ "4": "beats both label-blind baselines",
62
+ "8": "beats both label-blind baselines"
63
+ }
64
+ },
65
+ "letters": {
66
+ "by_depth": {
67
+ "0": [
68
+ 2,
69
+ 2
70
+ ],
71
+ "1": [
72
+ 4,
73
+ 4
74
+ ],
75
+ "16": [
76
+ 8,
77
+ 8
78
+ ],
79
+ "2": [
80
+ 8,
81
+ 8
82
+ ],
83
+ "3": [
84
+ 8,
85
+ 8
86
+ ],
87
+ "4": [
88
+ 8,
89
+ 8
90
+ ],
91
+ "8": [
92
+ 8,
93
+ 8
94
+ ]
95
+ },
96
+ "interpretation": {
97
+ "0": "beats both label-blind baselines",
98
+ "1": "beats both label-blind baselines",
99
+ "16": "beats both label-blind baselines",
100
+ "2": "beats both label-blind baselines",
101
+ "3": "beats both label-blind baselines",
102
+ "4": "beats both label-blind baselines",
103
+ "8": "beats both label-blind baselines"
104
+ }
105
+ },
106
+ "total": [
107
+ 92,
108
+ 92
109
+ ]
110
+ },
111
+ "label_blind": {
112
+ "always_accept": [
113
+ 46,
114
+ 92
115
+ ],
116
+ "always_reject": [
117
+ 46,
118
+ 92
119
+ ],
120
+ "by_cell": {
121
+ "brackets": {
122
+ "0": {
123
+ "always_accept": [
124
+ 1,
125
+ 2
126
+ ],
127
+ "always_reject": [
128
+ 1,
129
+ 2
130
+ ]
131
+ },
132
+ "1": {
133
+ "always_accept": [
134
+ 2,
135
+ 4
136
+ ],
137
+ "always_reject": [
138
+ 2,
139
+ 4
140
+ ]
141
+ },
142
+ "16": {
143
+ "always_accept": [
144
+ 4,
145
+ 8
146
+ ],
147
+ "always_reject": [
148
+ 4,
149
+ 8
150
+ ]
151
+ },
152
+ "2": {
153
+ "always_accept": [
154
+ 4,
155
+ 8
156
+ ],
157
+ "always_reject": [
158
+ 4,
159
+ 8
160
+ ]
161
+ },
162
+ "3": {
163
+ "always_accept": [
164
+ 4,
165
+ 8
166
+ ],
167
+ "always_reject": [
168
+ 4,
169
+ 8
170
+ ]
171
+ },
172
+ "4": {
173
+ "always_accept": [
174
+ 4,
175
+ 8
176
+ ],
177
+ "always_reject": [
178
+ 4,
179
+ 8
180
+ ]
181
+ },
182
+ "8": {
183
+ "always_accept": [
184
+ 4,
185
+ 8
186
+ ],
187
+ "always_reject": [
188
+ 4,
189
+ 8
190
+ ]
191
+ }
192
+ },
193
+ "letters": {
194
+ "0": {
195
+ "always_accept": [
196
+ 1,
197
+ 2
198
+ ],
199
+ "always_reject": [
200
+ 1,
201
+ 2
202
+ ]
203
+ },
204
+ "1": {
205
+ "always_accept": [
206
+ 2,
207
+ 4
208
+ ],
209
+ "always_reject": [
210
+ 2,
211
+ 4
212
+ ]
213
+ },
214
+ "16": {
215
+ "always_accept": [
216
+ 4,
217
+ 8
218
+ ],
219
+ "always_reject": [
220
+ 4,
221
+ 8
222
+ ]
223
+ },
224
+ "2": {
225
+ "always_accept": [
226
+ 4,
227
+ 8
228
+ ],
229
+ "always_reject": [
230
+ 4,
231
+ 8
232
+ ]
233
+ },
234
+ "3": {
235
+ "always_accept": [
236
+ 4,
237
+ 8
238
+ ],
239
+ "always_reject": [
240
+ 4,
241
+ 8
242
+ ]
243
+ },
244
+ "4": {
245
+ "always_accept": [
246
+ 4,
247
+ 8
248
+ ],
249
+ "always_reject": [
250
+ 4,
251
+ 8
252
+ ]
253
+ },
254
+ "8": {
255
+ "always_accept": [
256
+ 4,
257
+ 8
258
+ ],
259
+ "always_reject": [
260
+ 4,
261
+ 8
262
+ ]
263
+ }
264
+ }
265
+ }
266
+ },
267
+ "model_revisions": {
268
+ "direct-2.pt": "5e14beeb2d5e742967d56c86677e37a4b0b8d2a1097d3c1d50f78d71fe29a782",
269
+ "step-2.pt": "e70093585cce216028e40d2ff4648b6bf356383d96e1706ffb5a2e86f656ca30"
270
+ },
271
+ "push_value_errors": 0,
272
+ "seed": 2,
273
+ "token_usage": {
274
+ "direct_input_tokens": 1442,
275
+ "execution_input_tokens": 3952,
276
+ "execution_output_classes": 988
277
+ },
278
+ "train_examples": 2305,
279
+ "training": {
280
+ "batch_size": 36,
281
+ "final_loss": 0.0006954485434107482,
282
+ "parameters": 68230,
283
+ "seconds": 1.3472057079998194,
284
+ "steps": 800,
285
+ "train_accuracy": [
286
+ 36,
287
+ 36
288
+ ]
289
+ },
290
+ "unique_train_examples": 36
291
+ }
step/seed-2/training.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "plan": {
3
+ "architecture": {
4
+ "attention": "bidirectional encoder, CLS readout",
5
+ "dropout": 0,
6
+ "feedforward": 128,
7
+ "heads": 4,
8
+ "layers": 2,
9
+ "position": "fixed sinusoidal",
10
+ "width": 64
11
+ },
12
+ "device": "cpu",
13
+ "dtype": "float32",
14
+ "git_revision": "39bca8d1f7dd0324010f76d6eb44a68ea719d572",
15
+ "hardware": "arm",
16
+ "optimizer": {
17
+ "clip_norm": 1.0,
18
+ "lr": 0.001,
19
+ "name": "AdamW",
20
+ "schedule": "cosine to 1e-5",
21
+ "weight_decay": 0.01
22
+ },
23
+ "packages": {
24
+ "torch": "2.14.1"
25
+ },
26
+ "platform": "macOS-26.7-arm64-arm-64bit",
27
+ "python": "3.12.13",
28
+ "seeds": [
29
+ 0,
30
+ 1,
31
+ 2
32
+ ],
33
+ "source_sha256": {
34
+ "scripts/run_a6_tiny.py": "62a632c65003a10c5f35b1a586f7a62cfae3605db0c39d9ae48914367ea7aa1e",
35
+ "src/abstractgym/a6.py": "975b3d76fc9503e11e8f0ad8c57aa27162250298d4316d949145e6df80dbbfe2",
36
+ "src/abstractgym/a6_model.py": "d13c0b913ba39cd3c8371147d2495b185c24d8d15225cd68bc11e1aa2ebd72f7",
37
+ "src/abstractgym/brackets.py": "9fa8b835c0aac8fa26177b032f1fc07e1bb0964f7ec01fd0f83ad11b74e0550f"
38
+ },
39
+ "threads": 2,
40
+ "training": {
41
+ "deduplicated_step_examples": 36,
42
+ "direct_examples": 367,
43
+ "direct_positive": 31,
44
+ "direct_sampling": "balanced labels, replacement; separate matched model",
45
+ "max_depth": 4,
46
+ "raw_step_examples": 2305,
47
+ "symbols": "uvwxy",
48
+ "trajectories": 367
49
+ },
50
+ "training_hash": "8fa8728efdda11e741e8ec16c2e0267cf0fd321e849119caea177055d15e5df0"
51
+ },
52
+ "training": {
53
+ "batch_size": 36,
54
+ "final_loss": 0.0006954485434107482,
55
+ "parameters": 68230,
56
+ "seconds": 1.3472057079998194,
57
+ "steps": 800,
58
+ "train_accuracy": [
59
+ 36,
60
+ 36
61
+ ]
62
+ }
63
+ }
trace/seed-0/config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "actions": [
3
+ "PUSH_0",
4
+ "PUSH_1",
5
+ "CENTER",
6
+ "POP",
7
+ "ACCEPT",
8
+ "REJECT"
9
+ ],
10
+ "code_branch": "main",
11
+ "dropout": 0,
12
+ "dtype": "float32",
13
+ "family": "trace",
14
+ "feedforward": 128,
15
+ "heads": 4,
16
+ "layers": 2,
17
+ "model_class": "run_a6_tiny_trace.TraceTransformer",
18
+ "outputs": 15,
19
+ "position_limit": 256,
20
+ "seed": 0,
21
+ "vocabulary": [
22
+ "PAD",
23
+ "CLS",
24
+ "END",
25
+ "SEP",
26
+ "EOS",
27
+ "OPEN_0",
28
+ "OPEN_1",
29
+ "CLOSE_0",
30
+ "CLOSE_1",
31
+ "PUSH_0",
32
+ "PUSH_1",
33
+ "CENTER",
34
+ "POP",
35
+ "ACCEPT",
36
+ "REJECT"
37
+ ],
38
+ "width": 64
39
+ }
trace/seed-0/conversion_verification.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "all_tensors_bitwise_equal": true,
3
+ "family": "trace",
4
+ "published_sha256": "e506bfd329fcf518b60b9d904e29045cbb4521a8ee93fce9ab19884654afe35d",
5
+ "saved_predictions_reproduced": {
6
+ "free_running": 92,
7
+ "injected_history": 192,
8
+ "teacher_forced": 92
9
+ },
10
+ "seed": 0,
11
+ "source_hash_manifest": "frozen.json",
12
+ "source_sha256": "bca522a8d4ac96fc3f10464784c96ecb182f505efeb5a73b41ac9cf71f0337eb",
13
+ "torch_version": "2.14.1"
14
+ }