An interactive web visualizer that demonstrates the step-by-step process of Andrej Karpathy's microGPT, from tokenizing text to embeddings and attention, using pure math simulations for educational purposes.
How It Works
You stumble upon microGPT Visualizer, a fun interactive tool that lets you peek inside how a tiny AI like GPT works by typing simple names.
Download the files from the project page to your own computer so you can explore it anytime.
Follow the easy guide to open the visualizer and see the dark-themed interface with sidebar info and three panels light up.
Enter a short name like 'Emma' in the first panel and instantly watch your letters transform step by step across the screens.
Click on different parts like attention heads or token positions to zoom in on colorful heatmaps, vectors, and attention flows that show exactly what the AI 'sees'.
Scroll through the handy reference notes on training, activations, and how it all connects, making complex AI ideas feel simple and exciting.
Walk away with a clear 'aha' moment, understanding how words become numbers, mix with positions, and pay attention to predict the next character—just like real AI does.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.