Transformers from scratch: things that silently broke
Over the last three weeks I built a decoder-only GPT, a Vision Transformer, RoPE, and GQA, all from raw PyTorch, no copy-pasting a reference implementation. The models train and the loss curves look r
Aug 1, 20265 min read19
