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.
☆25Updated 8 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
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆52Updated 3 weeks ago
- My implementation of the original transformer model (Vaswani et al.). I've additionally included the playground.py file for visualizing o…☆43Updated 4 months ago
- Implementation of xLSTM in Pytorch from the paper: "xLSTM: Extended Long Short-Term Memory"☆119Updated 3 weeks ago
- RWKV-TS: Beyond Traditional Recurrent Neural Network for Time Series Tasks☆100Updated 8 months ago
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆102Updated 3 weeks ago
- Implementation of MambaFormer in Pytorch ++ Zeta from the paper: "Can Mamba Learn How to Learn? A Comparative Study on In-Context Learnin…☆20Updated this week
- ☆27Updated 9 months ago
- ☆16Updated 2 years ago
- ☆23Updated 7 months ago
- [ICLR 2025] Official Code Release for Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation☆42Updated last month
- Here we will test various linear attention designs.☆60Updated last year
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆30Updated 10 months ago
- A single repo with all scripts and utils to train / fine-tune the Mamba model with or without FIM☆54Updated last year
- ☆128Updated 11 months ago
- ☆16Updated 6 months ago
- PyTorch implementation of Structured State Space for Sequence Modeling (S4), based on Annotated S4.☆80Updated last year
- Inference Speed Benchmark for Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆66Updated 9 months ago
- A repository for research on medium sized language models.☆76Updated 11 months ago
- Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models☆13Updated last year
- Implementation of a modular, high-performance, and simplistic mamba for high-speed applications☆34Updated 5 months ago
- A repository for DenseSSMs☆87Updated last year
- PyTorch implementation of Titans.☆23Updated 3 months ago
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆192Updated 3 weeks ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆37Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated 8 months ago
- Efficient implementations of state-of-the-art linear attention models in Pytorch and Triton☆25Updated this week
- Implementation of the paper: "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆90Updated this week
- MambaFormer in-context learning experiments and implementation for https://arxiv.org/abs/2402.04248☆51Updated 10 months ago
- ☆15Updated 4 months ago