poloclub/transformer-explainer

▲ 23 stars today★ 8,927⑂ 1,016

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

About poloclub/transformer-explainer

poloclub/transformer-explainer is an open-source project on GitHub, mainly written in JavaScript. Transformer Explained Visually: Learn How LLM Transformer Models Work with Interactive Visualization It currently holds 8,927 stars and 1,016 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the Today's Trending board, currently at rank #44 with 23 new stars today.

GitHub Repository Details

Repository poloclub/transformer-explainer · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

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.

MIT license arxiv badge

Image from the project README

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

Steps

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

@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

GitHub Stars & Activity

8,927Stars
1,016Forks
0Open issues
JavaScriptLanguage

GitHub Popularity

GitHub stars8,927
Forks1,016
Open issues0
Primary languageJavaScript
License-
Stars gained today23
Created-
Last pushed-

Trending History

Daily boardrank #44 · ▲ 23 stars

Related AI Projects

1

affaan-m / ECC

JavaScript★ 277,767⑂ 41,422▲ 774 stars
→
2

DietrichGebert / ponytail

JavaScript★ 161,786⑂ 0
→
3

Snailclimb / JavaGuide

JavaScript★ 158,967⑂ 0
→
4

Javis603 / token-monitor

JavaScript★ 2,960⑂ 279▲ 156 stars
→
5

juliobsz / skills

JavaScript★ 156⑂ 2
→
6

openclaw / openclaw

TypeScript★ 391,781⑂ 82,377▲ 182 stars
→
7

obra / superpowers

Shell★ 298,130⑂ 26,642▲ 643 stars
→
8

mattpocock / skills

Shell★ 287,733⑂ 24,147▲ 1,834 stars
→

More AI Rankings