Loading video...
Video Failed to Load
You can literally type a sentence and watch a Transformer process it. This interactive explainer runs a GPT-style model in the browser and lets you follow the whole path: tokenization → embeddings → Q/K/V → attention → MLP → logits → next-token probabilities You can inspect attention maps, intermediate... show more
134,999 views • 20 days ago •via X (Twitter)
21 Comments

this visualizer is insane. actually seeing attention weights shift live makes the math click way faster than reading a paper

浏览器里交互式演示 Transformer 推理全过程,可看注意力图、调整采样参数。能把抽象的 Transformer 架构,变成可实时观察的完整链路。

5.6GB RAM?

Super cool! Thanks

Great @techNmak 🙌🏼 This'll definitely help people to understand how transformer architecture works internally.

typing a sentence and watching a transformer process it is such a good way to learn attention lol. does it show each head separately?

The masked self attention is really clear but I think you could make the multiple heads clearer, perhaps show some depth with slight 3d rather than a 2d plane for each head.

Looks awesome. Told my daughter that LLMs are essentially giant guided plinko machines. A bit of a oversimplification, but your explainer shows it action. Thanks for sharing it!

How faithful is the browser model to a real GPT?

the "watch" framing oversells it. you see static snapshots, not the actual compute happening.

wow amazing

that hands-on approach will really help demystify how transformers work

Would love to try

First experiment I'd try: swap one word and compare the attention maps.

Nice clean looks

Insane visualisation

Thank you for sharing this!! Have a great Sunday

the MLP step is where the diagram version always lost me. poking temperature and watching the next-token probs move is the useful part.

I'd start by changing one word and comparing the attention maps.

You guys make this for DVA at GT?

Nice, been wanting to inspect attention maps without spinning up a notebook. Browser-based is clutch.
Related Videos
Sensitive content
Lex P and Drea Nicole talked about how they don’t like men who talk in a baby voice during s-x and Lex P started to mimic how men actually talk in a baby voice during s-x in the most hilarious way ever💀😭 “Are you gon s—k this d—k, is that how he says it, can you s—k this d—k please baby, cmon babe s—k my d—k please”😭
flame⛧
174,870 views • 5 months ago
