r/MachineLearning • u/naftalinus • 57m ago
Research What a looped transformer actually does inside its loop [R]
Hey everyone — with looped transformers showing up in Inkling 2 Mini, varloop, and Z.ai's GLM-5.4 this week, I put together an in-depth visual post on how they actually work under the hood, with interactive diagrams, a minimal PyTorch implementation comparing Inkling's restart-and-message loop vs. GLM-5.4's chain-and-write-gate loop, and experiments opening up the two 26.4B open-weight models pass by pass.
Full post: https://drhb.github.io/blog/posts/looped-transformers/
4
Upvotes
2
u/biscuitchan 15m ago
this is awesome tech, love the wen design very helpful