Level 1 · Apprentice0 XP
A 124M model on 10 billion tokens: bfloat16, torch.compile, FlashAttention and multiple GPUs.
Step 1 / 6
Problem1 MB of plays teaches style, not knowledge. GPT-2 was trained on about 40 GB of web text. To learn facts and general language, the model needs billions of tokens.
← → step
Before this: Generate text
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Core (30 min): from a measured tokens-per-second number (yours, or a published one for your GPU), estimate the hours and the cost of the full 10B-token run. Stretch: rent one GPU for a 200-step dry run on a 100M-token sample, measure tokens per second with and without torch.compile and bf16, and shut the machine down.