fkodom / yet-another-retnetLinks
A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (https://arxiv.org/pdf/2307.08621.pdf)
☆105Updated last year
Alternatives and similar repositories for yet-another-retnet
Users that are interested in yet-another-retnet are comparing it to the libraries listed below
Sorting:
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆226Updated last year
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆55Updated last month
- Implementation of Agent Attention in Pytorch☆90Updated 10 months ago
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆135Updated 4 months ago
- Implementation of Infini-Transformer in Pytorch☆111Updated 5 months ago
- Attempt to make multiple residual streams from Bytedance's Hyper-Connections paper accessible to the public☆83Updated 3 months ago
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆222Updated last year
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆104Updated last month
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆68Updated 5 months ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆169Updated last month
- A repository for DenseSSMs☆87Updated last year
- Griffin MQA + Hawk Linear RNN Hybrid☆86Updated last year
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆193Updated last month
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorch☆104Updated 6 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆294Updated 2 months ago
- RWKV, in easy to read code☆72Updated 2 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆228Updated 8 months ago
- PyTorch implementation of the Differential-Transformer architecture for sequence modeling, specifically tailored as a decoder-only model …☆66Updated 7 months ago
- Awesome list of papers that extend Mamba to various applications.☆133Updated last month
- Minimal Mamba-2 implementation in PyTorch☆198Updated 11 months ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆119Updated 7 months ago
- Implementation of Block Recurrent Transformer - Pytorch☆217Updated 9 months ago
- ☆290Updated 5 months ago
- When it comes to optimizers, it's always better to be safe than sorry☆233Updated 2 months ago
- ResiDual: Transformer with Dual Residual Connections, https://arxiv.org/abs/2304.14802☆93Updated last year
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆97Updated 8 months ago
- Explorations into the recently proposed Taylor Series Linear Attention☆98Updated 9 months ago
- Implementation of GateLoop Transformer in Pytorch and Jax☆88Updated 11 months ago
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆124Updated 9 months ago
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆28Updated last month