ncylich commited on
Commit
7481cba
·
verified ·
1 Parent(s): 2641994

Add model card

Browse files
Files changed (1) hide show
  1. README.md +84 -0
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # temporal-moe-extras
2
+
3
+ Supporting artifacts for the Temporal-MoE experiments, 248 files, 39.78 GiB. These are things
4
+ that are expensive to regenerate but are not themselves training checkpoints.
5
+
6
+ ## Layout
7
+
8
+ ```
9
+ olmoe_adapt/
10
+ ckpt_bake_{CE,G,H,Er8,Er64,D}.pt full optimizer and training state behind the router bakes
11
+ finetune_ids.pt tokenized finetune corpus token ids
12
+ bpb_slice_ids.pt bits-per-byte evaluation slice
13
+ cal2_gprime.pt calibration tensors
14
+ oseries/, oseries_ce/ paired evaluation slices, val.f16, idx.u8, paired masks
15
+ logs/ bake, sweep, calibration and evaluation logs
16
+ merged_ce_model/ OLMoE backbone merged with the bake-CE router, loadable with
17
+ transformers, includes config and tokenizer
18
+ run_captures/<run_name>/
19
+ router_log.pt per-run router traces, back the mechanistic interpretability
20
+ and residency result tables
21
+ delex_capture.pt delexicalization captures
22
+ ablations/ 101 result tables as CSV, plus FINDINGS.md and README.md
23
+ figures/ 43 figures
24
+ tokenizer_tok16k/ the 16k tokenizer, also mirrored in the corpus repository
25
+ ```
26
+
27
+ ## Notes
28
+
29
+ `merged_ce_model/` is a derived artifact. It is included rather than regenerated because the merge is
30
+ not guaranteed to be bit-reproducible.
31
+
32
+ `ablations/` holds the result tables the paper draws on. `FINDINGS.md` and `README.md` in that
33
+ directory are the written interpretation of those tables.
34
+
35
+ The base OLMoE model is not mirrored here. It is public at
36
+ [`allenai/OLMoE-1B-7B-0924`](https://huggingface.co/allenai/OLMoE-1B-7B-0924).
37
+
38
+ ## Training configuration
39
+
40
+ Every run directory contains `run.meta` and `train.log`. `run.meta` records the full knob set for
41
+ that run in two lines, for example:
42
+
43
+ ```
44
+ [run] temporal_fine_g3_1e19 N=185766400 iters=17112 warmup=856 min_lr=0.0003 eval@1711
45
+ [run] shape=s19opt H=800 L=14 ffn=4272 moe_ffn=184 grain=3 num_experts=192 shared_int=1100
46
+ dense=0 temporal=1 shared_mult=2 topk=18 heads=50 gb=256 mb=8 lr=3e-3 flops=1e19
47
+ ```
48
+
49
+ `train.log` is the full Megatron stdout, including the complete argument namespace dumped at startup.
50
+ Read these before drawing any conclusion from a checkpoint.
51
+
52
+ ## MANIFEST.csv and the `cited` column
53
+
54
+ A manifest covering every file in all four repositories lives in the code repository. It has seven
55
+ columns: `local_path`, `hf_repo`, `hf_path`, `bytes`, `sha256`, `run_name`, `cited`.
56
+
57
+ The `cited` column marks whether a run is referenced by a results table in `results/ablations/*.csv`
58
+ or by the paper:
59
+
60
+ - `cited`, the run backs a published number. There are 58 of these.
61
+ - `uncited`, the run is infrastructure validation, a smoke test, a throughput probe, or an aborted
62
+ run. It is kept for completeness and reproducibility, not because a table depends on it. There are
63
+ 13 of these.
64
+ - empty, the file is not scoped to a single run, for example a batch log or an evaluation output.
65
+
66
+ Every `sha256` in the manifest was computed on this disk before upload and each file was verified to
67
+ exist remotely with a matching byte size.
68
+
69
+ ## Links
70
+
71
+ - Code: <https://github.com/ncylich/temporal-moe>
72
+ - Paper: Temporal-MoE (short paper), see the `paper/` directory in the code repository
73
+ - Upstream platform this work forks: [FLAME-MoE](https://github.com/cmu-flame/FLAME-MoE), [arXiv:2505.20225](https://arxiv.org/abs/2505.20225)
74
+
75
+ ## Companion repositories
76
+
77
+ - [`ncylich/temporal-moe-ckpts`](https://huggingface.co/ncylich/temporal-moe-ckpts), Megatron training checkpoints
78
+ - [`ncylich/temporal-moe-router-adapt`](https://huggingface.co/ncylich/temporal-moe-router-adapt), router adaptation safetensors
79
+ - [`ncylich/temporal-moe-extras`](https://huggingface.co/ncylich/temporal-moe-extras), captures, merged model, result tables, figures
80
+ - [`ncylich/temporal-moe-corpus`](https://huggingface.co/datasets/ncylich/temporal-moe-corpus), tokenized training corpus
81
+
82
+ ## Provenance
83
+
84
+ Trained with a personal fork of FLAME-MoE. Not affiliated with or endorsed by the FLAME-MoE authors.