kyegomez / Griffin
Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"
☆52Updated last week
Alternatives and similar repositories for Griffin:
Users that are interested in Griffin are comparing it to the libraries listed below
- A repository for DenseSSMs☆87Updated last year
- Implementation of Agent Attention in Pytorch☆90Updated 9 months ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated 11 months ago
- Griffin MQA + Hawk Linear RNN Hybrid☆85Updated 11 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated 7 months ago
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆64Updated 3 months ago
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆218Updated 10 months ago
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆105Updated last year
- ☆23Updated 6 months ago
- Implementation of Infini-Transformer in Pytorch☆110Updated 3 months ago
- Implementations of various linear RNN layers using pytorch and triton☆49Updated last year
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆102Updated last week
- [ICLR 2025] Official Code Release for Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation☆42Updated last month
- 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
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆25Updated this week
- Towards Understanding the Mixture-of-Experts Layer in Deep Learning☆27Updated last year
- Minimal Mamba-2 implementation in PyTorch☆181Updated 9 months ago
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆126Updated 2 months ago
- State Space Models☆67Updated 11 months ago
- MambaFormer in-context learning experiments and implementation for https://arxiv.org/abs/2402.04248☆51Updated 9 months ago
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆97Updated 6 months ago
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆191Updated last week
- ☆48Updated last year
- Inference Speed Benchmark for Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆66Updated 9 months ago
- PyTorch implementation of the Differential-Transformer architecture for sequence modeling, specifically tailored as a decoder-only model …☆57Updated 5 months ago
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆37Updated 6 months ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆166Updated last week
- Official implementation of Phi-Mamba. A MOHAWK-distilled model (Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Mode…☆103Updated 7 months ago
- Awesome list of papers that extend Mamba to various applications.☆132Updated last week
- Pytorch Implementation of the sparse attention from the paper: "Generating Long Sequences with Sparse Transformers"☆78Updated last week