HomeMachine Learning & Neural NetworksTransformer Simulator

🧪 Transformer Simulator

Interactive transformer simulation – learn how the attention mechanism and self-attention work.

Machine Learning & Neural Networks2DModerate60 FPS
transformer-simulator ↗ Open standalone
⚙ Under the hood

This simulation demonstrates the architecture of a transformer model, a core component in modern natural language processing. Users can observe how attention mechanisms process sequential data to generate outputs.

TransformerElectromagnetic

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)