14/23
Part 4 of 6 · Merge the headsWatch
Watch · 3 min

Karpathy walks through nanoGPT's model file, where all the heads run as one batch: the same split and merge you just wrote, in real training code.

Let's build GPT: from scratch, in code, spelled out. · Andrej Karpathy · Jan 2023YouTube