Show HN: Every number in a tiny GPT, from one forward pass to one step of RLHF
Source: <a href="https://github.com/manogyasingh/transformer-visualisation" rel="nofollow">https://github.com/manogyasingh/transformer-visualisation</a> 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.<p>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.<p>Inspired in part by Brendan Bycroft's LLM visualization (<a href="https://bbycroft.net/llm" rel="nofollow">https://bbycroft.net/llm</a>)
Wettbewerber & Alternativen
Show HN: AI-built browser games, collected in one place
Hello, HN friends.<p>I spent many happy IT lessons messing around on Newgrounds when I was a kid. And, to further age m…
Show HN: Zero-axiom Lean 4 proof that Yang-Mills on R^4 is a "round square"
On October 26, OpenAI announced a claimed "bare existence" proof in Balaban's RG programme on pure R^4—but notably stop…
Show HN: Bio ML Tools in the Browser
This was borne from frustration installing various biology ML tools (protein structure prediction, sequence prediction,…
Show HN: MTA.rip: a train visualizer that shows congestion
It bugged me recently that the New York City subway countdown clocks show an estimated time that is often inaccurate. S…
Show HN: TinyAIArena watch AI agents battle it out
Did you ever click on an “AI Arena” expecting glorious battle and instead get a boring benchmark? If so, this project i…