Best AI News โ€” Updated Every 3 Hours
Story Page
← All Stories
Home→ Community→ Story
Community

I built a browser tool to visualize how a small LLM picks its next word and see what it's attending to [P]

Via r/MachineLearning
Sunday, Oct 11, 2026 ยท 10:30PM
Summary

I made a little thing that visualizes attention. It runs SmolLM2-135M fully in the browser (onnxruntime-web, int8, no server, works on my phone). You give it a prompt, it generates one token at a time, and for each step you get the next-token candidates with probabilities, plus the attention from th

Continue reading the full article
Read at r/MachineLearning
www.reddit.com
Back to all stories