Let's build GPT: from scratch, in code
Andrej Karpathy builds a small GPT model, making the architecture concrete.
Andrej Karpathy builds a small GPT model, making the architecture concrete.
A companion deep dive into the tokenisation layer beneath language models.