kyegomez / Griffin
Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"
☆51Updated 3 weeks ago
Alternatives and similar repositories for Griffin:
Users that are interested in Griffin are comparing it to the libraries listed below
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆62Updated 9 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆52Updated 6 months ago
- A repository for DenseSSMs☆86Updated 10 months ago
- Griffin MQA + Hawk Linear RNN Hybrid☆85Updated 9 months ago
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆104Updated last year
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆60Updated 2 months ago
- ☆24Updated 4 months ago
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆212Updated 8 months ago
- Implementation of Infini-Transformer in Pytorch☆109Updated last month
- Implementation of Agent Attention in Pytorch☆90Updated 7 months ago
- Official Implementation Of The Paper: `DeciMamba: Exploring the Length Extrapolation Potential of Mamba'☆23Updated 6 months ago
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆186Updated 3 weeks ago
- Inference Speed Benchmark for Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆59Updated 7 months ago
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆123Updated 3 weeks ago
- [ICLR 2025] Official Code Release for Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation☆37Updated 8 months ago
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆35Updated 4 months ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆157Updated 3 weeks ago
- ☆46Updated 10 months ago
- ☆28Updated 7 months ago
- Pytorch implementation of Simplified Structured State-Spaces for Sequence Modeling (S5)☆74Updated 9 months ago
- Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficien…☆81Updated 3 weeks ago
- Explorations into the recently proposed Taylor Series Linear Attention☆93Updated 6 months ago
- ☆28Updated 3 months ago
- State Space Models☆64Updated 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…☆95Updated 3 weeks ago
- Minimal Mamba-2 implementation in PyTorch☆173Updated 8 months ago
- Implementations of various linear RNN layers using pytorch and triton☆49Updated last year
- Pytorch Implementation of the sparse attention from the paper: "Generating Long Sequences with Sparse Transformers"☆71Updated 3 weeks ago
- My implementation of the original transformer model (Vaswani et al.). I've additionally included the playground.py file for visualizing o…☆44Updated 2 months ago
- Implementation of MambaFormer in Pytorch ++ Zeta from the paper: "Can Mamba Learn How to Learn? A Comparative Study on In-Context Learnin…☆20Updated last week