poloclub/transformer-explainer resource
Transformer Explained Visually: Learn How LLM Transformer Models Work with Interactive Visualization observed · 2026-08-28
Health v2 · maintenance only
53/100
- Activity 86
- Release rhythm 8
- Longevity 59
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 839
- days_rel: n/a
- days_push: 88
- n_releases_24m: 0
Adoption not part of the score
8462 stars · 942 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
An interactive web-based visualization tool that runs a live GPT-2 model in the browser to teach how Transformer-based LLMs work. Users can experiment with their own text and observe internal Transformer components like attention and next-token prediction in real time.
Use cases
- learn how transformer models work interactively
- visualize self-attention in GPT-2
- understand next-token prediction
- teach LLM architecture to students
- experiment with temperature and top-k sampling
- run a small language model in the browser
When to choose
- you want an intuitive, interactive introduction to Transformer and GPT internals
- you are teaching or self-studying how LLMs generate text
- you want to run a live model without installing anything, right in the browser
When to avoid
- you need to train or fine-tune Transformer models
- you need state-of-the-art LLM inference performance
- you need a production NLP library rather than an educational tool
Facets
learning-resource · maturity active
data-visualization machine-learning deep-learning large-language-models education data-visualization browser interactive-visualization transformer gpt-2 llm-education in-browser-inference svelte education nodejs web-server
2 sources
- readme: https://github.com/poloclub/transformer-explainer · fetched 2026-08-28 · 5fe43cefde66
- homepage: https://poloclub.github.io/transformer-explainer/ · fetched 2026-08-29 · 81afc611fa9f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| poloclub/transformer-explainer | main | 53 |
For agents
markdown · JSON · MCP: product_card(name="poloclub/transformer-explainer")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem