Building a Toy GPT from Scratch in PyTorch

Learn how a GPT-style transformer works by building one module at a time in PyTorch. No prior Transformer knowledge required.