Skip to visualization
visualization / Mixture of Experts

minGPT · Mixture of Experts

sparse routed feed-forward
◆ MOE
T=8
i8
i1
i2
iLatent
i64

🔍 Variable Inspector

click any code line
Click a code line to inspect its variables.
About this lesson
Quick answer

What Mixture of Experts explains

A learned router activates only a small subset of expert networks for each token.

Key concepts

Primary research

Sparsely-Gated Mixture-of-Experts · Shazeer et al.