shahils commited on
Commit
64d704f
·
verified ·
1 Parent(s): 87cfbad

Preserve TinyStories tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048 with hashes and training provenance

Browse files
TinyStories-v2 Checkpoints/Seed archive/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048/ARCHIVE_MANIFEST.json ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repository": "shahils/GT-MHA",
3
+ "prefix": "TinyStories-v2 Checkpoints/Seed archive/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048",
4
+ "run": {
5
+ "run": "tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048",
6
+ "variant": "legacy GT-MHA seed0; separate architecture/initializer",
7
+ "source_cluster": "DeltaAI",
8
+ "source_account": "sshaik4",
9
+ "source_checkpoint": "/work/hdd/biad/sshaik4/lgma_runs/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048/checkpoint_final.pt",
10
+ "step": 250000,
11
+ "seed": 0,
12
+ "parameters": 134018240,
13
+ "model_config": {
14
+ "d_model": 1024,
15
+ "num_layers": 12,
16
+ "num_heads": 16,
17
+ "head_dim": 64,
18
+ "attention_type": "lgma_residual",
19
+ "num_generators": 8,
20
+ "generator_type": "full",
21
+ "generator_mixing": "softmax",
22
+ "context_length": 512,
23
+ "dropout": 0.1,
24
+ "num_kv_heads": null,
25
+ "causal": true,
26
+ "theta_init_scale": 0.02,
27
+ "generator_init_scale": 0.02,
28
+ "stabilize_generators": false,
29
+ "normalize_generators": false,
30
+ "head_generator_symmetric_cap": null,
31
+ "base_dim": 64,
32
+ "value_dim": 64,
33
+ "num_base_heads": 8,
34
+ "metric_mode": "exp",
35
+ "metric_beta": 1.0,
36
+ "metric_clip_min": null,
37
+ "metric_clip_max": null,
38
+ "value_beta": 1.0,
39
+ "theta_init": "random_sphere",
40
+ "logit_scale_mode": "sqrt_dim",
41
+ "learn_head_temperature": false,
42
+ "value_transform": "lie",
43
+ "fuse_base_qkv": true,
44
+ "fold_value_transform_into_output": true,
45
+ "sdpa_gqa_mode": "auto"
46
+ },
47
+ "effective_attention_config": {
48
+ "head_dim": 64,
49
+ "base_dim": 64,
50
+ "value_dim": 64,
51
+ "num_heads": 16,
52
+ "num_base_heads": 8,
53
+ "generated_heads_per_base": 2,
54
+ "num_generators": 8,
55
+ "generator_type": "full",
56
+ "generator_mixing": "softmax",
57
+ "stabilize_generators": false,
58
+ "normalize_generators": false,
59
+ "head_generator_symmetric_cap": null,
60
+ "metric_mode": "residual",
61
+ "metric_beta": 1.0,
62
+ "metric_clip_min": null,
63
+ "metric_clip_max": null,
64
+ "value_beta": 1.0,
65
+ "theta_init": "random_sphere",
66
+ "logit_scale_mode": "rms_metric",
67
+ "learn_head_temperature": true,
68
+ "value_transform": "lie",
69
+ "fuse_base_qkv": true,
70
+ "fold_value_transform_into_output": true,
71
+ "sdpa_gqa_mode": "auto"
72
+ },
73
+ "training_args": {
74
+ "data_path": "/work/hdd/biad/sshaik4/lgma_data/tinystories/TinyStoriesV2-GPT4-train.txt",
75
+ "packed_data_dir": null,
76
+ "val_data_path": "/work/hdd/biad/sshaik4/lgma_data/tinystories/TinyStoriesV2-GPT4-valid.txt",
77
+ "config": null,
78
+ "attention": "lgma_residual",
79
+ "generator_type": null,
80
+ "generator_mixing": null,
81
+ "num_generators": 8,
82
+ "steps": 250000,
83
+ "batch_size": 256,
84
+ "eval_batches": 8,
85
+ "log_every": 100,
86
+ "eval_every": 1000,
87
+ "save_every": 100,
88
+ "keep_last_checkpoints": 3,
89
+ "milestone_checkpoint_every": 50000,
90
+ "output_dir": "/work/hdd/biad/sshaik4/lgma_runs/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048",
91
+ "resume_checkpoint": "/work/hdd/biad/sshaik4/lgma_runs/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048/checkpoint_step_197900.pt",
92
+ "grad_accum_steps": 2,
93
+ "max_grad_norm": 1.0,
94
+ "lr": 0.0003,
95
+ "lr_schedule": "cosine",
96
+ "lr_schedule_steps": 500000,
97
+ "warmup_steps": 0,
98
+ "lr_hold_steps": 50000,
99
+ "min_lr": 0.0001,
100
+ "weight_decay": 0.01,
101
+ "device": "cuda",
102
+ "precision": "bf16",
103
+ "seed": 0,
104
+ "compile": false,
105
+ "compile_backend": "inductor",
106
+ "compile_mode": null,
107
+ "no_ddp": false,
108
+ "d_model": 1024,
109
+ "num_layers": 12,
110
+ "num_heads": 16,
111
+ "head_dim": 64,
112
+ "base_dim": 64,
113
+ "value_dim": 64,
114
+ "num_base_heads": 8,
115
+ "fuse_base_qkv": true,
116
+ "fold_value_transform_into_output": true,
117
+ "sdpa_gqa_mode": "auto",
118
+ "context_length": 512,
119
+ "num_kv_heads": null,
120
+ "dropout": 0.1,
121
+ "theta_init_scale": null,
122
+ "generator_init_scale": null,
123
+ "stabilize_generators": false,
124
+ "normalize_generators": null,
125
+ "head_generator_symmetric_cap": null,
126
+ "metric_mode": null,
127
+ "metric_beta": 1.0,
128
+ "metric_clip_min": null,
129
+ "metric_clip_max": null,
130
+ "value_beta": 1.0,
131
+ "theta_init": null,
132
+ "logit_scale_mode": null,
133
+ "learn_head_temperature": null,
134
+ "value_transform": "lie",
135
+ "metric_diversity_weight": 0.0,
136
+ "metric_diversity_squared": false,
137
+ "metric_diversity_on_full_metric": false,
138
+ "induced_metric_diversity_weight": 0.0,
139
+ "ah_norm_weight": 0.0,
140
+ "ah_norm_max": 0.0,
141
+ "diagnostic_every": 1000,
142
+ "diagnostic_batches": 2,
143
+ "non_causal": false,
144
+ "wandb_project": "lgma",
145
+ "wandb_entity": "i2rLAB",
146
+ "wandb_run_name": "tinystory_lgma_residual_c8_h16_p8_ddp4_gb2048",
147
+ "wandb_group": "tinystories",
148
+ "wandb_tags": "tinystory,gtmha,lgma,residual,ValueLie,c8,h16,d64,p8,gh200,ddp4,b256,ga2,gb2048",
149
+ "wandb_mode": "online",
150
+ "wandb_dir": "/work/hdd/biad/sshaik4/lgma_runs/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048"
151
+ },
152
+ "optimizer_state_retained": true,
153
+ "sampler_states_retained": true,
154
+ "integrity": {
155
+ "zip_crc_passed": true,
156
+ "torch_load_passed": true,
157
+ "finite_weights": true
158
+ },
159
+ "initialization_history": "Inherited trained checkpoint; constructor metadata is not a reinitialization.",
160
+ "cohort_note": "Legacy seed0 variants are not exact initializer/architecture replications of simplex seeds100/200.",
161
+ "source_snapshot": null,
162
+ "source_snapshot_caveat": "Captured existing frozen run directory; hashes recorded in archive manifest. Historical source not recovered for legacy runs without a job snapshot."
163
+ },
164
+ "files": [
165
+ {
166
+ "local": "/work/hdd/biad/sshaik4/lgma_runs/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048/checkpoint_final.pt",
167
+ "path": "checkpoint_final.pt",
168
+ "bytes": 1608506469,
169
+ "sha256": "cca49f40ae1b9b35e0e4df46d36434e0f92b4931ca3fd5ea9a0a792efbac79f5"
170
+ },
171
+ {
172
+ "local": "/work/hdd/biad/sshaik4/lgma_runs/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048/final_report.json",
173
+ "path": "final_report.json",
174
+ "bytes": 5503,
175
+ "sha256": "718bbe87064375b3ebaee7a0a8d02bb793498f60dba3e722f0ac1ce90b6860d5"
176
+ },
177
+ {
178
+ "local": "/work/hdd/biad/sshaik4/lgma_runs/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048/metrics.jsonl",
179
+ "path": "metrics.jsonl",
180
+ "bytes": 2493225,
181
+ "sha256": "b6239d60100857a7c87756c26e8ae18eb08e43ebdd6bacd5d0eb64fef0609665"
182
+ },
183
+ {
184
+ "local": "/work/hdd/biad/sshaik4/lgma_jobs/hf_seed_archive_20261101/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048/provenance.json",
185
+ "path": "provenance.json",
186
+ "bytes": 5368,
187
+ "sha256": "60c67effa252631f4cfbbfbd356f4198e998aaa93e610b949a11b79fd5a3820f"
188
+ },
189
+ {
190
+ "local": "/work/hdd/biad/sshaik4/lgma_jobs/hf_seed_archive_20261101/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048/model_config.json",
191
+ "path": "model_config.json",
192
+ "bytes": 858,
193
+ "sha256": "c688676e5acda3ddb725366292da0b930a91ce483c05d4ea0ed626164912f5c7"
194
+ },
195
+ {
196
+ "local": "/work/hdd/biad/sshaik4/lgma_jobs/hf_seed_archive_20261101/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048/README.md",
197
+ "path": "README.md",
198
+ "bytes": 892,
199
+ "sha256": "892df43e721de3d768132582ee2687ed7adc109fe89f4ad059647bd7fc83523c"
200
+ }
201
+ ]
202
+ }
TinyStories-v2 Checkpoints/Seed archive/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048/README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # legacy GT-MHA seed0; separate architecture/initializer — seed 0
2
+
3
+ Original trained TinyStories checkpoint at step 250000. Full optimizer and sampler state are retained where present. Initialization history and all training arguments are in provenance.json; final_report.json records effective attention settings.
4
+
5
+ checkpoint_final.pt is a custom PyTorch training payload, not a Transformers from_pretrained export. Load its model_state with the corresponding source snapshot and model_config. SHA-256 hashes and original paths are in ARCHIVE_MANIFEST.json. Dataset text is not duplicated in this archive.
6
+
7
+ The exact historical source snapshot was not recovered for this legacy run.
8
+
9
+ Legacy seed0 architecture/initialization differs from simplex seeds100/200. MHA seeds100/200 have a 500000-step LR schedule horizon, versus GT-MHA seeds100/200 at 250000; retain that comparison limitation.
TinyStories-v2 Checkpoints/Seed archive/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048/checkpoint_final.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cca49f40ae1b9b35e0e4df46d36434e0f92b4931ca3fd5ea9a0a792efbac79f5
3
+ size 1608506469
TinyStories-v2 Checkpoints/Seed archive/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048/final_report.json ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "/work/hdd/biad/sshaik4/lgma_data/tinystories/TinyStoriesV2-GPT4-train.txt",
3
+ "val_data_path": "/work/hdd/biad/sshaik4/lgma_data/tinystories/TinyStoriesV2-GPT4-valid.txt",
4
+ "packed_data_dir": null,
5
+ "data_backend": "character_text",
6
+ "config": null,
7
+ "model_config": {
8
+ "d_model": 1024,
9
+ "num_layers": 12,
10
+ "num_heads": 16,
11
+ "head_dim": 64,
12
+ "attention_type": "lgma_residual",
13
+ "num_generators": 8,
14
+ "generator_type": "full",
15
+ "generator_mixing": "softmax",
16
+ "context_length": 512,
17
+ "dropout": 0.1,
18
+ "num_kv_heads": null,
19
+ "causal": true,
20
+ "theta_init_scale": 0.02,
21
+ "generator_init_scale": 0.02,
22
+ "stabilize_generators": false,
23
+ "normalize_generators": false,
24
+ "head_generator_symmetric_cap": null,
25
+ "base_dim": 64,
26
+ "value_dim": 64,
27
+ "num_base_heads": 8,
28
+ "metric_mode": "exp",
29
+ "metric_beta": 1.0,
30
+ "metric_clip_min": null,
31
+ "metric_clip_max": null,
32
+ "value_beta": 1.0,
33
+ "theta_init": "random_sphere",
34
+ "logit_scale_mode": "sqrt_dim",
35
+ "learn_head_temperature": false,
36
+ "value_transform": "lie",
37
+ "fuse_base_qkv": true,
38
+ "fold_value_transform_into_output": true,
39
+ "sdpa_gqa_mode": "auto"
40
+ },
41
+ "vocab_size": 230,
42
+ "train_tokens": 2226845268,
43
+ "validation_tokens": 22493387,
44
+ "parameters": 134018240,
45
+ "effective_attention_config": {
46
+ "head_dim": 64,
47
+ "base_dim": 64,
48
+ "value_dim": 64,
49
+ "num_heads": 16,
50
+ "num_base_heads": 8,
51
+ "generated_heads_per_base": 2,
52
+ "num_generators": 8,
53
+ "generator_type": "full",
54
+ "generator_mixing": "softmax",
55
+ "stabilize_generators": false,
56
+ "normalize_generators": false,
57
+ "head_generator_symmetric_cap": null,
58
+ "metric_mode": "residual",
59
+ "metric_beta": 1.0,
60
+ "metric_clip_min": null,
61
+ "metric_clip_max": null,
62
+ "value_beta": 1.0,
63
+ "theta_init": "random_sphere",
64
+ "logit_scale_mode": "rms_metric",
65
+ "learn_head_temperature": true,
66
+ "value_transform": "lie",
67
+ "fuse_base_qkv": true,
68
+ "fold_value_transform_into_output": true,
69
+ "sdpa_gqa_mode": "auto"
70
+ },
71
+ "attention_accounting": {
72
+ "total_parameters": 2687248,
73
+ "qkv_parameters": 1572864,
74
+ "q_parameters": 524288,
75
+ "k_parameters": 524288,
76
+ "v_parameters": 524288,
77
+ "generator_parameters": 65792,
78
+ "kv_cache_bytes_per_token_per_layer": 2048,
79
+ "attention_score_flops": 137438953472,
80
+ "attention_maps": 16,
81
+ "base_heads": 8,
82
+ "generated_heads_per_base": 2
83
+ },
84
+ "final_loss": 0.27653568983078003,
85
+ "final_perplexity": 1.3185540108475267,
86
+ "validation_loss": 0.2916204333305359,
87
+ "validation_perplexity": 1.3385948352174748,
88
+ "final_metric_diversity_loss": 0.0,
89
+ "final_induced_metric_diversity_loss": 0.0,
90
+ "final_ah_norm_loss": 0.0,
91
+ "metric_diversity_weight": 0.0,
92
+ "induced_metric_diversity_weight": 0.0,
93
+ "ah_norm_weight": 0.0,
94
+ "ah_norm_max": 0.0,
95
+ "metric_diversity_squared": false,
96
+ "metric_diversity_on_delta": true,
97
+ "device": "cuda:0",
98
+ "precision": "bf16",
99
+ "grad_accum_steps": 2,
100
+ "gradient_norms": {
101
+ "grad_norm_theta": 9.111015824020264e-06,
102
+ "grad_norm_generators": 0.0005767977145507885,
103
+ "grad_norm_q_proj": 0.00012120089357025882,
104
+ "grad_norm_k_proj": 7.239040853628171e-05,
105
+ "grad_norm_v_proj": 0.0004055848322539375
106
+ },
107
+ "attention_diversity_mean_cosine": 0.4554402232170105,
108
+ "attention_diversity_offdiag_mean_cosine": 0.4191877841949463,
109
+ "centered_attention_diversity_mean_cosine": 0.4424761235713959,
110
+ "centered_attention_diversity_offdiag_mean_cosine": 0.40546971559524536,
111
+ "attention_within_base_offdiag_mean_cosine": 0.8838471174240112,
112
+ "attention_across_base_mean_cosine": 0.38599786162376404,
113
+ "centered_attention_within_base_offdiag_mean_cosine": 0.8768393993377686,
114
+ "centered_attention_across_base_mean_cosine": 0.37180039286613464,
115
+ "score_diversity_mean_cosine": 0.5583361983299255,
116
+ "score_diversity_offdiag_mean_cosine": 0.5291209816932678,
117
+ "score_within_base_offdiag_mean_cosine": 0.9800379276275635,
118
+ "score_across_base_mean_cosine": 0.4969126284122467,
119
+ "metric_diversity_mean_cosine": 0.9987190961837769,
120
+ "metric_diversity_offdiag_mean_cosine": 0.9986315965652466,
121
+ "metric_delta_diversity_mean_cosine": 0.9860327839851379,
122
+ "metric_delta_diversity_offdiag_mean_cosine": 0.9851013422012329,
123
+ "metric_identity_distance_mean": 2.4445176124572754,
124
+ "metric_identity_distance_max": 2.9438371658325195,
125
+ "metric_condition_number_mean": 81.18560791015625,
126
+ "metric_condition_number_max": 1254.07763671875,
127
+ "metric_singular_value_min": 0.0013114935718476772,
128
+ "metric_singular_value_max": 1.6447147130966187,
129
+ "ah_fro_norm_mean": 2.4445176124572754,
130
+ "ah_fro_norm_max": 2.9438371658325195,
131
+ "induced_metric_diversity_mean_cosine": 0.25937801599502563,
132
+ "induced_metric_diversity_offdiag_mean_cosine": 0.2100066989660263,
133
+ "metric_within_base_offdiag_mean_cosine": 0.9986728429794312,
134
+ "metric_across_base_mean_cosine": 0.9986286163330078,
135
+ "induced_metric_within_base_offdiag_mean_cosine": 0.9992951154708862,
136
+ "induced_metric_across_base_mean_cosine": 0.15362894535064697,
137
+ "distributed": true,
138
+ "world_size": 4,
139
+ "tokens_per_step": 1048576,
140
+ "tokens_seen": 262144000000,
141
+ "effective_global_batch": 2048,
142
+ "data_sampling": "uniform_random_with_replacement",
143
+ "data_seed": 0,
144
+ "elapsed_training_seconds": 46485.173527495004,
145
+ "elapsed_training_hours": 12.912548202081945,
146
+ "gpu_hours": 51.65019280832778,
147
+ "peak_memory_bytes": 69688965632,
148
+ "peak_memory_gib": 64.90290689468384
149
+ }
TinyStories-v2 Checkpoints/Seed archive/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048/metrics.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
TinyStories-v2 Checkpoints/Seed archive/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048/model_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "d_model": 1024,
3
+ "num_layers": 12,
4
+ "num_heads": 16,
5
+ "head_dim": 64,
6
+ "attention_type": "lgma_residual",
7
+ "num_generators": 8,
8
+ "generator_type": "full",
9
+ "generator_mixing": "softmax",
10
+ "context_length": 512,
11
+ "dropout": 0.1,
12
+ "num_kv_heads": null,
13
+ "causal": true,
14
+ "theta_init_scale": 0.02,
15
+ "generator_init_scale": 0.02,
16
+ "stabilize_generators": false,
17
+ "normalize_generators": false,
18
+ "head_generator_symmetric_cap": null,
19
+ "base_dim": 64,
20
+ "value_dim": 64,
21
+ "num_base_heads": 8,
22
+ "metric_mode": "exp",
23
+ "metric_beta": 1.0,
24
+ "metric_clip_min": null,
25
+ "metric_clip_max": null,
26
+ "value_beta": 1.0,
27
+ "theta_init": "random_sphere",
28
+ "logit_scale_mode": "sqrt_dim",
29
+ "learn_head_temperature": false,
30
+ "value_transform": "lie",
31
+ "fuse_base_qkv": true,
32
+ "fold_value_transform_into_output": true,
33
+ "sdpa_gqa_mode": "auto"
34
+ }
TinyStories-v2 Checkpoints/Seed archive/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048/provenance.json ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run": "tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048",
3
+ "variant": "legacy GT-MHA seed0; separate architecture/initializer",
4
+ "source_cluster": "DeltaAI",
5
+ "source_account": "sshaik4",
6
+ "source_checkpoint": "/work/hdd/biad/sshaik4/lgma_runs/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048/checkpoint_final.pt",
7
+ "step": 250000,
8
+ "seed": 0,
9
+ "parameters": 134018240,
10
+ "model_config": {
11
+ "d_model": 1024,
12
+ "num_layers": 12,
13
+ "num_heads": 16,
14
+ "head_dim": 64,
15
+ "attention_type": "lgma_residual",
16
+ "num_generators": 8,
17
+ "generator_type": "full",
18
+ "generator_mixing": "softmax",
19
+ "context_length": 512,
20
+ "dropout": 0.1,
21
+ "num_kv_heads": null,
22
+ "causal": true,
23
+ "theta_init_scale": 0.02,
24
+ "generator_init_scale": 0.02,
25
+ "stabilize_generators": false,
26
+ "normalize_generators": false,
27
+ "head_generator_symmetric_cap": null,
28
+ "base_dim": 64,
29
+ "value_dim": 64,
30
+ "num_base_heads": 8,
31
+ "metric_mode": "exp",
32
+ "metric_beta": 1.0,
33
+ "metric_clip_min": null,
34
+ "metric_clip_max": null,
35
+ "value_beta": 1.0,
36
+ "theta_init": "random_sphere",
37
+ "logit_scale_mode": "sqrt_dim",
38
+ "learn_head_temperature": false,
39
+ "value_transform": "lie",
40
+ "fuse_base_qkv": true,
41
+ "fold_value_transform_into_output": true,
42
+ "sdpa_gqa_mode": "auto"
43
+ },
44
+ "effective_attention_config": {
45
+ "head_dim": 64,
46
+ "base_dim": 64,
47
+ "value_dim": 64,
48
+ "num_heads": 16,
49
+ "num_base_heads": 8,
50
+ "generated_heads_per_base": 2,
51
+ "num_generators": 8,
52
+ "generator_type": "full",
53
+ "generator_mixing": "softmax",
54
+ "stabilize_generators": false,
55
+ "normalize_generators": false,
56
+ "head_generator_symmetric_cap": null,
57
+ "metric_mode": "residual",
58
+ "metric_beta": 1.0,
59
+ "metric_clip_min": null,
60
+ "metric_clip_max": null,
61
+ "value_beta": 1.0,
62
+ "theta_init": "random_sphere",
63
+ "logit_scale_mode": "rms_metric",
64
+ "learn_head_temperature": true,
65
+ "value_transform": "lie",
66
+ "fuse_base_qkv": true,
67
+ "fold_value_transform_into_output": true,
68
+ "sdpa_gqa_mode": "auto"
69
+ },
70
+ "training_args": {
71
+ "data_path": "/work/hdd/biad/sshaik4/lgma_data/tinystories/TinyStoriesV2-GPT4-train.txt",
72
+ "packed_data_dir": null,
73
+ "val_data_path": "/work/hdd/biad/sshaik4/lgma_data/tinystories/TinyStoriesV2-GPT4-valid.txt",
74
+ "config": null,
75
+ "attention": "lgma_residual",
76
+ "generator_type": null,
77
+ "generator_mixing": null,
78
+ "num_generators": 8,
79
+ "steps": 250000,
80
+ "batch_size": 256,
81
+ "eval_batches": 8,
82
+ "log_every": 100,
83
+ "eval_every": 1000,
84
+ "save_every": 100,
85
+ "keep_last_checkpoints": 3,
86
+ "milestone_checkpoint_every": 50000,
87
+ "output_dir": "/work/hdd/biad/sshaik4/lgma_runs/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048",
88
+ "resume_checkpoint": "/work/hdd/biad/sshaik4/lgma_runs/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048/checkpoint_step_197900.pt",
89
+ "grad_accum_steps": 2,
90
+ "max_grad_norm": 1.0,
91
+ "lr": 0.0003,
92
+ "lr_schedule": "cosine",
93
+ "lr_schedule_steps": 500000,
94
+ "warmup_steps": 0,
95
+ "lr_hold_steps": 50000,
96
+ "min_lr": 0.0001,
97
+ "weight_decay": 0.01,
98
+ "device": "cuda",
99
+ "precision": "bf16",
100
+ "seed": 0,
101
+ "compile": false,
102
+ "compile_backend": "inductor",
103
+ "compile_mode": null,
104
+ "no_ddp": false,
105
+ "d_model": 1024,
106
+ "num_layers": 12,
107
+ "num_heads": 16,
108
+ "head_dim": 64,
109
+ "base_dim": 64,
110
+ "value_dim": 64,
111
+ "num_base_heads": 8,
112
+ "fuse_base_qkv": true,
113
+ "fold_value_transform_into_output": true,
114
+ "sdpa_gqa_mode": "auto",
115
+ "context_length": 512,
116
+ "num_kv_heads": null,
117
+ "dropout": 0.1,
118
+ "theta_init_scale": null,
119
+ "generator_init_scale": null,
120
+ "stabilize_generators": false,
121
+ "normalize_generators": null,
122
+ "head_generator_symmetric_cap": null,
123
+ "metric_mode": null,
124
+ "metric_beta": 1.0,
125
+ "metric_clip_min": null,
126
+ "metric_clip_max": null,
127
+ "value_beta": 1.0,
128
+ "theta_init": null,
129
+ "logit_scale_mode": null,
130
+ "learn_head_temperature": null,
131
+ "value_transform": "lie",
132
+ "metric_diversity_weight": 0.0,
133
+ "metric_diversity_squared": false,
134
+ "metric_diversity_on_full_metric": false,
135
+ "induced_metric_diversity_weight": 0.0,
136
+ "ah_norm_weight": 0.0,
137
+ "ah_norm_max": 0.0,
138
+ "diagnostic_every": 1000,
139
+ "diagnostic_batches": 2,
140
+ "non_causal": false,
141
+ "wandb_project": "lgma",
142
+ "wandb_entity": "i2rLAB",
143
+ "wandb_run_name": "tinystory_lgma_residual_c8_h16_p8_ddp4_gb2048",
144
+ "wandb_group": "tinystories",
145
+ "wandb_tags": "tinystory,gtmha,lgma,residual,ValueLie,c8,h16,d64,p8,gh200,ddp4,b256,ga2,gb2048",
146
+ "wandb_mode": "online",
147
+ "wandb_dir": "/work/hdd/biad/sshaik4/lgma_runs/tinystories_lgma_residual_c8_h16_p8_ddp4_gb2048"
148
+ },
149
+ "optimizer_state_retained": true,
150
+ "sampler_states_retained": true,
151
+ "integrity": {
152
+ "zip_crc_passed": true,
153
+ "torch_load_passed": true,
154
+ "finite_weights": true
155
+ },
156
+ "initialization_history": "Inherited trained checkpoint; constructor metadata is not a reinitialization.",
157
+ "cohort_note": "Legacy seed0 variants are not exact initializer/architecture replications of simplex seeds100/200.",
158
+ "source_snapshot": null,
159
+ "source_snapshot_caveat": "Captured existing frozen run directory; hashes recorded in archive manifest. Historical source not recovered for legacy runs without a job snapshot."
160
+ }