nkiyohara/lra-image-s4d-token-mixer-rope
0
LRA-Image S4D Token Mixer + RoPE
S4D Token Mixer + RoPE model trained on the Long Range Arena (LRA) sCIFAR-10 benchmark.
Model Details
- Architecture: S4D Token Mixer + RoPE
- Task: Sequential CIFAR-10 (grayscale, 1024 tokens)
- Parameters: ~4.1M
- Position encoding: RoPE
- Causal: False
- Test Accuracy: 75.19%
Training
- Protocol: S4 paper LRA-Image (200 epochs, lr=1e-3, batch=64, warmup=18k steps)
- Backbone: Llama-style (6 layers, d=512, 8 heads, RMSNorm, SwiGLU)
- Seed: 2222
- WandB run: harrisonzhu/InterdomainAttention/ptjwayj3
Usage
import torch
from model import LlamaLRAImage # requires interdomain-attention repo
state_dict = torch.load("lra_image_best.pt", weights_only=True)
model = LlamaLRAImage(...) # match config
model.load_state_dict(state_dict["model"])Citation
@article{interdomain2026,
title={Interdomain Attention},
author={...},
year={2026}
}License
Apache 2.0
