ShaderManager / RetNet
PyTorch implementation of Retentive Network: A Successor to Transformer for Large Language Models
☆14Updated last year
Alternatives and similar repositories for RetNet
Users that are interested in RetNet are comparing it to the libraries listed below
Sorting:
- [ICLR 2025] Official Code Release for Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation☆42Updated 2 months ago
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆103Updated last month
- A repository for DenseSSMs☆87Updated last year
- ☆40Updated 3 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated 8 months ago
- an implementation of paper"Retentive Network: A Successor to Transformer for Large Language Models" https://arxiv.org/pdf/2307.08621.pdf☆12Updated last year
- ☆27Updated 7 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
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆53Updated last month
- A single repo with all scripts and utils to train / fine-tune the Mamba model with or without FIM☆54Updated last year
- Community Implementation of the paper: "Multi-Head Mixture-of-Experts" In PyTorch☆24Updated last month
- Implementation of xLSTM in Pytorch from the paper: "xLSTM: Extended Long Short-Term Memory"☆119Updated last month
- ☆13Updated last year
- Implementation of MambaFormer in Pytorch ++ Zeta from the paper: "Can Mamba Learn How to Learn? A Comparative Study on In-Context Learnin…☆21Updated 3 weeks ago
- Experiments on Multi-Head Latent Attention☆89Updated 9 months ago
- Playground for Transformers☆50Updated last year
- Implementation of a modular, high-performance, and simplistic mamba for high-speed applications☆34Updated 6 months ago
- Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models☆9Updated 4 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)☆72Updated last year
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆27Updated last month
- several types of attention modules written in PyTorch for learning purposes☆52Updated 7 months ago
- Implementation of MambaByte in "MambaByte: Token-free Selective State Space Model" in Pytorch and Zeta☆116Updated last month
- Implementation of the paper: "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆91Updated this week
- This is a simple torch implementation of the high performance Multi-Query Attention☆17Updated last year
- An implementation of mLSTM and sLSTM in PyTorch.☆28Updated 11 months ago
- My implementation of the original transformer model (Vaswani et al.). I've additionally included the playground.py file for visualizing o…☆43Updated 5 months ago
- Awesome list of papers that extend Mamba to various applications.☆133Updated last month
- Towards Understanding the Mixture-of-Experts Layer in Deep Learning☆29Updated last year
- Implementation of Agent Attention in Pytorch☆89Updated 10 months ago
- PyTorch implementation of Titans.☆23Updated 3 months ago