HackerTube / Video

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

Andrej Karpathy

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

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.

It is the go-to recommendation for learning how transformers and LLMs actually work, praised for its clarity and Karpathy's teaching.

20 Hacker News mentions · 2023–2025

Topics

Watch on YouTube

Explore more videos