AnalysisOpinion / analysisLarge Language Models · Retrieval, RAG & Search1 source · Oct 11, 2026

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

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 the current token back to the earlier ones drawn as links with the weights labeled.

Proof1 community thread

Key points

  • 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 can click any word to see where its attention actually went, ranked.
  • Thought it was a bug in my code, but after some digging it turned out to be the attention sink 😅

Sources (1)

Extractive summary: sentences quoted from the sources.

Before this

  1. Oct 11, 2026openai/openai-python v3.29.0
  2. Oct 11, 2026Agent Speedrun — Elizabeth Fuentes Leone & Sandhya Subramani, AWS
  3. Oct 10, 2026EviScene: Beyond "Is It AI?" for Agentic Image Factuality Assessment
  4. Oct 10, 2026LightVAE: Towards Compact and Efficient Video Autoencoders
  5. Oct 9, 2026New Math from OpenAI
  6. Oct 9, 2026Work2Skill: Capturing Human GUI Experience for Reusable Agent Skill Induction

Related