1:41:33Ishan Anand explains how GPT-2 works using a browser-based implementation in vanilla JavaScript, showing how text becomes tokens and embeddings, passes through attention and MLP blocks, and yields a next-token prediction. He builds intuition for byte-pair encoding, positional embeddings, attention, neural networks, and backpropagation with examples rather than advanced math. He then describes how training turns a next-word predictor into a helpful assistant through instruction tuning and reinforcement learning from human feedback. The talk also compares GPT-2 with newer models, touching on RoPE, reasoning models, and mixture-of-experts architectures.