Repository navigation
Research
Sudharsan Selvaraj edited this page Jul 20, 2026
·
1 revision
TokenPrint is not just an educational app; it is a tool for mechanistic interpretability. This section outlines the philosophy behind TokenPrint's design, how it compares to existing tools, and the academic foundations it builds upon.
If a visualizer abstracts away the complexity of a neural network by inventing metaphors (like "the model imagines a dog"), it fails as a scientific tool. TokenPrint's design is strictly grounded in the reality of linear algebra and tensor mechanics.
- Related Papers: The academic literature that informed TokenPrint's implementation (e.g., RoPE, SwiGLU, Mechanistic Interpretability).
- Existing Visualization Tools: A comparison between TokenPrint and tools like Netron, TensorBoard, and LLM Visualization by bbycroft.
- Design Philosophy: The core tenets guiding TokenPrint: "Real data over decorative simulation."
- Scientific Accuracy: How TokenPrint mechanically guarantees that its geometry and outputs are not fabricated.
- No Math.random(): If a number is displayed, it was generated by a forward pass or parsed from a model configuration.
- Architecture-Aware: An MLP block is not a generic box. If the model is Llama, it must be rendered as SwiGLU.
- Data-Driven Geometry: A 32-head model must explicitly render 32 physical attention blades in the 3D scene.
| Previous | Home | Next |
|---|---|---|
| Tensor Format | Home | Related Papers |
TokenPrint Wiki | Home | Getting Started | User Guide | Concepts | Architecture | API | GitHub
TokenPrint is an interactive 3D visualization platform for exploring transformer architectures, tensors, and real-time LLM inference.
- User Guide
- Architecture Explorer
- Live Inference
- Tensor Inspector
- Camera Controls
- HUD
- Timeline
- Scene Navigation
- Transformer Concepts
- Tokenization
- Embeddings
- Positional Encoding
- RoPE
- Multi-Head Attention
- KV Cache
- LayerNorm
- Feed Forward Network
- Residual Connections
- Logits
- Softmax
- Sampling
- Autoregressive Generation
- Visualization System
- Scene Graph
- Geometry
- Materials
- Animation System
- Color Mapping
- Camera System
- Interaction Model
- Architecture
- Overall Architecture
- Frontend
- Backend
- WebSocket Protocol
- Data Pipeline
- Renderer
- Event System