
Follow one sentence through a tiny GPT, from tokens to next-word odds, computed live in the page
Inside a Transformer
Web ·
by Ashish Kumar
A step-by-step explainer runs a small two-block transformer in your browser and shows tokens, embeddings, attention, MLP and softmax for any sentence you type. The weights are untrained, so it explains the arithmetic rather than predicting well.
How it was made
The maker hasn't said how it was made.
About the maker
Ashish Kumar made Inside a Transformer.
Maker's pages don't say how it was built. Untrained weights by design. Maker is identified on X and LinkedIn; personal site links to both.
Similar builds
Offline classics reader
Learning & data
Syncopate
Learning & data
Trails
Learning & data
Interactive Middle-earth Map
Learning & data
Questions
What AI tool was used to build Inside a Transformer?
The maker hasn't said.
Is Inside a Transformer free?
Yes. It is free to try.
Who made Inside a Transformer?
Ashish Kumar made it.
Source checked 2026-10-16. Descriptions summarize the maker's own account, not independent testing.
Discover projects worth exploring in the weekly newsletter.