Part 3 of 9 in Training Metis. Previous: Closed at 63M: What Lost · Next: The Tokenizer Bought Time, Not Quality
The second prototype of Metis used a tool result in 22 of 56 questions and got worse at plain text. The note named the main limiter in one line: 39 million training tokens for 73 million parameters. So we kept the model and recipe and gave the same model ten times more text. It used a tool result in 55 of 56 questions, and its test bits per byte fell from 1.664 to 1.294. One of our six predictions failed: the common-sense score did not move.
We changed the amount of text and little else
The model was the same 72.6 million parameters, with the same recipe from part 2: AdamW at 3e-4, warmup 30, a cooldown over the last 20%, zero-init and QK-norm. The change was the amount of text. We trained 24,400 updates of 16,384 token ids each, which is 400 million tokens. That is 5.5 tokens per parameter, against 0.5 before.
The corpus was a file of 401.5 million ids, so the run read it just under once. About 82% was Wikipedia text and about 18% was the earlier mix of tool rows, math and our notes, according to our facts sheet. We did not re-measure that split. We wrote our predictions in a file before the run and froze it. They were predictions, not pass marks, and some of them were wrong.
The curve fell fast, then the cooldown paid a second time
We scored a held-out tail of text in bits per byte (bpb). Bits per byte is how many bits the model needs for one byte of unseen text, so lower is better. The second prototype's tail sits inside this run's held-out part, so both models were scored on text neither trained on.
| update | test bpb | note |
|---|---|---|
| 1,780 | 1.848 | context 4,096 |
| 3,560 | 1.622 | context 2,048 from here; scored at 2,048, so not comparable with the row above |
| 10,680 | 1.446 | |
| 17,800 | 1.383 | |
| 19,520 | 1.375 | cooldown starts |
| cooldown | 1.337, then 1.308 | context 4,096 again |
| 24,400 | 1.294 | final |
From update 1,780 to 3,560 the score fell by 0.226, but those two scores used different contexts, so part of that drop may come from the scoring. From 3,560 to 19,520 it fell by another 0.247. The last 20% of the run, the cooldown, took off 0.081, from 1.375 to 1.294. That also crosses a context change, from 2,048 back to 4,096, so we do not know how much of the 0.081 is the cooldown itself and how much is the longer context.
After the first chunk, updates 1,780 to 19,520 ran at a context of 2,048 tokens, which cost about 142 ms per update against 169 ms at 4,096. This was an amendment we made after chunk 1 and before chunk 2, with the predictions unchanged. The cooldown went back to 4,096 so that the model learns its full context. Our notes name the risk: 4,096-context use is learned in only the last 4,880 updates.
Five of six predictions held
| measure | before | after | held |
|---|---|---|---|
| test bits per byte | 1.664 | 1.294 | yes |
| perplexity on the second prototype's held-out text tail | 72.0 | 20.48 | yes |
| LAMBADA perplexity (accuracy 0.026 to 0.099) | 80.2 | 17.45 | yes |
| ARC-Easy accuracy | 0.280 | 0.322 | yes |
| tool questions used | 22 of 56 | 55 of 56 | yes |
| PIQA accuracy | 0.550 | 0.547 | missed, bar 0.57 |
Perplexity says how surprised the model is by each token, so lower is better. LAMBADA asks it to guess the last word of a passage. Its perplexity fell by a factor of 4.6, and accuracy went from 2.6% to 9.9%. Both are still weak. A published GPT-2 124M, a model with 1.7 times as many parameters, scores about 0.33 accuracy on LAMBADA. The tool result is the one we care about. The same 56 held-out questions went from 22 used to 55 used (brain_ask 20 of 20, run_js 29 of 30, web_fetch 6 of 6). "Used" means the answer shares a word with the real tool result, which is a weak check of answer quality.
Two results are less clean. PIQA is a common-sense test on physical situations. It sat at 0.550, then 0.547, and the bar was 0.57. An untrained model scores 0.518 to 0.526 on it, so Metis is above chance but did not learn more from ten times the text. We do not know why. The next-run plan lists common-sense data as an untested lever, which is a guess, not a finding. ARC-Challenge came out at 0.170, below the untrained control's 0.240. We call that noise at 73M parameters.
The run cost about an hour and 0.27 kWh
We measured the step before spending the budget. The profile, taken at a context of 4,096, showed that matrix multiplies take about half the step, and flash attention about 57 ms of a 169 ms update. The host never waited. No small kernel change looked worth making. At a context of 2,048 the trainer took 145.8 ms per update at 278 W of the card's 290 W cap, which is 40.5 joules per update. The whole run used about 0.27 kWh and about 61 GPU-minutes.
The trainer reached 56 TFLOPS, which is 46% of the card's peak for this kind of math. The big matrix multiplies ran at 82 TFLOPS. Flash attention ran at about 34 TFLOPS, the slowest piece. A document mask, which stops a token from seeing the previous article, was estimated at about 10% of the step. We left it for a later round and ruled it out for this one, noting that the median Wikipedia article is about 4,100 ids long.
We cut the run into 14 chunks, saving a checkpoint once per chunk at about 1.9 seconds a save. The plan grouped several chunks into one job on the shared GPU queue, since each chunk added 11.5 seconds of setup.
We also made a mistake here. We reported a chunk overhead of 100 seconds before reading the queue log. A lone chunk had waited 90 seconds behind another session's job, and that wait was the overhead. Chunks run together in one job measured 11.5 seconds per chunk. We now read the queue log before we name an overhead.
What this shows and what it does not
It shows that this model was starved, and that more of the same text fixed most of what we measured, including tool use. It does not show that the text itself matters. We changed the amount of text, but this was one run, and the mix also changed from a small corpus with repeated tool rows to a large corpus where that mix is about 18%. It does not show that 5.5 tokens per parameter is enough. The tool score is at 55 of 56, and the common-sense score has not moved. We do not know whether more of the same text would move either.
The next-run plan ranked seven levers: a power cap, faster flash attention, a fused kernel, our own tokenizer, 1.5 billion tokens, common-sense data and a longer learning-rate horizon. Parts 4 and 5 take the tokenizer and the kernels, because they buy GPU time. To check this part, repeat the run on 39 million and 400 million tokens with the same tail held out.

Comentarii
Niciun comentariu încă.
Conectare pentru a comenta.