claCase / Attention-as-RNN
Non-official implementation of "Attention as an RNN" from https://arxiv.org/pdf/2405.13956, efficient associative parallel prefix scan and recurrent version implemented.
☆26Updated 9 months ago
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"☆54Updated last month
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆27Updated last month
- State Space Models☆67Updated last year
- Implementation of xLSTM in Pytorch from the paper: "xLSTM: Extended Long Short-Term Memory"☆119Updated last month
- ☆16Updated 2 years ago
- ☆23Updated 7 months ago
- Implementation of MambaFormer in Pytorch ++ Zeta from the paper: "Can Mamba Learn How to Learn? A Comparative Study on In-Context Learnin…☆21Updated 3 weeks ago
- ☆27Updated 10 months ago
- ☆39Updated 11 months ago
- My implementation of the original transformer model (Vaswani et al.). I've additionally included the playground.py file for visualizing o…☆43Updated 5 months ago
- A single repo with all scripts and utils to train / fine-tune the Mamba model with or without FIM☆54Updated last year
- The official GitHub page for the survey paper "A Survey of RWKV".☆26Updated 4 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated 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…☆103Updated last month
- Efficient implementations of state-of-the-art linear attention models in Pytorch and Triton☆28Updated last week
- RWKV-TS: Beyond Traditional Recurrent Neural Network for Time Series Tasks☆102Updated 9 months ago
- ☆88Updated 11 months ago
- C++ and Cuda ops for fused FourierKAN☆78Updated last year
- Simba☆207Updated last year
- ☆54Updated 10 months ago
- Pytorch Implementation of the paper: "Learning to (Learn at Test Time): RNNs with Expressive Hidden States"☆24Updated 3 weeks ago
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆30Updated 11 months ago
- Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficien…☆102Updated last month
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated last year
- Awesome list of papers that extend Mamba to various applications.☆133Updated last month
- ☆17Updated 6 months ago
- Official implementation of paper Advancing Recursive Residual Decomposition of Linear and Nonlinear Patterns for Robust Time Series Forec…☆16Updated 3 weeks ago
- This code implements a Radial Basis Function (RBF) based Kolmogorov-Arnold Network (KAN) for function approximation.☆28Updated 11 months ago
- A repository for DenseSSMs☆87Updated last year
- Implementation of the paper: "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆91Updated last week