Changing What the Model Reads in Its Last Two Billion Tokens
In my main run, the model read ten billion tokens of educational web pages. I went back to the checkpoint at eight billion and tried a different ending. The original run, called 4a, kept reading ordinary FineWeb-Edu pages. A second run, called M2, used the same learning-rate schedule for the last two billion tokens but changed the reading material. Both models finished at ten billion tokens.
I first screened candidate mixes at a total budget of one billion tokens. For the final stretch of M2, I chose a mix of 60% highly rated FineWeb-Edu pages, 25% synthetic educational text from Cosmopedia, and 15% math text from FineMath. Across the whole run, the shares work out to about 92% FineWeb-Edu, 5% Cosmopedia, and 3% FineMath. That small change in what the model read was enough to show up in what it could do.
Better at science questions, worse at grammar judgments
| Evaluation | Original (4a) | New mix (M2) | GPT-2 124M |
|---|---|---|---|
| FineWeb-Edu, bits per byte (lower is better) | 0.9836 | 1.0140 | 1.0287 |
| HellaSwag, choose a plausible continuation | 30.81% | 30.92% | 29.89% |
| ARC-Easy, answer a science question | 44.78% | 48.23% | 40.53% |
| PIQA, apply everyday physical knowledge | 60.83% | 60.88% | 62.51% |
| BLiMP, choose the grammatical sentence | 79.48% | 77.73% | 82.52% |
| SciQ, answer a science question using a passage | 70.90% | 71.90% | 68.20% |
| LAMBADA, predict the last word of a passage | 28.84% | 28.80% | 33.69% |
For every hundred ARC-Easy questions, M2 got about three or four more right. On BLiMP, it missed about two more per hundred. Predicting the ordinary educational web pages also got harder. I had seen a related tradeoff in the smaller trials. Replacing half the educational web share of the cooldown mix with ordinary web text improved grammar and last-word prediction but cost about 2.3 percentage points on ARC-Easy. I only tested that alternative at the one-billion-token budget.
To summarize the six tasks, I set random guessing to zero and a perfect score to one on each task, then gave all six equal weight. The averages were 0.3413 for 4a, 0.3457 for M2, and 0.3476 for GPT-2. M2 gained 0.0044 over 4a. Comparing the two models on the same individual questions gave an approximate 95% interval of −0.0034 to +0.0122 for that difference. The interval includes zero, and I had already used these tasks to help pick the mix. The science gain and the grammar loss were easier to distinguish than the small change in the overall average.
Had the model seen the test questions?
Science questions get posted on the web. I searched both training files for exact matches to question text or passages supplied with the questions. Then I removed matching questions and scored both models on the remaining ones. Finding a copy in a file means the model could have seen it. Replaying the sampler let me check which copies it had actually read.
Of the 2,376 ARC-Easy questions, I found 39 complete question stems in the files. For M2, 26 of them appeared in sampled training windows. After removing all 39, the scores were 44.89% for 4a and 48.40% for M2. The science gain survived that check. In SciQ, 193 of the 1,000 questions matched either a question stem or part of a supporting passage. After removing those questions, the scores were 70.26% and 71.75%. An exact search can miss paraphrases, and SciQ supplies the supporting text, so these scores describe performance with that material available. Evaluation code
A question about a scarf
I wrote a pair of short passages about Alice. In one she wore a red scarf. In the other, I changed the color to blue and asked the same question. M2 answered in a complete sentence both times. Both times it said red.
I made 24 such pairs about colors, cities, and pets. Given two candidate answers and no worked example, M2 chose correctly on 24 of the 48 questions. It got both versions right in only one pair. The original model got 26 questions right and answered both versions correctly in three pairs.
I chose M2 as the starting point for later reading-comprehension training and kept 4a as a comparison trained on the same budget. M2 had gained ground on science questions. The original still predicted ordinary web pages more accurately. The scarf test gave me a concrete question to take into the next stage of the project. After training for question answering, would the answer change when I changed the passage? Pretraining experiment tree · Project results