claCase / Attention-as-RNNLinks
Non-official implementation of "Attention as an RNN" from https://arxiv.org/pdf/2405.13956, efficient associative parallel prefix scan and recurrent version implemented.
☆27Updated last year
Alternatives and similar repositories for Attention-as-RNN
Users that are interested in Attention-as-RNN are comparing it to the libraries listed below
Sorting:
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆56Updated 3 months ago
- Implementation of xLSTM in Pytorch from the paper: "xLSTM: Extended Long Short-Term Memory"☆118Updated 3 weeks ago
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆120Updated last week
- ☆49Updated 7 months ago
- State Space Models☆72Updated last year
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆213Updated last week
- [ICLR 2025] Official Code Release for Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation☆49Updated 11 months ago
- My implementation of the original transformer model (Vaswani et al.). I've additionally included the playground.py file for visualizing o…☆44Updated last year
- Inference Speed Benchmark for Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆83Updated last year
- RWKV-TS: Beyond Traditional Recurrent Neural Network for Time Series Tasks☆122Updated last year
- A repository for DenseSSMs☆88Updated last year
- ☆140Updated last year
- Awesome list of papers that extend Mamba to various applications.☆138Updated 7 months ago
- ☆79Updated last year
- Attempt to make multiple residual streams from Bytedance's Hyper-Connections paper accessible to the public☆168Updated 3 weeks ago
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆106Updated 2 years ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆206Updated 3 weeks ago
- ☆16Updated 2 years ago
- Pytorch Implementation of the sparse attention from the paper: "Generating Long Sequences with Sparse Transformers"☆93Updated last week
- my attempts at implementing various bits of Sepp Hochreiter's new xLSTM architecture☆134Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆56Updated last year
- Cuda implementation of Extended Long Short Term Memory (xLSTM) with C++ and PyTorch ports☆91Updated last year
- ☆48Updated last year
- ☆29Updated last year
- ☆257Updated 3 months ago
- ☆46Updated last year
- ☆98Updated last year
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆78Updated last year
- ☆16Updated last year
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆32Updated 9 months ago