Skip to content

Andrej Karpathy

Let's build GPT: from scratch, in code, spelled out.

About this video

Andrej Karpathy builds a GPT from scratch in code, following Attention Is All You Need and GPT-2/3, in about two hours using PyTorch. He connects it to ChatGPT and assumes familiarity with his earlier makemore videos.