quintic commited on
Commit
77626fc
·
verified ·
1 Parent(s): a34b0a6

Dataset card: add the routed 8k sweep

Browse files
Files changed (1) hide show
  1. README.md +53 -0
README.md CHANGED
@@ -108,6 +108,7 @@ by-product:
108
  | lr-batch-sweep-125M | 1,440 | 8 | 8.2 MB |
109
  | 3-seed-gradient-spike | 1,440 | 8 | 6.6 MB |
110
  | 8k-lr-sweep-60M | 1,440 | 8 | 2.4 MB |
 
111
 
112
  The two large ones carry layer detail because gradient spikes are visible in
113
  it, and studying them is the point. This is deliberate discretion, not a
@@ -118,6 +119,30 @@ bucket's minimum and maximum rather than one representative point — so a spike
118
  inside the embedded data stays visible at every zoom level. It cannot recover a
119
  sample that thinning already dropped.
120
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  ## Contents
122
 
123
  | report | runs | tier(s) | what varies | logs |
@@ -128,6 +153,7 @@ sample that thinning already dropped.
128
  | [batch-size-sweep-500M](batch-size-sweep-500M.html) | 12 | 500M | batch × LR × seed, 5 and 20 TPP | [`batch-sweep-500M`](https://huggingface.co/datasets/quintic/rig-logs/tree/main/batch-sweep-500M) |
129
  | [3-seed-gradient-spike](3-seed-gradient-spike.html) | 12 | 250M | LR × seed | [`lr-transfer-250M`](https://huggingface.co/datasets/quintic/rig-logs/tree/main/lr-transfer-250M) |
130
  | [8k-lr-sweep-60M](8k-lr-sweep-60M.html) | 15 | 60M | LR × seed at 8k context | [`lr-sweep-8k-60M`](https://huggingface.co/datasets/quintic/rig-logs/tree/main/lr-sweep-8k-60M) |
 
131
  | [transfer-charts](transfer-charts.html) | — | — | derived figures, not a run dashboard | — |
132
 
133
  Each study also carries a `snapshot.json.gz` (loss curves only, 0.05–0.30 MB)
@@ -279,6 +305,33 @@ for lr in 0.015625 0.0078125 0.00390625 0.001953125 0.0009765625; do
279
  done
280
  ```
281
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
282
  ## transfer-charts.html
283
 
284
  Not a run dashboard. Derived figures built from recorded results by
 
108
  | lr-batch-sweep-125M | 1,440 | 8 | 8.2 MB |
109
  | 3-seed-gradient-spike | 1,440 | 8 | 6.6 MB |
110
  | 8k-lr-sweep-60M | 1,440 | 8 | 2.4 MB |
111
+ | moe-lr-sweep-8k | 1,440 | 8 | 7.2 MB |
112
 
113
  The two large ones carry layer detail because gradient spikes are visible in
114
  it, and studying them is the point. This is deliberate discretion, not a
 
119
  inside the embedded data stays visible at every zoom level. It cannot recover a
120
  sample that thinning already dropped.
121
 
122
+ Charts are per-metric, and a metric no selected run recorded is not drawn at
123
+ all — the panel is hidden rather than left as an empty frame. Routed runs
124
+ record routing series a dense run never will, so most reports carry charts that
125
+ do not apply to part of the selection, and a grid of empty frames would bury
126
+ the ones that do.
127
+
128
+ Which metrics get charted is a declared list in `rig/report.py`, separate from
129
+ the metric registry, because how a quantity should be drawn is a judgement the
130
+ registry cannot make. Everything so far is a line against the time axis; a
131
+ distribution rather than a scalar — a routing histogram, say — wants bars
132
+ against expert index and would arrive as a new chart kind rather than being
133
+ bent into a timeline.
134
+
135
+ ## The study browser
136
+
137
+ [`study-browser.html`](study-browser.html) carries no data at all — 53 KB. It
138
+ lists the studies, renders each one's card from the dataset, and fetches only
139
+ that study's overview (0.05–0.30 MB) when you pick one. The full logs are a
140
+ second, separately labelled click that states the size before it starts:
141
+ 6.4 MB for the 8k sweep, 138 MB for the 500M one. Nothing downloads on load.
142
+
143
+ Everything it fetches is an ordinary report payload, so the page never needs to
144
+ understand the packed log format — the two only have to agree about JSON.
145
+
146
  ## Contents
147
 
148
  | report | runs | tier(s) | what varies | logs |
 
153
  | [batch-size-sweep-500M](batch-size-sweep-500M.html) | 12 | 500M | batch × LR × seed, 5 and 20 TPP | [`batch-sweep-500M`](https://huggingface.co/datasets/quintic/rig-logs/tree/main/batch-sweep-500M) |
154
  | [3-seed-gradient-spike](3-seed-gradient-spike.html) | 12 | 250M | LR × seed | [`lr-transfer-250M`](https://huggingface.co/datasets/quintic/rig-logs/tree/main/lr-transfer-250M) |
155
  | [8k-lr-sweep-60M](8k-lr-sweep-60M.html) | 15 | 60M | LR × seed at 8k context | [`lr-sweep-8k-60M`](https://huggingface.co/datasets/quintic/rig-logs/tree/main/lr-sweep-8k-60M) |
156
+ | [moe-lr-sweep-8k](moe-lr-sweep-8k.html) | 18 | 60M/125M | LR × seed, top-2 of 8 experts | [`moe-lr-sweep-8k`](https://huggingface.co/datasets/quintic/rig-logs/tree/main/moe-lr-sweep-8k) |
157
  | [transfer-charts](transfer-charts.html) | — | — | derived figures, not a run dashboard | — |
158
 
159
  Each study also carries a `snapshot.json.gz` (loss curves only, 0.05–0.30 MB)
 
305
  done
306
  ```
307
 
308
+ ## moe-lr-sweep-8k.html
309
+
310
+ 18 runs of [`reference_moe`](../../recipes/reference_moe/) — top-2 of 8
311
+ experts at 8,192 context, forked from the dense 8k ladder. 60M at five learning
312
+ rates × three seeds, plus 125M spot runs at three learning rates.
313
+
314
+ The routed ladder peaks at `2^-8`, the same learning rate the dense one does,
315
+ and beats it at every learning rate by 0.07–0.12 nats at equal *active*
316
+ parameters and matched compute, for about 1.7x the memory. No expert in any of
317
+ the 12 layers finished below 1% of assignments in any of the 18 runs.
318
+
319
+ This report carries six routing series the dense reports do not have: balance
320
+ loss, busiest and idlest expert share, routing entropy, mean top-1 gate, and
321
+ router logit RMS. They are recorded model-wide and per layer, with per-expert
322
+ load for all 8 experts in all 12 layers, at every step.
323
+
324
+ ```bash
325
+ for lr in 0.015625 0.0078125 0.00390625 0.001953125 0.0009765625; do
326
+ for seed in 1337 1338 1339; do
327
+ rig run reference_moe --cluster v4-32 --profile dev --track open \
328
+ --tier 60m --tokens-per-parameter 5 \
329
+ --base-learning-rate "$lr" --seed "$seed" --checkpoint-policy none \
330
+ --name "60m-moe-lr${lr}-s${seed}"
331
+ done
332
+ done
333
+ ```
334
+
335
  ## transfer-charts.html
336
 
337
  Not a run dashboard. Derived figures built from recorded results by