Upload folder using huggingface_hub
Browse files- 390M_200kbs_main_9k.csv +0 -0
- 390M_200kbs_main_9k/blumodel_muon_step00006611.pt +3 -0
- 390M_200kbs_main_9k/blumodel_muon_step00009379.pt +3 -0
- 390M_2Mbs_main.csv +0 -0
- 390M_2Mbs_main/blumodel_muon_step00003005.pt +3 -0
- 390M_2Mbs_main/blumodel_muon_step00003687.pt +3 -0
- 390M_2Mbs_main/blumodel_muon_step00004415.pt +3 -0
- 390M_2Mbs_main/blumodel_muon_step00004608.pt +3 -0
- check_target_loss.py +2 -0
- train_390M.py +4 -2
390M_200kbs_main_9k.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
390M_200kbs_main_9k/blumodel_muon_step00006611.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5329d4e89834a62dbf5eed2157dfa4fa35c926267227eeef605978c92f98a139
|
| 3 |
+
size 4205800024
|
390M_200kbs_main_9k/blumodel_muon_step00009379.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13e2d7ac4a10745647251b320c0e8c700fd98d2b5d8c4f9f856a7a09092d435f
|
| 3 |
+
size 4205800024
|
390M_2Mbs_main.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
390M_2Mbs_main/blumodel_muon_step00003005.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5439038ff03645cbdf2b37345920d6bfee94b5d00540e0c907ec6009026d95d3
|
| 3 |
+
size 4205800472
|
390M_2Mbs_main/blumodel_muon_step00003687.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9ce088d9df8d7d9b6f6770092eb10e93607e44bdceb7121157d49e904504ac8
|
| 3 |
+
size 4205800472
|
390M_2Mbs_main/blumodel_muon_step00004415.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c3848d530a86dd742b69541bc910c47eaaf553f065eea2ad2489ad2515eef1e1
|
| 3 |
+
size 4205800536
|
390M_2Mbs_main/blumodel_muon_step00004608.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8f198df2b5eb92b80ba04e3825b2d7b238b2f559349491447454f15f6921187
|
| 3 |
+
size 4205800536
|
check_target_loss.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
#!/usr/bin/env python3
|
| 2 |
"""Find when a training run (CSV log) reaches a target loss, after smoothing.
|
| 3 |
Two cases, both reported:
|
|
@@ -217,3 +218,4 @@ def main():
|
|
| 217 |
|
| 218 |
if __name__ == "__main__":
|
| 219 |
main()
|
|
|
|
|
|
| 1 |
+
|
| 2 |
#!/usr/bin/env python3
|
| 3 |
"""Find when a training run (CSV log) reaches a target loss, after smoothing.
|
| 4 |
Two cases, both reported:
|
|
|
|
| 218 |
|
| 219 |
if __name__ == "__main__":
|
| 220 |
main()
|
| 221 |
+
|
train_390M.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
|
|
|
|
| 2 |
#!/usr/bin/env python3
|
| 3 |
# =============================================================================
|
| 4 |
# train_muon.py — the MUON arm of train.py. Same model, same data order, same
|
|
@@ -451,7 +452,7 @@ class ModelConfig:
|
|
| 451 |
# ---- optimization / data ----
|
| 452 |
B: int = 8 # micro-batch
|
| 453 |
T: int = 4096 # sequence length (<= context_length)
|
| 454 |
-
global_batch: int =
|
| 455 |
grad_clip: float = 1.0
|
| 456 |
weight_decay: float = 0.1
|
| 457 |
|
|
@@ -464,7 +465,7 @@ class ModelConfig:
|
|
| 464 |
muon_lr: float = 0.001
|
| 465 |
muon_min_lr: float = 0.0001
|
| 466 |
|
| 467 |
-
max_steps: int =
|
| 468 |
|
| 469 |
warmup_steps: int = 500
|
| 470 |
stable_steps: int = int(max_steps * 0.99) - warmup_steps # steps held at max_lr after warmup
|
|
@@ -1934,5 +1935,6 @@ if __name__ == "__main__":
|
|
| 1934 |
|
| 1935 |
|
| 1936 |
|
|
|
|
| 1937 |
|
| 1938 |
|
|
|
|
| 1 |
|
| 2 |
+
|
| 3 |
#!/usr/bin/env python3
|
| 4 |
# =============================================================================
|
| 5 |
# train_muon.py — the MUON arm of train.py. Same model, same data order, same
|
|
|
|
| 452 |
# ---- optimization / data ----
|
| 453 |
B: int = 8 # micro-batch
|
| 454 |
T: int = 4096 # sequence length (<= context_length)
|
| 455 |
+
global_batch: int = 262144 # tokens per optimizer step
|
| 456 |
grad_clip: float = 1.0
|
| 457 |
weight_decay: float = 0.1
|
| 458 |
|
|
|
|
| 465 |
muon_lr: float = 0.001
|
| 466 |
muon_min_lr: float = 0.0001
|
| 467 |
|
| 468 |
+
max_steps: int = 53406
|
| 469 |
|
| 470 |
warmup_steps: int = 500
|
| 471 |
stable_steps: int = int(max_steps * 0.99) - warmup_steps # steps held at max_lr after warmup
|
|
|
|
| 1935 |
|
| 1936 |
|
| 1937 |
|
| 1938 |
+
|
| 1939 |
|
| 1940 |
|