looptransv2-qwen3.5-2b-s2-trial-m3_p90
Qwen3.5-2B made into a looped model: blocks of its own layers run more than once
(weights shared across repeats), raising the executed depth from
24 to 36 layers. This is LoopTransV2 Stage-2 run
s2-trial-m3_p90, an unselected-schedule control: the 90th percentile, by predicted Stage-1 cost, of 200,000 uniformly drawn valid schedules with m = 3.
- Schedule: [2]×3 [3]×2 [4]×3 [8]×3 [14]×2 [15]×3 [18]×3 (0-indexed layers, [first..last]×repeats)
- Extra attention passes (extra KV caches): m = 3
- Stage 2 (recovery): forward KL to the frozen Qwen3.5-2B teacher plus a loop-interface loss (weights 1/1); AdamW, LR 1e-5, 5M warmup, cosine over 600M tokens to 0.1×; 64 packed 4,096-token rows per step. The full config is in
run/config.json.
Training points
Each subfolder is one export (weights, config, tokenizer, loop manifest), with its
benchmark reports under bench/ where it was benchmarked. Training checkpoints with
optimizer state are not included.
| Subfolder | Tokens | Step |
|---|---|---|
t0050M | 50,069,504 | 191 |
t0100M | 100,139,008 | 382 |
Loading
The architecture (LoopedQwen3_5ForCausalLM) is defined in the project code
(github.com/arianraje/LoopTrans, branch v2; these files were published at commit
1463f44; pinned versions in scripts/env/constraints.txt: transformers 5.17.0,
vLLM 0.31.0, flash-linear-attention 0.5.2).
from huggingface_hub import snapshot_download
from looptransv2.models.io import load_looped
path = snapshot_download("arianraje/looptransv2-qwen3.5-2b-s2-trial-m3_p90", allow_patterns=["t0100M/*"])
model = load_looped(f"{path}/t0100M", dtype="bfloat16")
With looptransv2 installed, vLLM loads an export directory directly (the package
registers a vllm.general_plugins entry point).