poloclub/transformer-explainer

▲ 54 stars today★ 8,725⑂ 985

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,725 stars and 985 forks with 22 open issues, and was last pushed on 2026-06-06 (repository created 2024-05-16).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #65 with 54 new stars today.

GitHub Repository Details

Repository poloclub/transformer-explainer · default branch main · size 2118108 KB · watchers 73 · 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

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,725Stars
985Forks
22Open issues
JavaScriptLanguage

GitHub Popularity

GitHub stars8,725
Forks985
Open issues22
Primary languageJavaScript
LicenseMIT
Stars gained today54
Created2024-05-16
Last pushed2026-06-06

Trending History

Daily boardrank #65 · ▲ 54 stars

Related GitHub Projects

1

nodejs / node

JavaScript★ 122,051⑂ 37,548▲ 33 stars
2

pbakaus / impeccable

JavaScript★ 70,255⑂ 4,268▲ 287 stars
3

byoungd / up

JavaScript★ 63,706⑂ 6,445▲ 218 stars
4

github / awesome-copilot

JavaScript★ 39,317⑂ 5,002▲ 43 stars
5

playcanvas / engine

JavaScript★ 16,899⑂ 2,001▲ 31 stars
6

calesthio / Crucix

JavaScript★ 11,980⑂ 1,853▲ 58 stars
7

laoma2053 / awesome-zhuiju-free

JavaScript★ 10,074⑂ 665▲ 367 stars
8

open-gsd / gsd-core

JavaScript★ 9,791⑂ 704▲ 52 stars

More Trending Repositories