transformer-explainer
An interactive browser tool for learning how GPT-style Transformer models work. Enter text and watch a live GPT-2 model visualize how its components predict the next tokens.
Pick a small issue you can reproduce, then fix it with your AI coding agent.
Share on XLicense: MIT
Overview
Transformer Explainer is an interactive browser-based learning tool for understanding Transformer models such as GPT. It runs a live GPT-2 model in the browser, so learners can enter their own text and see how the model predicts the next tokens. Visualizations show how internal components and operations work together during prediction. Use the live demo to explore, or run the project locally with Node.js and npm to open it in a browser.
Key features
- Runs a live GPT-2 model in the browser
- Accepts text entered by the learner
- Visualizes model components and operations involved in next-token prediction
Best for
Learners who want to explore how GPT-style language models make predictions. It is useful for interactive study of Transformer internals using sample or self-written text.
- Upstream
- poloclub/transformer-explainer
- Fork on GitHub
- Guo-astro/transformer-explainer
- Upstream stars
- 9.1k
- Category
- Learning, interviews and curated lists
- License
- MIT
- Forked
- 2026-10-10
- Sync status
- In syncLast synced 2026-11-08
More in Learning, interviews and curated lists
Chinese-language CSAPP third-edition study materials for reading chapters, checking exercise answers, and studying eight labs online or offline.
Forked 2026-10-20Last synced 2026-11-08No license declaredLearning, interviews and curated listsGitHub
A practical guide for university students and early-career readers handling communication and social situations, with scenario-based advice they can adapt to everyday interactions.
Forked 2026-10-20Last synced 2026-11-08Custom license (see repository)Learning, interviews and curated listsGitHub
A structured Linux study course based on Linux Basics for Hackers, with notes, command examples, diagrams, and exercises for learning in a personal lab.
Forked 2026-10-19Last synced 2026-11-08No license declaredLearning, interviews and curated listsGitHub
A community-curated Android rooting resource hub with guides and a catalog of root apps and modules. Search the website or browse by category to find setup and troubleshooting resources.
Forked 2026-10-19Last synced 2026-10-30License: MITLearning, interviews and curated listsGitHub