LoopRes

NUS-HPC-AI-Lab

A Python implementation of looped-transformer training and inference on Qwen3 using block attention residuals across decoder loop steps.

PythonCreated

What is NUS-HPC-AI-Lab/LoopRes?

LoopRes is a Python research codebase from NUS HPC-AI Lab implementing looped-transformer training and inference on Qwen3 models.

Instead of passing through layers once, LoopRes applies a core block of decoder layers across multiple loop steps per token after a single prelude, using block attention residuals to carry representations across iterations.

ML researchers and engineers studying recurrent depth, test-time compute, or Qwen3 architectural extensions can run the training and evaluation scripts.