Build a Small LLM From Scratch: A Tested GPT in PyTorch
Build a compact GPT-style transformer in PyTorch, train it on Tiny Shakespeare, test the critical pieces, and see exactly how an 813K-parameter language model learns.

Build a compact GPT-style transformer in PyTorch, train it on Tiny Shakespeare, test the critical pieces, and see exactly how an 813K-parameter language model learns.

Build your first artificial neuron using a decision you already make every day — no math background needed.
