Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

transformer-explainer

> AI 编程
Open source

Transformer Explained Visually: Learn How LLM Transformer Models Work with Interactive Visualization

8.3K stars0 likes5 views
WebsiteGitHub

About

Transformer Explained Visually: Learn How LLM Transformer Models Work with Interactive Visualization

Transformer Explainer: Interactive Learning of Text-Generative Models

Transformer Explainer is an interactive visualization tool designed to help anyone learn how Transformer-based models like GPT work. It runs a live GPT-2 model right in your browser, allowing you to experiment with your own text and observe in real time how internal components and operations of the Transformer work together to predict the next tokens. Try Transformer Explainer at http://poloclub.github.io/transformer-explainer and watch a demo video on YouTube https://youtu.be/TFUc41G2ikY.

Live Demo

Try Transformer Explainer: http://poloclub.github.io/transformer-explainer

Research Paper

Transformer Explainer: Learning LLM Transformers with Interactive Visual Explanation and Experimentations. Aeree Cho, Grace C. Kim, Alexander Karpekov, Seongmin Lee, Alec Helbling, Benjamin Hoover, Zijie J. Wang, Minsuk Kahng, Duen Horng Chau. Proceedings of the 2026 CHI Conference on Human Factors in Computing Systems.

How to run locally

Prerequisites

  • Node.js v20 or higher
  • NPM v10 or higher

Steps

bash
git clone https://github.com/poloclub/transformer-explainer.git
cd transformer-explainer
npm install
npm run dev

Then, on your web browser, access http://localhost:5173.

Credits

Transformer Explainer was created by Aeree Cho, Grace C. Kim, Alexander Karpekov, Alec Helbling, Jay Wang, Seongmin Lee, Benjamin Hoover, and Polo Chau at the Georgia Institute of Technology.

Citation

bibtex
@inproceedings{cho2026transformer,
  title={Transformer Explainer: Learning LLM Transformers with Interactive Visual Explanation and Experimentation},
  author={Cho, Aeree and Kim, Grace C and Karpekov, Alexander and Lee, Seongmin and Helbling, Alec and Hoover, Benjamin and Wang, Zijie J and Kahng, Minsuk and Chau, Duen Horng},
  booktitle={Proceedings of the 2026 CHI Conference on Human Factors in Computing Systems},
  pages={1--21},
  year={2026}
}

License

The software is available under the MIT License.

Contact

If you have any questions, feel free to open an issue or contact Aeree Cho or any of the contributors listed above.

More AI explainers to check out

  • Diffusion Explainer for learning how Stable Diffusion transforms text prompt into image
  • CNN Explainer
  • GAN Lab for playing with Generative Adversarial Networks in browser

Issues· 23 open

View all issuesOpen on GitHub
  • #89

    Unexplained abbreviation 'MLP' in step 3

    Updated Sep 22, 2026
  • #57

    [Feature] Proposal: Chinese (zh-CN) localization for Transformer Explainer

    Updated Jul 24, 2026
  • #74

    npm install failed

    Updated Jul 4, 2026
  • #71

    Output Projection missing (c_proj from Python code)

    Updated Mar 2, 2026
  • #63

    Kv cache append explainer

    Updated Feb 8, 2026
  • #58

    Multilingual explainer

    Updated Dec 15, 2025
  • #55

    UI Improvement

    Updated Nov 20, 2025
  • #28

    How to access from other computers

    Updated Nov 11, 2025
  • #27

    How to create custom examples

    Updated Oct 18, 2024

> Tags

JavaScriptdeep-learninggenerative-aigptlangauge-model

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.