Interactive 3D and 2D Visualization of GPT-2
I’ve been building an interactive 3D + 2D visualization of GPT-2. It displays real activations and attention scores extracted from GPT-2 Small (124M) during a forward pass. The goal is to make it easier to learn how LLMs work by showing what is happening inside the model. The 3D part is built with Three.js, and the 2D part is built with plain HTML/CSS/JS. Would love to hear your thoughts or feedback!
Interactive 3D and 2D Visualization of GPT-2 launched on March 19, 2026 with 12 votes, #1,060 of 23,380 launches that month and more than 90% of that year's launches.
In plain words
This tool provides an interactive 3D and 2D visualization of GPT-2 Small, displaying real activations and attention scores during model inference. It is designed for students and researchers who want to understand how large language models work by observing their internal operations. The visualization uses Three.js for 3D rendering and standard web technologies for 2D components, making the model's behavior directly observable and interpretable.
written from the facts on this page · September 2026
From the sources
Interactive 3D and 2D visualization of GPT-2 (124 M).
Does a similar job
all alternatives →
Fully client-side GPT2 prediction visualizer2023 · perplexity.vercel.app · ▲153Hi HN! I've found this visualization tool immensely helpful over the years for getting an intuition for how an LLM "sees" some piece of text, and with a bit of elbow grease decided to move all compute to client side so I could make it publicly available. I've found it particularly useful for - Understanding exactly how repetition and patterns affect a small LM's ability to predict correctly - Understanding different tokenization patterns and how it affects model output - Getting a general sense of how "hard" different prediction tasks are for GPT-style models Known problems (that I probably…
- ITIntro to Machine Learning in Interactive D3.js Visualizations2015 · r2d3.us · ▲128
Experiments in expressing statistical thinking with interactive design
TensorSpace.js – Neural network 3D visualization framework2018 · github.com · ▲167Neural network 3D visualization framework, build interactive and intuitive model in browsers, support pre-trained deep learning models from TensorFlow, Keras, TensorFlow.js - GitHub - tensorspace-team/tensorspace: Neural network 3D visualization framework, build interactive and intuitive model in br
- HLHow LLMs Work – Interactive visual guide based on Karpathy's lectureApr 2026 · ynarwal.github.io · ▲245
All content is based on Andrej Karpathy's "Intro to Large Language Models" lecture (youtube.com/watch?v=7xTGNNLPyMI). I downloaded the transcript and used Claude Code to generate the entire interactive site from it — single HTML file. I find it useful to revisit this content time to time.
- COChatGPT on 2-Dimensional Map2023 · superusapp.com · ▲175
I build ChatGPT-2D with the idea to enable people to branch AI conversations interactively, pose contextual questions based on AI response and visualize your entire dialogue on a 2 dimensional map interface. What do you think?
- IGInteractive Graph by LLM (GPT-4o)2024 · columns.ai · ▲45
Data automation and visualization platform for spreadsheet users.
More ai this month
the category →



Paintings by AI models: programs run through a simulation of oil paint.
AI · 21d ago · stillwet.art
PixVerse R2▲381A real-time world model you can explore and change
AI · 29d ago · world.pixverse.video

Source: Show HN post ↗
Launched alongside, March 2026
the whole month →


Switch from ChatGPT to Claude with import memory feature
AI · Mar 2026 · claude.com
Littlebird▲709Littlebird remembers everything across your meetings, messages, docs, and apps, then takes action so you can recall any detail and never lose context.
AI · Mar 2026 · littlebird.ai

