omrisap commited on
Commit
eb98859
·
verified ·
1 Parent(s): ab831e5

Upload Phase 2 codebook artifacts for V16 V32 V128 V256

Browse files
Files changed (50) hide show
  1. README.md +42 -0
  2. V128/checkpoint_latest.pt +3 -0
  3. V128/checkpoints/checkpoint_step_000250.pt +3 -0
  4. V128/checkpoints/checkpoint_step_000500.pt +3 -0
  5. V128/checkpoints/checkpoint_step_000750.pt +3 -0
  6. V128/checkpoints/checkpoint_step_001000.pt +3 -0
  7. V128/checkpoints/checkpoint_step_001000_final.pt +3 -0
  8. V128/codebook.pt +3 -0
  9. V128/diagnostics.json +152 -0
  10. V128/train_history.json +0 -0
  11. V128/transition_vq_model.pt +3 -0
  12. V128/z_trace_manifest.json +45 -0
  13. V128/z_traces.pt +3 -0
  14. V16/checkpoint_latest.pt +3 -0
  15. V16/checkpoints/checkpoint_step_000250.pt +3 -0
  16. V16/checkpoints/checkpoint_step_000500.pt +3 -0
  17. V16/checkpoints/checkpoint_step_000750.pt +3 -0
  18. V16/checkpoints/checkpoint_step_001000.pt +3 -0
  19. V16/checkpoints/checkpoint_step_001000_final.pt +3 -0
  20. V16/codebook.pt +3 -0
  21. V16/diagnostics.json +40 -0
  22. V16/train_history.json +0 -0
  23. V16/transition_vq_model.pt +3 -0
  24. V16/z_trace_manifest.json +45 -0
  25. V16/z_traces.pt +3 -0
  26. V256/checkpoint_latest.pt +3 -0
  27. V256/checkpoints/checkpoint_step_000250.pt +3 -0
  28. V256/checkpoints/checkpoint_step_000500.pt +3 -0
  29. V256/checkpoints/checkpoint_step_000750.pt +3 -0
  30. V256/checkpoints/checkpoint_step_001000.pt +3 -0
  31. V256/checkpoints/checkpoint_step_001000_final.pt +3 -0
  32. V256/codebook.pt +3 -0
  33. V256/diagnostics.json +280 -0
  34. V256/train_history.json +0 -0
  35. V256/transition_vq_model.pt +3 -0
  36. V256/z_trace_manifest.json +45 -0
  37. V256/z_traces.pt +3 -0
  38. V32/checkpoint_latest.pt +3 -0
  39. V32/checkpoints/checkpoint_step_000250.pt +3 -0
  40. V32/checkpoints/checkpoint_step_000500.pt +3 -0
  41. V32/checkpoints/checkpoint_step_000750.pt +3 -0
  42. V32/checkpoints/checkpoint_step_001000.pt +3 -0
  43. V32/checkpoints/checkpoint_step_001000_final.pt +3 -0
  44. V32/codebook.pt +3 -0
  45. V32/diagnostics.json +56 -0
  46. V32/train_history.json +0 -0
  47. V32/transition_vq_model.pt +3 -0
  48. V32/z_trace_manifest.json +45 -0
  49. V32/z_traces.pt +3 -0
  50. upload_summary.json +534 -0
README.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ tags:
4
+ - dl-trm
5
+ - arc
6
+ - codebook
7
+ - vector-quantization
8
+ - latent-traces
9
+ ---
10
+
11
+ # DL-TRM Phase 2 Codebooks
12
+
13
+ This dataset repository contains Phase 2 transition VQ codebook artifacts for DL-TRM.
14
+
15
+ Contents are organized by vocabulary size:
16
+
17
+ - `V16/`
18
+ - `V32/`
19
+ - `V128/`
20
+ - `V256/`
21
+
22
+ Each folder includes:
23
+
24
+ - `z_traces.pt`: discrete Z trace dataset for the Phase 1 route traces
25
+ - `codebook.pt`: learned VQ codebook weights
26
+ - `transition_vq_model.pt`: trained transition VQ model weights
27
+ - `diagnostics.json`: code usage and final training diagnostics
28
+ - `z_trace_manifest.json`: artifact manifest
29
+ - `checkpoints/`: periodic training checkpoints at steps 250, 500, 750, and 1000
30
+
31
+ Training settings:
32
+
33
+ - `batch_size=16`
34
+ - `max_steps=1000`
35
+ - `lr=3e-5`
36
+ - `codebook_weight=1.0`
37
+ - `commitment_weight=1.0`
38
+ - `hidden_weight=1.0`
39
+ - `final_logit_weight=1.0`
40
+ - `direction_weight=0.0`
41
+
42
+ See `upload_summary.json` for final diagnostics across all vocabulary sizes.
V128/checkpoint_latest.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfb601fada8668b547dac19d9413cffbe9e6a705a1d81672291c692899632a99
3
+ size 19861447
V128/checkpoints/checkpoint_step_000250.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:557e55f62fd44f6d7b005a5f62ad6af39cedb368795cbca95870f200fca88f61
3
+ size 19861981
V128/checkpoints/checkpoint_step_000500.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95243b490bea4679bfa2ce3d35c78ef3186fe55441b7ef70b9489dec639b0133
3
+ size 19861981
V128/checkpoints/checkpoint_step_000750.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:474fa3eb9f79c00d01e59d814bd3adaedacfdc7edf596ee5152fcda70c8e54fd
3
+ size 19861981
V128/checkpoints/checkpoint_step_001000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72f782b8469a4a37c260fa5765c3ecb135f91a8b2c8f3a1a8a466149f9020fb7
3
+ size 19861981
V128/checkpoints/checkpoint_step_001000_final.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea2cf0b9baf41f6cf1d19b90158032d94cd8e27ec48987b4f187c2b5e7f7301a
3
+ size 19862545
V128/codebook.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c71a585e0aa38ee5a2dac8862cccffb0c03ac41f8b2ef4d7dfb14e26ec9db43d
3
+ size 34352
V128/diagnostics.json ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 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
99
+ 1,
100
+ 0,
101
+ 0,
102
+ 0,
103
+ 0,
104
+ 0,
105
+ 0,
106
+ 0,
107
+ 0,
108
+ 0,
109
+ 0,
110
+ 0,
111
+ 0,
112
+ 34472,
113
+ 0,
114
+ 0,
115
+ 0,
116
+ 28000,
117
+ 0,
118
+ 0,
119
+ 0,
120
+ 0,
121
+ 0,
122
+ 0,
123
+ 0,
124
+ 0,
125
+ 0,
126
+ 0,
127
+ 0,
128
+ 0,
129
+ 0,
130
+ 0
131
+ ],
132
+ "code_usage_entropy": 1.2754660844802856,
133
+ "dead_codes": 118,
134
+ "elapsed_sec": 3384.413779258728,
135
+ "final_train_metrics": {
136
+ "codebook_loss": 0.041748046875,
137
+ "commitment_loss": 0.041748046875,
138
+ "direction_loss": 0.993837833404541,
139
+ "epoch": 2,
140
+ "final_logit_loss": 0.9247719049453735,
141
+ "hidden_mse": 0.19433322548866272,
142
+ "loss": 1.2026011943817139,
143
+ "step": 1000,
144
+ "task_loss_no_vq": 1.1191051006317139,
145
+ "vq_loss": 0.08349609375
146
+ },
147
+ "num_routes": 11400,
148
+ "num_tokens": 182400,
149
+ "trace_length": 16,
150
+ "used_codes": 10,
151
+ "vocab_size": 128
152
+ }
V128/train_history.json ADDED
The diff for this file is too large to render. See raw diff
 
V128/transition_vq_model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d810580d9e4acd404799394aba576f304778662c3d0ec110b632e069b2a3a284
3
+ size 6619249
V128/z_trace_manifest.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifact_type": "phase2_z_trace_dataset",
3
+ "codebook_file": "codebook.pt",
4
+ "config": {
5
+ "action_dim": 128,
6
+ "batch_size": 16,
7
+ "codebook_weight": 1.0,
8
+ "commitment_weight": 1.0,
9
+ "device": "auto",
10
+ "direction_weight": 0.0,
11
+ "dtype": "bfloat16",
12
+ "epochs": 5,
13
+ "final_logit_loss": "kl",
14
+ "final_logit_weight": 1.0,
15
+ "hidden_weight": 1.0,
16
+ "kl_temperature": 1.0,
17
+ "limit_routes": null,
18
+ "lr": 3e-05,
19
+ "max_steps": 1000,
20
+ "num_heads": 8,
21
+ "num_summary_queries": 4,
22
+ "num_workers": 0,
23
+ "output_dir": "outputs/phase2_z_codebook",
24
+ "phase1_checkpoint_package": "hf_eval_reloads/dl-trm-phase1-full-aug1000-holdout200-k15/checkpoint_package",
25
+ "phase1_trace_dir": "outputs/phase1_latent_traces/full_traces_medoid_routes",
26
+ "progress_interval": 20,
27
+ "save_interval": 250,
28
+ "seed": 7,
29
+ "vocab_size": 128,
30
+ "wandb_enabled": true,
31
+ "wandb_entity": null,
32
+ "wandb_project": "DL-TRM-phase2-codebook",
33
+ "wandb_run_name": "phase2_vq_V128_b16_s1000_lr3e-5_cw1_commit1_dir0",
34
+ "weight_decay": 0.01
35
+ },
36
+ "diagnostics_file": "diagnostics.json",
37
+ "model_file": "transition_vq_model.pt",
38
+ "num_routes": 11400,
39
+ "phase1_trace_manifest": "outputs/phase1_latent_traces/full_traces_medoid_routes/trace_manifest.json",
40
+ "token_schema": "one_token_per_transition",
41
+ "trace_length": 16,
42
+ "version": "phase2.v1",
43
+ "vocab_size": 128,
44
+ "z_traces_file": "z_traces.pt"
45
+ }
V128/z_traces.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2980fe524336f2792eeb9d0a4b9938678ff656362585c4783d6341c7fef1944
3
+ size 1867120
V16/checkpoint_latest.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c68e3d62e3a34c9230114f47699f26f6ab353902c074721e5c678c9d6cdf468e
3
+ size 19775431
V16/checkpoints/checkpoint_step_000250.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4982ef4ce4ebec0e54e1867466f610e7c03c769774172d5c54621eac053237f4
3
+ size 19775965
V16/checkpoints/checkpoint_step_000500.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc5378801458876572df12a79b3c7f53e93d66051bf656c500e4c0a0c4562168
3
+ size 19775965
V16/checkpoints/checkpoint_step_000750.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebdbf0ced028e5557afd792973fc582aec2c9088dd911184e427258a83ad0479
3
+ size 19775965
V16/checkpoints/checkpoint_step_001000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b09ebec8d05180efbfdb7f8f9f370008b11dc49777fd00379de90f30bc09c5a9
3
+ size 19775965
V16/checkpoints/checkpoint_step_001000_final.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8f420f1abff2d81fc25e09674abb7d495e3f8eaf8c4ba92d8ed9eae13abba1d
3
+ size 19776529
V16/codebook.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be837ca57ddf88e043b603ae7b97de4bc3eb6ebf1a6022128937b35c5a3b0f30
3
+ size 5680
V16/diagnostics.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "code_counts": [
3
+ 420,
4
+ 2993,
5
+ 5394,
6
+ 50721,
7
+ 785,
8
+ 3776,
9
+ 22289,
10
+ 375,
11
+ 855,
12
+ 26,
13
+ 605,
14
+ 407,
15
+ 10651,
16
+ 1291,
17
+ 64565,
18
+ 17247
19
+ ],
20
+ "code_usage_entropy": 1.7652589082717896,
21
+ "dead_codes": 0,
22
+ "elapsed_sec": 3411.835809469223,
23
+ "final_train_metrics": {
24
+ "codebook_loss": 0.08935546875,
25
+ "commitment_loss": 0.08935546875,
26
+ "direction_loss": 0.9951509237289429,
27
+ "epoch": 2,
28
+ "final_logit_loss": 0.34035637974739075,
29
+ "hidden_mse": 0.17987637221813202,
30
+ "loss": 0.6989436745643616,
31
+ "step": 1000,
32
+ "task_loss_no_vq": 0.5202327370643616,
33
+ "vq_loss": 0.1787109375
34
+ },
35
+ "num_routes": 11400,
36
+ "num_tokens": 182400,
37
+ "trace_length": 16,
38
+ "used_codes": 16,
39
+ "vocab_size": 16
40
+ }
V16/train_history.json ADDED
The diff for this file is too large to render. See raw diff
 
V16/transition_vq_model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed25391d8ebc6b310a63aabd61e42d5c20c512f7e3a8dda6a8c72aa9447d869b
3
+ size 6590577
V16/z_trace_manifest.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifact_type": "phase2_z_trace_dataset",
3
+ "codebook_file": "codebook.pt",
4
+ "config": {
5
+ "action_dim": 128,
6
+ "batch_size": 16,
7
+ "codebook_weight": 1.0,
8
+ "commitment_weight": 1.0,
9
+ "device": "auto",
10
+ "direction_weight": 0.0,
11
+ "dtype": "bfloat16",
12
+ "epochs": 5,
13
+ "final_logit_loss": "kl",
14
+ "final_logit_weight": 1.0,
15
+ "hidden_weight": 1.0,
16
+ "kl_temperature": 1.0,
17
+ "limit_routes": null,
18
+ "lr": 3e-05,
19
+ "max_steps": 1000,
20
+ "num_heads": 8,
21
+ "num_summary_queries": 4,
22
+ "num_workers": 0,
23
+ "output_dir": "outputs/phase2_z_codebook",
24
+ "phase1_checkpoint_package": "hf_eval_reloads/dl-trm-phase1-full-aug1000-holdout200-k15/checkpoint_package",
25
+ "phase1_trace_dir": "outputs/phase1_latent_traces/full_traces_medoid_routes",
26
+ "progress_interval": 20,
27
+ "save_interval": 250,
28
+ "seed": 7,
29
+ "vocab_size": 16,
30
+ "wandb_enabled": true,
31
+ "wandb_entity": null,
32
+ "wandb_project": "DL-TRM-phase2-codebook",
33
+ "wandb_run_name": "phase2_vq_V16_b16_s1000_lr3e-5_cw1_commit1_dir0",
34
+ "weight_decay": 0.01
35
+ },
36
+ "diagnostics_file": "diagnostics.json",
37
+ "model_file": "transition_vq_model.pt",
38
+ "num_routes": 11400,
39
+ "phase1_trace_manifest": "outputs/phase1_latent_traces/full_traces_medoid_routes/trace_manifest.json",
40
+ "token_schema": "one_token_per_transition",
41
+ "trace_length": 16,
42
+ "version": "phase2.v1",
43
+ "vocab_size": 16,
44
+ "z_traces_file": "z_traces.pt"
45
+ }
V16/z_traces.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:060386338323e01416f44e6163d6913cda421b6a50dfe23fc72ded7d6bb7f98e
3
+ size 1867120
V256/checkpoint_latest.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be504a1bd99e0aae296677406de1f407445fd9d56ef47972b27364b53609ac8e
3
+ size 19959751
V256/checkpoints/checkpoint_step_000250.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08adec2f796ce23df4bb73b25dc8438ecb5d137a7215b0087d5856fd40f3a224
3
+ size 19960285
V256/checkpoints/checkpoint_step_000500.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3088473df4ddbaa28d4977c9dca8ad5e79ce0dec09335e860a96f086010fbe6
3
+ size 19960285
V256/checkpoints/checkpoint_step_000750.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd3568e98bb3647ed6c8bf8f1512580a3aece045a701578d84f3fcea03a15751
3
+ size 19960285
V256/checkpoints/checkpoint_step_001000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa44590304356fd62a06bc0042e3dbde95ff6ff33930e086cee6de8111185b55
3
+ size 19960285
V256/checkpoints/checkpoint_step_001000_final.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39d187669c610eed87abbc2b2d773c94bb0b67399afbbd8c1b6e0c8fbb6f9a4d
3
+ size 19960913
V256/codebook.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a334c22aaf3818c5e5913caf6c17f138e71d073131a90244a7a8ef10a4a95983
3
+ size 67120
V256/diagnostics.json ADDED
@@ -0,0 +1,280 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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+ 0,
111
+ 0,
112
+ 0,
113
+ 0,
114
+ 0,
115
+ 0,
116
+ 8313,
117
+ 0,
118
+ 0,
119
+ 0,
120
+ 0,
121
+ 0,
122
+ 0,
123
+ 0,
124
+ 1,
125
+ 0,
126
+ 0,
127
+ 0,
128
+ 0,
129
+ 0,
130
+ 0,
131
+ 0,
132
+ 0,
133
+ 0,
134
+ 0,
135
+ 0,
136
+ 0,
137
+ 0,
138
+ 0,
139
+ 0,
140
+ 0,
141
+ 0,
142
+ 0,
143
+ 0,
144
+ 0,
145
+ 0,
146
+ 0,
147
+ 0,
148
+ 0,
149
+ 0,
150
+ 0,
151
+ 0,
152
+ 0,
153
+ 0,
154
+ 0,
155
+ 0,
156
+ 0,
157
+ 0,
158
+ 0,
159
+ 0,
160
+ 0,
161
+ 0,
162
+ 0,
163
+ 0,
164
+ 0,
165
+ 0,
166
+ 0,
167
+ 0,
168
+ 0,
169
+ 0,
170
+ 0,
171
+ 0,
172
+ 0,
173
+ 0,
174
+ 0,
175
+ 0,
176
+ 0,
177
+ 0,
178
+ 8,
179
+ 1,
180
+ 0,
181
+ 0,
182
+ 0,
183
+ 2,
184
+ 0,
185
+ 0,
186
+ 0,
187
+ 0,
188
+ 0,
189
+ 0,
190
+ 0,
191
+ 0,
192
+ 0,
193
+ 0,
194
+ 0,
195
+ 6,
196
+ 0,
197
+ 0,
198
+ 0,
199
+ 0,
200
+ 0,
201
+ 0,
202
+ 0,
203
+ 0,
204
+ 0,
205
+ 0,
206
+ 0,
207
+ 0,
208
+ 0,
209
+ 0,
210
+ 0,
211
+ 0,
212
+ 0,
213
+ 0,
214
+ 0,
215
+ 39624,
216
+ 0,
217
+ 0,
218
+ 0,
219
+ 0,
220
+ 150,
221
+ 0,
222
+ 0,
223
+ 0,
224
+ 0,
225
+ 79409,
226
+ 0,
227
+ 0,
228
+ 0,
229
+ 0,
230
+ 0,
231
+ 3,
232
+ 0,
233
+ 0,
234
+ 0,
235
+ 0,
236
+ 0,
237
+ 0,
238
+ 0,
239
+ 0,
240
+ 0,
241
+ 0,
242
+ 0,
243
+ 0,
244
+ 0,
245
+ 0,
246
+ 0,
247
+ 0,
248
+ 0,
249
+ 0,
250
+ 0,
251
+ 0,
252
+ 0,
253
+ 0,
254
+ 0,
255
+ 0,
256
+ 0,
257
+ 0,
258
+ 27795
259
+ ],
260
+ "code_usage_entropy": 1.4485268592834473,
261
+ "dead_codes": 236,
262
+ "elapsed_sec": 3590.5774664878845,
263
+ "final_train_metrics": {
264
+ "codebook_loss": 0.0264892578125,
265
+ "commitment_loss": 0.0264892578125,
266
+ "direction_loss": 0.9922971725463867,
267
+ "epoch": 2,
268
+ "final_logit_loss": 0.9775413870811462,
269
+ "hidden_mse": 0.1872950941324234,
270
+ "loss": 1.2178150415420532,
271
+ "step": 1000,
272
+ "task_loss_no_vq": 1.1648365259170532,
273
+ "vq_loss": 0.052978515625
274
+ },
275
+ "num_routes": 11400,
276
+ "num_tokens": 182400,
277
+ "trace_length": 16,
278
+ "used_codes": 20,
279
+ "vocab_size": 256
280
+ }
V256/train_history.json ADDED
The diff for this file is too large to render. See raw diff
 
V256/transition_vq_model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:585ac6216de5a959fe200a0952330af320573043354795979b36b58ee014065a
3
+ size 6652017
V256/z_trace_manifest.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifact_type": "phase2_z_trace_dataset",
3
+ "codebook_file": "codebook.pt",
4
+ "config": {
5
+ "action_dim": 128,
6
+ "batch_size": 16,
7
+ "codebook_weight": 1.0,
8
+ "commitment_weight": 1.0,
9
+ "device": "auto",
10
+ "direction_weight": 0.0,
11
+ "dtype": "bfloat16",
12
+ "epochs": 5,
13
+ "final_logit_loss": "kl",
14
+ "final_logit_weight": 1.0,
15
+ "hidden_weight": 1.0,
16
+ "kl_temperature": 1.0,
17
+ "limit_routes": null,
18
+ "lr": 3e-05,
19
+ "max_steps": 1000,
20
+ "num_heads": 8,
21
+ "num_summary_queries": 4,
22
+ "num_workers": 0,
23
+ "output_dir": "outputs/phase2_z_codebook",
24
+ "phase1_checkpoint_package": "hf_eval_reloads/dl-trm-phase1-full-aug1000-holdout200-k15/checkpoint_package",
25
+ "phase1_trace_dir": "outputs/phase1_latent_traces/full_traces_medoid_routes",
26
+ "progress_interval": 20,
27
+ "save_interval": 250,
28
+ "seed": 7,
29
+ "vocab_size": 256,
30
+ "wandb_enabled": true,
31
+ "wandb_entity": null,
32
+ "wandb_project": "DL-TRM-phase2-codebook",
33
+ "wandb_run_name": "phase2_vq_V256_b16_s1000_lr3e-5_cw1_commit1_dir0",
34
+ "weight_decay": 0.01
35
+ },
36
+ "diagnostics_file": "diagnostics.json",
37
+ "model_file": "transition_vq_model.pt",
38
+ "num_routes": 11400,
39
+ "phase1_trace_manifest": "outputs/phase1_latent_traces/full_traces_medoid_routes/trace_manifest.json",
40
+ "token_schema": "one_token_per_transition",
41
+ "trace_length": 16,
42
+ "version": "phase2.v1",
43
+ "vocab_size": 256,
44
+ "z_traces_file": "z_traces.pt"
45
+ }
V256/z_traces.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:850eb4becd4278f419cdf87326b6995ec59b547f642e3c9d1a2b0cebd3ff38c9
3
+ size 1867120
V32/checkpoint_latest.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:277a60c9af3905a214099b96066e09f28ea5fc2ed49e135edf32c4b1ec77b513
3
+ size 19787719
V32/checkpoints/checkpoint_step_000250.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60dc921ae0fb91eec3f1f89d3326d7bbed0fd15728ac95d949f9675c9b8374b7
3
+ size 19788253
V32/checkpoints/checkpoint_step_000500.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33f1bbd287a094ad67bb35e4cfb739a0f21e17149b8ff3bb922f33be0a6153c9
3
+ size 19788253
V32/checkpoints/checkpoint_step_000750.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21e7174796f41b5cdbef56ccc35bf93e0327d8f9934df6e8ac6e9c219d7d1130
3
+ size 19788253
V32/checkpoints/checkpoint_step_001000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4bb4f53e07619f37c3aeb756d32a3e8e99ac929bff3e5142fa630b9be8c730d
3
+ size 19788253
V32/checkpoints/checkpoint_step_001000_final.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6cdf22ea215036560fdbc23c27f95040cebbb3e1855d1d44cb7cb8bc8d736495
3
+ size 19788817
V32/codebook.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e5cb67359ea8ca099665b718d93a93ec1681ac954dd3713993f7bc64a3d5851
3
+ size 9776
V32/diagnostics.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "code_counts": [
3
+ 12,
4
+ 32,
5
+ 1018,
6
+ 1121,
7
+ 157,
8
+ 209,
9
+ 1,
10
+ 2,
11
+ 116,
12
+ 356,
13
+ 72131,
14
+ 12060,
15
+ 4671,
16
+ 5,
17
+ 212,
18
+ 1,
19
+ 272,
20
+ 666,
21
+ 126,
22
+ 166,
23
+ 3611,
24
+ 21,
25
+ 2882,
26
+ 78,
27
+ 29,
28
+ 0,
29
+ 17,
30
+ 5603,
31
+ 76089,
32
+ 727,
33
+ 9,
34
+ 0
35
+ ],
36
+ "code_usage_entropy": 1.4274308681488037,
37
+ "dead_codes": 2,
38
+ "elapsed_sec": 3492.775626182556,
39
+ "final_train_metrics": {
40
+ "codebook_loss": 0.0732421875,
41
+ "commitment_loss": 0.0732421875,
42
+ "direction_loss": 0.995259165763855,
43
+ "epoch": 2,
44
+ "final_logit_loss": 0.681365430355072,
45
+ "hidden_mse": 0.18821148574352264,
46
+ "loss": 1.0160613059997559,
47
+ "step": 1000,
48
+ "task_loss_no_vq": 0.8695769309997559,
49
+ "vq_loss": 0.146484375
50
+ },
51
+ "num_routes": 11400,
52
+ "num_tokens": 182400,
53
+ "trace_length": 16,
54
+ "used_codes": 30,
55
+ "vocab_size": 32
56
+ }
V32/train_history.json ADDED
The diff for this file is too large to render. See raw diff
 
V32/transition_vq_model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a57f70fc62341ea52afce9bb049f26a0bec9dd3afba1c385827dc87d9175fffb
3
+ size 6594673
V32/z_trace_manifest.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifact_type": "phase2_z_trace_dataset",
3
+ "codebook_file": "codebook.pt",
4
+ "config": {
5
+ "action_dim": 128,
6
+ "batch_size": 16,
7
+ "codebook_weight": 1.0,
8
+ "commitment_weight": 1.0,
9
+ "device": "auto",
10
+ "direction_weight": 0.0,
11
+ "dtype": "bfloat16",
12
+ "epochs": 5,
13
+ "final_logit_loss": "kl",
14
+ "final_logit_weight": 1.0,
15
+ "hidden_weight": 1.0,
16
+ "kl_temperature": 1.0,
17
+ "limit_routes": null,
18
+ "lr": 3e-05,
19
+ "max_steps": 1000,
20
+ "num_heads": 8,
21
+ "num_summary_queries": 4,
22
+ "num_workers": 0,
23
+ "output_dir": "outputs/phase2_z_codebook",
24
+ "phase1_checkpoint_package": "hf_eval_reloads/dl-trm-phase1-full-aug1000-holdout200-k15/checkpoint_package",
25
+ "phase1_trace_dir": "outputs/phase1_latent_traces/full_traces_medoid_routes",
26
+ "progress_interval": 20,
27
+ "save_interval": 250,
28
+ "seed": 7,
29
+ "vocab_size": 32,
30
+ "wandb_enabled": true,
31
+ "wandb_entity": null,
32
+ "wandb_project": "DL-TRM-phase2-codebook",
33
+ "wandb_run_name": "phase2_vq_V32_b16_s1000_lr3e-5_cw1_commit1_dir0",
34
+ "weight_decay": 0.01
35
+ },
36
+ "diagnostics_file": "diagnostics.json",
37
+ "model_file": "transition_vq_model.pt",
38
+ "num_routes": 11400,
39
+ "phase1_trace_manifest": "outputs/phase1_latent_traces/full_traces_medoid_routes/trace_manifest.json",
40
+ "token_schema": "one_token_per_transition",
41
+ "trace_length": 16,
42
+ "version": "phase2.v1",
43
+ "vocab_size": 32,
44
+ "z_traces_file": "z_traces.pt"
45
+ }
V32/z_traces.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85ef3b38ec624b5a23355fd12dc344f996a2280e9af715a372d5a0dc23ef7066
3
+ size 1867120
upload_summary.json ADDED
@@ -0,0 +1,534 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
19
+ 0,
20
+ 0,
21
+ 0,
22
+ 0,
23
+ 0,
24
+ 0,
25
+ 0,
26
+ 0,
27
+ 0,
28
+ 0,
29
+ 0,
30
+ 1,
31
+ 0,
32
+ 0,
33
+ 0,
34
+ 0,
35
+ 0,
36
+ 0,
37
+ 0,
38
+ 0,
39
+ 0,
40
+ 0,
41
+ 0,
42
+ 84958,
43
+ 0,
44
+ 0,
45
+ 0,
46
+ 0,
47
+ 0,
48
+ 0,
49
+ 0,
50
+ 1,
51
+ 0,
52
+ 0,
53
+ 1,
54
+ 0,
55
+ 0,
56
+ 1,
57
+ 0,
58
+ 0,
59
+ 0,
60
+ 0,
61
+ 0,
62
+ 0,
63
+ 0,
64
+ 0,
65
+ 0,
66
+ 0,
67
+ 0,
68
+ 1,
69
+ 0,
70
+ 0,
71
+ 0,
72
+ 0,
73
+ 0,
74
+ 0,
75
+ 0,
76
+ 0,
77
+ 34964,
78
+ 0,
79
+ 0,
80
+ 0,
81
+ 0,
82
+ 0,
83
+ 0,
84
+ 0,
85
+ 0,
86
+ 0,
87
+ 0,
88
+ 0,
89
+ 0,
90
+ 0,
91
+ 0,
92
+ 0,
93
+ 0,
94
+ 0,
95
+ 0,
96
+ 0,
97
+ 0,
98
+ 0,
99
+ 0,
100
+ 0,
101
+ 0,
102
+ 0,
103
+ 1,
104
+ 0,
105
+ 0,
106
+ 0,
107
+ 0,
108
+ 0,
109
+ 0,
110
+ 0,
111
+ 0,
112
+ 0,
113
+ 0,
114
+ 0,
115
+ 0,
116
+ 34472,
117
+ 0,
118
+ 0,
119
+ 0,
120
+ 28000,
121
+ 0,
122
+ 0,
123
+ 0,
124
+ 0,
125
+ 0,
126
+ 0,
127
+ 0,
128
+ 0,
129
+ 0,
130
+ 0,
131
+ 0,
132
+ 0,
133
+ 0,
134
+ 0
135
+ ],
136
+ "code_usage_entropy": 1.2754660844802856,
137
+ "dead_codes": 118,
138
+ "elapsed_sec": 3384.413779258728,
139
+ "final_train_metrics": {
140
+ "codebook_loss": 0.041748046875,
141
+ "commitment_loss": 0.041748046875,
142
+ "direction_loss": 0.993837833404541,
143
+ "epoch": 2,
144
+ "final_logit_loss": 0.9247719049453735,
145
+ "hidden_mse": 0.19433322548866272,
146
+ "loss": 1.2026011943817139,
147
+ "step": 1000,
148
+ "task_loss_no_vq": 1.1191051006317139,
149
+ "vq_loss": 0.08349609375
150
+ },
151
+ "num_routes": 11400,
152
+ "num_tokens": 182400,
153
+ "trace_length": 16,
154
+ "used_codes": 10,
155
+ "vocab_size": 128
156
+ },
157
+ "V16": {
158
+ "code_counts": [
159
+ 420,
160
+ 2993,
161
+ 5394,
162
+ 50721,
163
+ 785,
164
+ 3776,
165
+ 22289,
166
+ 375,
167
+ 855,
168
+ 26,
169
+ 605,
170
+ 407,
171
+ 10651,
172
+ 1291,
173
+ 64565,
174
+ 17247
175
+ ],
176
+ "code_usage_entropy": 1.7652589082717896,
177
+ "dead_codes": 0,
178
+ "elapsed_sec": 3411.835809469223,
179
+ "final_train_metrics": {
180
+ "codebook_loss": 0.08935546875,
181
+ "commitment_loss": 0.08935546875,
182
+ "direction_loss": 0.9951509237289429,
183
+ "epoch": 2,
184
+ "final_logit_loss": 0.34035637974739075,
185
+ "hidden_mse": 0.17987637221813202,
186
+ "loss": 0.6989436745643616,
187
+ "step": 1000,
188
+ "task_loss_no_vq": 0.5202327370643616,
189
+ "vq_loss": 0.1787109375
190
+ },
191
+ "num_routes": 11400,
192
+ "num_tokens": 182400,
193
+ "trace_length": 16,
194
+ "used_codes": 16,
195
+ "vocab_size": 16
196
+ },
197
+ "V256": {
198
+ "code_counts": [
199
+ 0,
200
+ 0,
201
+ 0,
202
+ 0,
203
+ 0,
204
+ 0,
205
+ 0,
206
+ 16,
207
+ 0,
208
+ 32,
209
+ 0,
210
+ 0,
211
+ 0,
212
+ 0,
213
+ 0,
214
+ 0,
215
+ 0,
216
+ 0,
217
+ 0,
218
+ 0,
219
+ 0,
220
+ 0,
221
+ 0,
222
+ 0,
223
+ 0,
224
+ 0,
225
+ 0,
226
+ 0,
227
+ 0,
228
+ 25438,
229
+ 0,
230
+ 0,
231
+ 0,
232
+ 0,
233
+ 0,
234
+ 0,
235
+ 0,
236
+ 0,
237
+ 0,
238
+ 0,
239
+ 0,
240
+ 0,
241
+ 0,
242
+ 0,
243
+ 0,
244
+ 0,
245
+ 0,
246
+ 0,
247
+ 0,
248
+ 0,
249
+ 0,
250
+ 0,
251
+ 1,
252
+ 0,
253
+ 0,
254
+ 0,
255
+ 1,
256
+ 0,
257
+ 0,
258
+ 0,
259
+ 0,
260
+ 0,
261
+ 0,
262
+ 0,
263
+ 0,
264
+ 0,
265
+ 0,
266
+ 0,
267
+ 0,
268
+ 0,
269
+ 0,
270
+ 0,
271
+ 0,
272
+ 0,
273
+ 0,
274
+ 0,
275
+ 0,
276
+ 0,
277
+ 0,
278
+ 0,
279
+ 0,
280
+ 0,
281
+ 40,
282
+ 0,
283
+ 0,
284
+ 0,
285
+ 0,
286
+ 0,
287
+ 0,
288
+ 0,
289
+ 0,
290
+ 0,
291
+ 0,
292
+ 0,
293
+ 0,
294
+ 0,
295
+ 0,
296
+ 0,
297
+ 4,
298
+ 0,
299
+ 0,
300
+ 12,
301
+ 0,
302
+ 0,
303
+ 0,
304
+ 0,
305
+ 1544,
306
+ 0,
307
+ 0,
308
+ 0,
309
+ 0,
310
+ 0,
311
+ 0,
312
+ 8313,
313
+ 0,
314
+ 0,
315
+ 0,
316
+ 0,
317
+ 0,
318
+ 0,
319
+ 0,
320
+ 1,
321
+ 0,
322
+ 0,
323
+ 0,
324
+ 0,
325
+ 0,
326
+ 0,
327
+ 0,
328
+ 0,
329
+ 0,
330
+ 0,
331
+ 0,
332
+ 0,
333
+ 0,
334
+ 0,
335
+ 0,
336
+ 0,
337
+ 0,
338
+ 0,
339
+ 0,
340
+ 0,
341
+ 0,
342
+ 0,
343
+ 0,
344
+ 0,
345
+ 0,
346
+ 0,
347
+ 0,
348
+ 0,
349
+ 0,
350
+ 0,
351
+ 0,
352
+ 0,
353
+ 0,
354
+ 0,
355
+ 0,
356
+ 0,
357
+ 0,
358
+ 0,
359
+ 0,
360
+ 0,
361
+ 0,
362
+ 0,
363
+ 0,
364
+ 0,
365
+ 0,
366
+ 0,
367
+ 0,
368
+ 0,
369
+ 0,
370
+ 0,
371
+ 0,
372
+ 0,
373
+ 0,
374
+ 8,
375
+ 1,
376
+ 0,
377
+ 0,
378
+ 0,
379
+ 2,
380
+ 0,
381
+ 0,
382
+ 0,
383
+ 0,
384
+ 0,
385
+ 0,
386
+ 0,
387
+ 0,
388
+ 0,
389
+ 0,
390
+ 0,
391
+ 6,
392
+ 0,
393
+ 0,
394
+ 0,
395
+ 0,
396
+ 0,
397
+ 0,
398
+ 0,
399
+ 0,
400
+ 0,
401
+ 0,
402
+ 0,
403
+ 0,
404
+ 0,
405
+ 0,
406
+ 0,
407
+ 0,
408
+ 0,
409
+ 0,
410
+ 0,
411
+ 39624,
412
+ 0,
413
+ 0,
414
+ 0,
415
+ 0,
416
+ 150,
417
+ 0,
418
+ 0,
419
+ 0,
420
+ 0,
421
+ 79409,
422
+ 0,
423
+ 0,
424
+ 0,
425
+ 0,
426
+ 0,
427
+ 3,
428
+ 0,
429
+ 0,
430
+ 0,
431
+ 0,
432
+ 0,
433
+ 0,
434
+ 0,
435
+ 0,
436
+ 0,
437
+ 0,
438
+ 0,
439
+ 0,
440
+ 0,
441
+ 0,
442
+ 0,
443
+ 0,
444
+ 0,
445
+ 0,
446
+ 0,
447
+ 0,
448
+ 0,
449
+ 0,
450
+ 0,
451
+ 0,
452
+ 0,
453
+ 0,
454
+ 27795
455
+ ],
456
+ "code_usage_entropy": 1.4485268592834473,
457
+ "dead_codes": 236,
458
+ "elapsed_sec": 3590.5774664878845,
459
+ "final_train_metrics": {
460
+ "codebook_loss": 0.0264892578125,
461
+ "commitment_loss": 0.0264892578125,
462
+ "direction_loss": 0.9922971725463867,
463
+ "epoch": 2,
464
+ "final_logit_loss": 0.9775413870811462,
465
+ "hidden_mse": 0.1872950941324234,
466
+ "loss": 1.2178150415420532,
467
+ "step": 1000,
468
+ "task_loss_no_vq": 1.1648365259170532,
469
+ "vq_loss": 0.052978515625
470
+ },
471
+ "num_routes": 11400,
472
+ "num_tokens": 182400,
473
+ "trace_length": 16,
474
+ "used_codes": 20,
475
+ "vocab_size": 256
476
+ },
477
+ "V32": {
478
+ "code_counts": [
479
+ 12,
480
+ 32,
481
+ 1018,
482
+ 1121,
483
+ 157,
484
+ 209,
485
+ 1,
486
+ 2,
487
+ 116,
488
+ 356,
489
+ 72131,
490
+ 12060,
491
+ 4671,
492
+ 5,
493
+ 212,
494
+ 1,
495
+ 272,
496
+ 666,
497
+ 126,
498
+ 166,
499
+ 3611,
500
+ 21,
501
+ 2882,
502
+ 78,
503
+ 29,
504
+ 0,
505
+ 17,
506
+ 5603,
507
+ 76089,
508
+ 727,
509
+ 9,
510
+ 0
511
+ ],
512
+ "code_usage_entropy": 1.4274308681488037,
513
+ "dead_codes": 2,
514
+ "elapsed_sec": 3492.775626182556,
515
+ "final_train_metrics": {
516
+ "codebook_loss": 0.0732421875,
517
+ "commitment_loss": 0.0732421875,
518
+ "direction_loss": 0.995259165763855,
519
+ "epoch": 2,
520
+ "final_logit_loss": 0.681365430355072,
521
+ "hidden_mse": 0.18821148574352264,
522
+ "loss": 1.0160613059997559,
523
+ "step": 1000,
524
+ "task_loss_no_vq": 0.8695769309997559,
525
+ "vq_loss": 0.146484375
526
+ },
527
+ "num_routes": 11400,
528
+ "num_tokens": 182400,
529
+ "trace_length": 16,
530
+ "used_codes": 30,
531
+ "vocab_size": 32
532
+ }
533
+ }
534
+ }