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 2 weeks ago
- State Space Models☆70Updated last year
- ☆47Updated 3 months ago
- Implementation of xLSTM in Pytorch from the paper: "xLSTM: Extended Long Short-Term Memory"☆119Updated 2 weeks ago
- ☆72Updated 7 months ago
- ☆47Updated last year
- PyTorch implementation of Structured State Space for Sequence Modeling (S4), based on Annotated S4.☆87Updated last year
- ☆246Updated 6 months ago
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆206Updated 2 weeks ago
- Cuda implementation of Extended Long Short Term Memory (xLSTM) with C++ and PyTorch ports☆89Updated last year
- Minimal Mamba-2 implementation in PyTorch☆219Updated last year
- Pytorch implementation of Simplified Structured State-Spaces for Sequence Modeling (S5)☆79Updated last year
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆75Updated 9 months ago
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆110Updated 2 weeks ago
- Simba☆212Updated last year
- ☆28Updated last year
- RWKV-TS: Beyond Traditional Recurrent Neural Network for Time Series Tasks☆111Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated last year
- ☆136Updated last year
- My implementation of the original transformer model (Vaswani et al.). I've additionally included the playground.py file for visualizing o…☆43Updated 9 months ago
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆31Updated 5 months ago
- ☆16Updated 2 years ago
- The official Pytorch implementation of the paper "Fourier Transformer: Fast Long Range Modeling by Removing Sequence Redundancy with FFT …☆40Updated last year
- Awesome list of papers that extend Mamba to various applications.☆137Updated 3 months ago
- [ICLR 2025] Official Code Release for Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation☆45Updated 6 months ago
- ☆23Updated 11 months ago
- ☆16Updated 9 months ago
- my attempts at implementing various bits of Sepp Hochreiter's new xLSTM architecture☆131Updated last year
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆226Updated last year
- Pytorch implementation of the xLSTM model by Beck et al. (2024)☆173Updated last year