Lesson 2 · Unit 03
Scale
Parameters, data, compute, and the stages of training
What you practise
- Parameters, data and compute, pretraining then fine-tuning then instruction and preference tuning, what emerges from scale and what doesn't, why training costs what it does
Try a question from this lesson
Pick one
Two teams grow the same model. Team A doubles the vector size in every block. Team B doubles the number of blocks. Whose model gains more parameters?
Hint
A block is mostly square weight matrices. What happens to a d × d matrix when d doubles?
Correct answer
Team A: a block grows with the square of the vector size
Why
Twice as many blocks is twice the parameters. Twice the width makes every d × d weight matrix four times bigger, so the blocks grow nearly fourfold. Width, depth and data all have to grow together for the cost to pay off.
The idea
Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.
Concept
Three stages
Pretraining: next-token prediction on a huge pile of raw text. This is where almost all the compute goes and where language, facts and patterns are absorbed.
Fine-tuning: more training from those weights on narrower data, such as instructions paired with good answers.
Preference tuning: people (or rules) judge which answers are better, and the model is nudged toward those.
10 more exercises in the app
- 4× type the answer
- 1× order the lines
- 3× multiple choice
- 1× true or false
- 1× match the pairs
Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.