# 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…

- **Page:** https://magpie.gallery/i/interactive-3d-and-2d-visualization-of-gpt-2-1gh8
- **Type:** Link to an idea elsewhere
- **Category:** Learning
- **Runs on:** web
- **Tags:** llm, visualization, gpt-2, 3d, attention

## Source

Web · saahithj: Interactive 3D and 2D Visualization of GPT-2

- **Original:** https://news.ycombinator.com/item?id=47441593

> 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! https://www.llm-visualized.com/

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
