poloclub/transformer-explainer

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

56
/ 100
Established

This interactive visualization helps you understand how large language models (LLMs) like GPT generate text. You input your own text, and the tool shows you in real-time how the model's internal parts work together to predict the next words. This is ideal for students, researchers, or anyone curious about the mechanics behind AI text generation.

6,916 stars.

Use this if you want to visually and interactively learn the fundamental operations of Transformer-based AI models.

Not ideal if you are looking for a tool to build or train your own language models or analyze specific model performance metrics.

AI-education LLM-mechanics text-generation-understanding AI-visualization deep-learning-concepts
No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 20 / 25

How are scores calculated?

Stars

6,916

Forks

740

Language

JavaScript

License

MIT

Last pushed

Mar 12, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/transformers/poloclub/transformer-explainer"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.

Recent Releases