Back to Home
Inside an LLM
What is a Transformer?
A Transformer is the main engine inside many modern AI models. It helps AI understand text and generate the next words.
This is a simplified learning demo. It does not show the full math inside real Transformers.
Interactive Playground
Space or → to step through
What's Happening
Press Start to step through or Run All to watch it play automatically.
Live Visualization
💡
Key Takeaway
A Transformer helps AI look at text, understand relationships between words, and predict what should come next.
Unlike older AI, a Transformer reads all words at the same time that's what makes it so fast and powerful.