Loading lesson…
Level 1 · Apprentice0 XP
A bigram model, cross-entropy loss and a baseline to beat.
Step 1 / 6
ProblemA transformer has many parts. If you build all of them at once and the loss does not fall, you cannot tell which part is broken.
← → step
Before this: Turn text into training batches
🛠️ 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.Train the bigram model for 2,000 steps. Check that the starting loss is near ln(vocab_size), plot the training and validation loss, and generate 200 tokens of text.