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 weeks ago
- ☆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 8 months ago
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆202Updated this week
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆110Updated this week
- Implementation of xLSTM in Pytorch from the paper: "xLSTM: Extended Long Short-Term Memory"☆119Updated 3 weeks ago
- PyTorch implementation of Structured State Space for Sequence Modeling (S4), based on Annotated S4.☆83Updated last year
- ☆72Updated 6 months ago
- RWKV-TS: Beyond Traditional Recurrent Neural Network for Time Series Tasks☆108Updated last year
- ☆243Updated 5 months ago
- Cuda implementation of Extended Long Short Term Memory (xLSTM) with C++ and PyTorch ports☆88Updated last year
- State Space Models☆70Updated last year
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆74Updated 7 months ago
- Awesome list of papers that extend Mamba to various applications.☆134Updated 2 months ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆182Updated last week
- Minimal Mamba-2 implementation in PyTorch☆215Updated last year
- Simba☆211Updated last year
- Implementation of the paper: "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆104Updated this week
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆105Updated last year
- ☆27Updated last year
- Pytorch implementation of the xLSTM model by Beck et al. (2024)☆169Updated last year
- ☆94Updated last year
- Pytorch Implementation of the sparse attention from the paper: "Generating Long Sequences with Sparse Transformers"☆86Updated 3 weeks ago
- Pytorch implementation of Simplified Structured State-Spaces for Sequence Modeling (S5)☆77Updated last year
- Benchmark for efficiency in memory and time of different KAN implementations.☆130Updated 11 months ago
- ☆46Updated 2 months ago
- A repository for DenseSSMs☆88Updated last year
- The official Pytorch implementation of the paper "Fourier Transformer: Fast Long Range Modeling by Removing Sequence Redundancy with FFT …☆39Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆55Updated 11 months ago
- A More Fair and Comprehensive Comparison between KAN and MLP☆170Updated 11 months ago