25/29
Part 5 of 5 · How big is itWatch
Watch · 6 min
Raschka counts his GPT's parameters with numel and gets 163 million, not GPT-2 small's 124 million, then shows that the gap is the output layer, which GPT-2 shares with the token table and Llama 3 does not.
Build an LLM from Scratch 4: Implementing a GPT model from Scratch To Generate Text · Sebastian Raschka · Mar 2025YouTube