Looped Transformers, visualized: reusing the same weights to 'think twice'

paf1138 · reddit · 2026-11-25

A Reddit user shares an interactive Hugging Face explainer, "Looped Transformers: Thinking twice with the same weights."

The visualization lays out the looped architecture: tokens pass through a once-only prelude (layer 1), then core layers 2-5 run multiple times with the same weights, before a once-only coda (layer 6) produces next-token predictions. The project explores how models like Inklings 2 Mini and GLM-5.4 run their layers several times, and what tiny transformers trained from scratch can teach us about it — trading fixed parameter counts for deeper "thinking" via recurrence.

Related event: Looped Transformer architecture gains attention with interactive explainers(2 posts)→

Original post →

More from Research

Research channel →