alt.hn

7/29/2026 at 1:05:17 PM

TokenTown: A visual way to understand how LLMs work

https://laurentiugabriel.github.io/token-town/

by laurentiurad

7/29/2026 at 3:13:42 PM

I read through the explanations and they’re all typical hand wavy LLM prose, full of jargon, and random tangential details. If you’re going to publicly present this as a learning tool, it would be great if you spent some actual human brain cycles writing and polishing it by hand, rather than just chucking the first thing that claude spits out over the fence. I can pretty much guess the prompt you used and probably get the same thing.

by foltik

7/29/2026 at 3:53:50 PM

Or more gently...I think this is a great idea, but for the average person (me), dumbing it down a little more may go a long way

by overtaxed

7/29/2026 at 7:25:42 PM

Thanks for the feedback! Will definitely look into simplifying it

by laurentiurad

7/29/2026 at 3:35:59 PM

[dead]

by dan_gee

7/29/2026 at 3:32:05 PM

"This is not a loop in code: it is a stack of distinct blocks"

Proceeds to literally loop around 6 times.

by GCUMstlyHarmls

7/29/2026 at 3:04:22 PM

I think you need to know a lot to understand this, so perhaps it should mention what you should already know in order for it to be comprehensible.

by Hugada

7/29/2026 at 5:11:27 PM

I'd suggest the LLM visualiser (1) by Brendan Bycroft. I'm a visual learner and it helped me understand LLMs better than anything else ever could.

(1) https://bbycroft.net/llm

by phikappa

7/29/2026 at 3:12:02 PM

This would be really cool if it did 3Brown 1Blue's style of visualization - but interactively, and allowed you to explore at any stage.

by onlyrealcuzzo

7/29/2026 at 2:51:42 PM

this doesnt help at all

by lionel-messi

7/29/2026 at 3:33:03 PM

Not to mention that it's got all sort of bugs and traffic discontinuities. I just saw one of those "road train" things (a batch?!) on the central loop "crash" at the "Layer Counter Arch" while other cars just drove straight thru it.

The "Output Plaza" doesn't seem very outputtish - cars/embeddings seem to loop around back into the input.

Not sure why the Attention Plaza is occasionally shooting stuff down the storm drains/whatever in the center!

The sampler as centrifuge is a strange visualization!

So I guess the takeaway is that LLM are related to cars? Or maybe highways. Was this designed by Schmidhuber?

by HarHarVeryFunny

7/29/2026 at 4:03:34 PM

You're absolutely right!

by icedchai

7/29/2026 at 3:11:45 PM

Congratulations you're now a senior AI engineer

by pluc

7/29/2026 at 3:17:08 PM

Just softmax it over the KV cache dude!

by willchis

7/29/2026 at 3:59:55 PM

I'd appreciate if you could make this mobile ready, with llms I expect this to be very easy

by arcs-

7/29/2026 at 3:18:55 PM

Can we filter out random vibe-coded projects like this from the homepage?

by hk__2

7/29/2026 at 3:21:20 PM

filtering functionality would be great

by simpledevraf

7/29/2026 at 3:26:24 PM

From this I learned LLMs are complex and compute-intensive.

by markstos

7/29/2026 at 3:22:00 PM

interesting approach to describe this topic

by simpledevraf

7/29/2026 at 3:48:10 PM

[flagged]

by kieranhunt

7/29/2026 at 1:05:17 PM

You can paste text and immediately see how it's split into tokens, along with token IDs, counts, and other details. It's useful for understanding why prompts cost what they do, why context limits behave the way they do, and why models sometimes split words in unexpected places.

I made it because I kept explaining tokenization to friends and realized there wasn't a simple, interactive tool that focused on learning rather than documentation.

I'd love feedback on:

Features that would make it more useful UI improvements Bugs or edge cases you've found

Hope it's useful!

by laurentiurad

7/29/2026 at 3:17:21 PM

> I made it

*I asked a LLM to make it

by hk__2

7/29/2026 at 3:20:11 PM

Honestly this person's whole github pages screams tech grifter

by JojiDoesCode