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 last month
- Implementation of xLSTM in Pytorch from the paper: "xLSTM: Extended Long Short-Term Memory"☆119Updated last month
- ☆49Updated 5 months ago
- State Space Models☆71Updated last year
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆118Updated last month
- ☆77Updated 10 months ago
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆75Updated 11 months ago
- ☆29Updated last year
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆31Updated 8 months ago
- [ICLR 2025] Official Code Release for Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation☆47Updated 9 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
- PyTorch implementation of Structured State Space for Sequence Modeling (S4), based on Annotated S4.☆87Updated last year
- ☆24Updated last year
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆211Updated last month
- HGRN2: Gated Linear RNNs with State Expansion☆56Updated last year
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆200Updated last month
- ☆140Updated last year
- ☆16Updated 2 years ago
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆35Updated last year
- Cuda implementation of Extended Long Short Term Memory (xLSTM) with C++ and PyTorch ports☆90Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆66Updated last year
- A repository for DenseSSMs☆89Updated last year
- Pytorch implementation of the xLSTM model by Beck et al. (2024)☆180Updated last year
- ☆48Updated last year
- The official Pytorch implementation of the paper "Fourier Transformer: Fast Long Range Modeling by Removing Sequence Redundancy with FFT …☆39Updated last year
- ☆252Updated last month
- Code for "Theoretical Foundations of Deep Selective State-Space Models" (NeurIPS 2024)☆15Updated 11 months ago
- RWKV-TS: Beyond Traditional Recurrent Neural Network for Time Series Tasks☆120Updated last year
- my attempts at implementing various bits of Sepp Hochreiter's new xLSTM architecture☆134Updated last year
- ☆97Updated last year