doem1997 commited on
Commit
b6f66f9
·
verified ·
1 Parent(s): c3bd673

Update the model card

Browse files
README.md CHANGED
@@ -41,25 +41,25 @@ Chain-end loop: 12 layers at width 1056, 88 experts per layer, expert hidden siz
41
 
42
  ## Results
43
 
44
- | Test BPB | Validation BPB | Δ test vs ordinary MoE (Muon) |
45
  |---:|---:|---:|
46
  | 0.970676 | 0.972425 | -3.70 mBPB |
47
 
48
- <div class="hidden md:block"><p align="center"><img class="not-prose dark:hidden" src="assets/standing-light.svg" width="720" alt="Test mBPB of the 8 designs of this release against the ordinary MoE, by optimizer: Ordinary MoE: AdamW +0.0, Muon +0.0; Finer experts: AdamW -4.2, Muon -0.9; Deeper, narrower: AdamW -6.9, Muon -4.2; Expert layout: AdamW -5.9, Muon -3.4; Untied twin: AdamW -8.9, Muon -3.3; The loop: AdamW -9.0, Muon -3.7; One more visit: AdamW -14.8, Muon -12.2; Twice the experts: AdamW -14.3, Muon -9.9."><img class="not-prose hidden dark:block" src="assets/standing-dark.svg" width="720" alt="Test mBPB of the 8 designs of this release against the ordinary MoE, by optimizer: Ordinary MoE: AdamW +0.0, Muon +0.0; Finer experts: AdamW -4.2, Muon -0.9; Deeper, narrower: AdamW -6.9, Muon -4.2; Expert layout: AdamW -5.9, Muon -3.4; Untied twin: AdamW -8.9, Muon -3.3; The loop: AdamW -9.0, Muon -3.7; One more visit: AdamW -14.8, Muon -12.2; Twice the experts: AdamW -14.3, Muon -9.9."></p></div>
49
- <div class="md:hidden"><p align="center"><img class="not-prose dark:hidden" src="assets/standing-light-narrow.svg" width="360" alt="Test mBPB of the 8 designs of this release against the ordinary MoE, by optimizer: Ordinary MoE: AdamW +0.0, Muon +0.0; Finer experts: AdamW -4.2, Muon -0.9; Deeper, narrower: AdamW -6.9, Muon -4.2; Expert layout: AdamW -5.9, Muon -3.4; Untied twin: AdamW -8.9, Muon -3.3; The loop: AdamW -9.0, Muon -3.7; One more visit: AdamW -14.8, Muon -12.2; Twice the experts: AdamW -14.3, Muon -9.9."><img class="not-prose hidden dark:block" src="assets/standing-dark-narrow.svg" width="360" alt="Test mBPB of the 8 designs of this release against the ordinary MoE, by optimizer: Ordinary MoE: AdamW +0.0, Muon +0.0; Finer experts: AdamW -4.2, Muon -0.9; Deeper, narrower: AdamW -6.9, Muon -4.2; Expert layout: AdamW -5.9, Muon -3.4; Untied twin: AdamW -8.9, Muon -3.3; The loop: AdamW -9.0, Muon -3.7; One more visit: AdamW -14.8, Muon -12.2; Twice the experts: AdamW -14.3, Muon -9.9."></p></div>
50
 
51
- Bits per byte on the complete held-out test and validation splits after the last update; lower is better. The ordinary MoE is [`recipes/phase1/m0-muon.json`](https://github.com/datamllab/LoopTitan/blob/main/recipes/phase1/m0-muon.json); 1 mBPB is 0.001 BPB.
52
 
53
  ## Budgets
54
 
55
- Matched budgets: all three within 5% of the ordinary MoE (Muon).
56
 
57
- <div class="hidden md:block"><p align="center"><img class="not-prose dark:hidden" src="assets/budgets-light.svg" width="720" alt="Budgets against the ordinary MoE (Muon): unique non-embedding parameters -0.27%, training FLOPs per token +2.44%, KV cache +3.12%; tolerance ±5%"><img class="not-prose hidden dark:block" src="assets/budgets-dark.svg" width="720" alt="Budgets against the ordinary MoE (Muon): unique non-embedding parameters -0.27%, training FLOPs per token +2.44%, KV cache +3.12%; tolerance ±5%"></p></div>
58
- <div class="md:hidden"><p align="center"><img class="not-prose dark:hidden" src="assets/budgets-light-narrow.svg" width="360" alt="Budgets against the ordinary MoE (Muon): unique non-embedding parameters -0.27%, training FLOPs per token +2.44%, KV cache +3.12%; tolerance ±5%"><img class="not-prose hidden dark:block" src="assets/budgets-dark-narrow.svg" width="360" alt="Budgets against the ordinary MoE (Muon): unique non-embedding parameters -0.27%, training FLOPs per token +2.44%, KV cache +3.12%; tolerance ±5%"></p></div>
59
 
60
  ## Training
61
 
62
- 5.0B tokens of [mlfoundations/dclm-baseline-1.0-parquet](https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0-parquet) at revision `817d6752765f6a41261085171dd546b104f60626` (CC-BY-4.0): 4,769 updates of 1,048,576 tokens in sequences of 4,096, warmup-stable-decay schedule, seed 42. Muon at learning rate 1.7e-3, the value tuned once per optimizer on the ordinary MoE; the same grid on this model selects the same value ([#180](https://github.com/datamllab/LoopTitan/issues/180)). The full protocol: [results page](https://github.com/datamllab/LoopTitan/blob/main/docs/results/phase1.md). Configuration: [`recipes/phase1/m3-muon.json`](https://github.com/datamllab/LoopTitan/blob/main/recipes/phase1/m3-muon.json); run record: [#180](https://github.com/datamllab/LoopTitan/issues/180).
63
 
64
  ## Use
65
 
@@ -83,14 +83,14 @@ The model runs Python code from this repository: read it first, or pin `revision
83
 
84
  | Design | AdamW | Muon |
85
  |:---|---:|---:|
86
- | Ordinary MoE, 12 layers | [0.9995](https://huggingface.co/NaturalScale/looptitan-p1-moe12-adamw) | [0.9744](https://huggingface.co/NaturalScale/looptitan-p1-moe12-muon) |
87
- | Ordinary MoE with finer experts | [0.9953](https://huggingface.co/NaturalScale/looptitan-p1-moe12-finer-adamw) | [0.9735](https://huggingface.co/NaturalScale/looptitan-p1-moe12-finer-muon) |
88
- | Ordinary MoE, deeper and narrower, 18 layers | [0.9926](https://huggingface.co/NaturalScale/looptitan-p1-moe18-adamw) | [0.9702](https://huggingface.co/NaturalScale/looptitan-p1-moe18-muon) |
89
- | Ordinary MoE, 18 layers, fewer experts in the middle | [0.9936](https://huggingface.co/NaturalScale/looptitan-p1-moe18-layout-adamw) | [0.9710](https://huggingface.co/NaturalScale/looptitan-p1-moe18-layout-muon) |
90
  | Untied twin of the loop | [0.9906](https://huggingface.co/NaturalScale/looptitan-p1-twin-adamw) | [0.9710](https://huggingface.co/NaturalScale/looptitan-p1-twin-muon) |
91
  | Looped MoE: the middle 6 layers run twice | [0.9905](https://huggingface.co/NaturalScale/looptitan-p1-loop6x2-adamw) | **0.9707** |
92
- | Ordinary MoE with one more visit, outside matched budgets | [0.9847](https://huggingface.co/NaturalScale/looptitan-p1-moe12-loop6x2-unmatched-adamw) | [0.9621](https://huggingface.co/NaturalScale/looptitan-p1-moe12-loop6x2-unmatched-muon) |
93
- | Ordinary MoE with twice the experts, outside matched budgets | [0.9852](https://huggingface.co/NaturalScale/looptitan-p1-moe12-2e-adamw) | [0.9645](https://huggingface.co/NaturalScale/looptitan-p1-moe12-2e-muon) |
94
 
95
  ## Citation
96
 
 
41
 
42
  ## Results
43
 
44
+ | Test BPB | Validation BPB | Δ test vs standard MoE (Muon) |
45
  |---:|---:|---:|
46
  | 0.970676 | 0.972425 | -3.70 mBPB |
47
 
48
+ <div class="hidden md:block"><p align="center"><img class="not-prose dark:hidden" src="assets/standing-light.svg" width="720" alt="Test mBPB of the 8 designs of this release against the standard MoE, by optimizer: Standard MoE: AdamW +0.0, Muon +0.0; Finer experts: AdamW -4.2, Muon -0.9; Deeper, narrower: AdamW -6.9, Muon -4.2; Expert layout: AdamW -5.9, Muon -3.4; Untied twin: AdamW -8.9, Muon -3.3; The loop: AdamW -9.0, Muon -3.7; One more visit: AdamW -14.8, Muon -12.2; Twice the experts: AdamW -14.3, Muon -9.9."><img class="not-prose hidden dark:block" src="assets/standing-dark.svg" width="720" alt="Test mBPB of the 8 designs of this release against the standard MoE, by optimizer: Standard MoE: AdamW +0.0, Muon +0.0; Finer experts: AdamW -4.2, Muon -0.9; Deeper, narrower: AdamW -6.9, Muon -4.2; Expert layout: AdamW -5.9, Muon -3.4; Untied twin: AdamW -8.9, Muon -3.3; The loop: AdamW -9.0, Muon -3.7; One more visit: AdamW -14.8, Muon -12.2; Twice the experts: AdamW -14.3, Muon -9.9."></p></div>
49
+ <div class="md:hidden"><p align="center"><img class="not-prose dark:hidden" src="assets/standing-light-narrow.svg" width="360" alt="Test mBPB of the 8 designs of this release against the standard MoE, by optimizer: Standard MoE: AdamW +0.0, Muon +0.0; Finer experts: AdamW -4.2, Muon -0.9; Deeper, narrower: AdamW -6.9, Muon -4.2; Expert layout: AdamW -5.9, Muon -3.4; Untied twin: AdamW -8.9, Muon -3.3; The loop: AdamW -9.0, Muon -3.7; One more visit: AdamW -14.8, Muon -12.2; Twice the experts: AdamW -14.3, Muon -9.9."><img class="not-prose hidden dark:block" src="assets/standing-dark-narrow.svg" width="360" alt="Test mBPB of the 8 designs of this release against the standard MoE, by optimizer: Standard MoE: AdamW +0.0, Muon +0.0; Finer experts: AdamW -4.2, Muon -0.9; Deeper, narrower: AdamW -6.9, Muon -4.2; Expert layout: AdamW -5.9, Muon -3.4; Untied twin: AdamW -8.9, Muon -3.3; The loop: AdamW -9.0, Muon -3.7; One more visit: AdamW -14.8, Muon -12.2; Twice the experts: AdamW -14.3, Muon -9.9."></p></div>
50
 
51
+ Bits per byte on the complete held-out test and validation splits after the last update; lower is better. The standard MoE is [`recipes/phase1/m0-muon.json`](https://github.com/datamllab/LoopTitan/blob/main/recipes/phase1/m0-muon.json); 1 mBPB is 0.001 BPB.
52
 
53
  ## Budgets
54
 
55
+ Matched budgets: all three within 5% of the standard MoE (Muon).
56
 
57
+ <div class="hidden md:block"><p align="center"><img class="not-prose dark:hidden" src="assets/budgets-light.svg" width="720" alt="Budgets against the standard MoE (Muon): unique non-embedding parameters -0.27%, training FLOPs per token +2.44%, KV cache +3.12%; tolerance ±5%"><img class="not-prose hidden dark:block" src="assets/budgets-dark.svg" width="720" alt="Budgets against the standard MoE (Muon): unique non-embedding parameters -0.27%, training FLOPs per token +2.44%, KV cache +3.12%; tolerance ±5%"></p></div>
58
+ <div class="md:hidden"><p align="center"><img class="not-prose dark:hidden" src="assets/budgets-light-narrow.svg" width="360" alt="Budgets against the standard MoE (Muon): unique non-embedding parameters -0.27%, training FLOPs per token +2.44%, KV cache +3.12%; tolerance ±5%"><img class="not-prose hidden dark:block" src="assets/budgets-dark-narrow.svg" width="360" alt="Budgets against the standard MoE (Muon): unique non-embedding parameters -0.27%, training FLOPs per token +2.44%, KV cache +3.12%; tolerance ±5%"></p></div>
59
 
60
  ## Training
61
 
62
+ 5.0B tokens of [mlfoundations/dclm-baseline-1.0-parquet](https://huggingface.co/datasets/mlfoundations/dclm-baseline-1.0-parquet) at revision `817d6752765f6a41261085171dd546b104f60626` (CC-BY-4.0): 4,769 updates of 1,048,576 tokens in sequences of 4,096, warmup-stable-decay schedule, seed 42. Muon at learning rate 1.7e-3, the value tuned once per optimizer on the standard MoE; the same grid on this model selects the same value ([#180](https://github.com/datamllab/LoopTitan/issues/180)). The full protocol: [results page](https://github.com/datamllab/LoopTitan/blob/main/docs/results/phase1.md). Configuration: [`recipes/phase1/m3-muon.json`](https://github.com/datamllab/LoopTitan/blob/main/recipes/phase1/m3-muon.json); run record: [#180](https://github.com/datamllab/LoopTitan/issues/180).
63
 
64
  ## Use
65
 
 
83
 
84
  | Design | AdamW | Muon |
85
  |:---|---:|---:|
86
+ | Standard MoE, 12 layers | [0.9995](https://huggingface.co/NaturalScale/looptitan-p1-moe12-adamw) | [0.9744](https://huggingface.co/NaturalScale/looptitan-p1-moe12-muon) |
87
+ | Standard MoE with finer experts | [0.9953](https://huggingface.co/NaturalScale/looptitan-p1-moe12-finer-adamw) | [0.9735](https://huggingface.co/NaturalScale/looptitan-p1-moe12-finer-muon) |
88
+ | Standard MoE, deeper and narrower, 18 layers | [0.9926](https://huggingface.co/NaturalScale/looptitan-p1-moe18-adamw) | [0.9702](https://huggingface.co/NaturalScale/looptitan-p1-moe18-muon) |
89
+ | Standard MoE, 18 layers, fewer experts in the middle | [0.9936](https://huggingface.co/NaturalScale/looptitan-p1-moe18-layout-adamw) | [0.9710](https://huggingface.co/NaturalScale/looptitan-p1-moe18-layout-muon) |
90
  | Untied twin of the loop | [0.9906](https://huggingface.co/NaturalScale/looptitan-p1-twin-adamw) | [0.9710](https://huggingface.co/NaturalScale/looptitan-p1-twin-muon) |
91
  | Looped MoE: the middle 6 layers run twice | [0.9905](https://huggingface.co/NaturalScale/looptitan-p1-loop6x2-adamw) | **0.9707** |
92
+ | Standard MoE with one more visit, outside matched budgets | [0.9847](https://huggingface.co/NaturalScale/looptitan-p1-moe12-loop6x2-unmatched-adamw) | [0.9621](https://huggingface.co/NaturalScale/looptitan-p1-moe12-loop6x2-unmatched-muon) |
93
+ | Standard MoE with twice the experts, outside matched budgets | [0.9852](https://huggingface.co/NaturalScale/looptitan-p1-moe12-2e-adamw) | [0.9645](https://huggingface.co/NaturalScale/looptitan-p1-moe12-2e-muon) |
94
 
95
  ## Citation
96
 
assets/budgets-dark-narrow.svg CHANGED
assets/budgets-dark.svg CHANGED
assets/budgets-light-narrow.svg CHANGED
assets/budgets-light.svg CHANGED
assets/standing-dark-narrow.svg CHANGED
assets/standing-dark.svg CHANGED
assets/standing-light-narrow.svg CHANGED
assets/standing-light.svg CHANGED