kyegomez / Griffin
Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"
☆50Updated last week
Related projects ⓘ
Alternatives and complementary repositories for Griffin
- Minimal Mamba-2 implementation in PyTorch☆137Updated 5 months ago
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆103Updated 3 months ago
- A repository for DenseSSMs☆88Updated 7 months ago
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆50Updated 2 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆49Updated 3 months ago
- Griffin MQA + Hawk Linear RNN Hybrid☆85Updated 6 months ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆61Updated 7 months ago
- My implementation of the original transformer model (Vaswani et al.). I've additionally included the playground.py file for visualizing o…☆41Updated 11 months ago
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆202Updated 5 months ago
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆84Updated last week
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆32Updated last month
- Implementation of Agent Attention in Pytorch☆86Updated 4 months ago
- Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficien…☆55Updated last week
- Awesome list of papers that extend Mamba to various applications.☆128Updated 2 months ago
- ☆103Updated this week
- Official implementation of Phi-Mamba. A MOHAWK-distilled model (Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Mode…☆79Updated 2 months ago
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆170Updated last week
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆100Updated 11 months ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆137Updated last week
- Inference Speed Benchmark for Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆42Updated 4 months ago
- Implementations of various linear RNN layers using pytorch and triton☆46Updated last year
- PyTorch implementation of Structured State Space for Sequence Modeling (S4), based on Annotated S4.☆70Updated 8 months ago
- Implementation of the paper: "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆74Updated this week
- State Space Models☆63Updated 6 months ago
- Pytorch Implementation of the sparse attention from the paper: "Generating Long Sequences with Sparse Transformers"☆60Updated last week
- PyTorch implementation of the Differential-Transformer architecture for sequence modeling, specifically tailored as a decoder-only model …☆43Updated 3 weeks ago
- ☆41Updated 7 months ago
- Pytorch implementation of Simplified Structured State-Spaces for Sequence Modeling (S5)☆64Updated 6 months ago
- Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models☆12Updated 8 months ago
- PyTorch implementation of Soft MoE by Google Brain in "From Sparse to Soft Mixtures of Experts" (https://arxiv.org/pdf/2308.00951.pdf)☆66Updated last year