Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recurrent-bench

Ablation benchmark of recurrent and linear-attention language model architectures trained on identical data and token budgets.

Features

  • Same-size training for RWKV-7, Mamba-3, GLA/DeltaNet, xLSTM, and a transformer baseline
  • Identical datasets and token budgets across architectures
  • State-tracking evaluation on parity and MQAR tasks
  • Integration with lm-evaluation-harness
  • Reproducible experiment configurations

Stack

  • PyTorch
  • flash-linear-attention
  • HuggingFace datasets
  • lm-evaluation-harness

Quick start

pip install -e .
python train.py --config src/rbench/configs/example.yaml
python eval.py --checkpoint checkpoints/model.pt

Project structure

recurrent-bench/
├── src/
│   └── rbench/
│       ├── __init__.py
│       └── configs/
└── tests/
    ├── __init__.py
    └── test_smoke.py

License

MIT

About

Ablation benchmark for recurrent and linear-attention language models under shared data and token budgets.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages