Every number in a tiny GPT, from one forward pass to one step of RLHF
In the maker’s words
Source: https://github.com/manogyasingh/transformer-visualisation Was taking a course on reasoning LMs with a 50% project component. Shortly after I started, I realised I didn't fully understand how these work. I know the architecture and the theory and steps but still there are stages where either the purpose, or the functioning was unclear to me and so I wanted an interactive walkthrough of one token's generation. So here it is, made with Opus 5.5. It's a step by step walkthrough of a toy GPT-2 like model. Every matrix fits on screen, every number is computed live in the browser, and hovering over any cell shows the exact math of that step. It covers inference -- following the generation of one token from tokensiation to sampling, one training step of pretraining, and one PPO iteration of RLHF for post-training. Inspired in part by Brendan Bycroft's LLM visualization ( https://bbycroft…
Where people found it
- Hacker NewsShow HN: Every number in a tiny GPT, from one forward pass to one step of RLHF8 points0 comments3 hours ago
More sites like Every number in a tiny GPT, from one forward pass to one step of RLHF
- Giving Opus 5.5 a simulated paint canvasstillwet.art
- MailAccessthe true Email OSINT framework
- A walkable 3D art history museum built from Wikipediaartmuseum.artfrompixels.com
- answer-me-with-html: Answer me with HTMLan agent skill that answers hard questions with a one-page HTML you can actually read. 让 AI Agent 用一页 HTML 回答复杂问题。
- Pi podRun your pi coding agent in sandboxes on your own server
- Thoreau BASICWhat if BASIC hadn't gone out of fashion?