fkodom / yet-another-retnet
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)
☆104Updated 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
- Implementation of Agent Attention in Pytorch☆90Updated 7 months ago
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆212Updated 8 months ago
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆123Updated 3 weeks ago
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆51Updated 3 weeks ago
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorch☆102Updated 2 months ago
- Implementation of Infini-Transformer in Pytorch☆109Updated last month
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆225Updated 11 months ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆157Updated 3 weeks ago
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆60Updated 2 months ago
- Trying out the Mamba architecture on small examples (cifar-10, shakespeare char level etc.)☆44Updated last year
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆186Updated 3 weeks ago
- Explorations into the recently proposed Taylor Series Linear Attention☆93Updated 6 months ago
- Griffin MQA + Hawk Linear RNN Hybrid☆85Updated 9 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆260Updated 9 months ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆120Updated 6 months ago
- Implementation of MambaByte in "MambaByte: Token-free Selective State Space Model" in Pytorch and Zeta☆114Updated 3 weeks ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆116Updated 4 months ago
- Minimal Mamba-2 implementation in PyTorch☆173Updated 8 months ago
- Implementation of Block Recurrent Transformer - Pytorch☆218Updated 6 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
- Attempt to make multiple residual streams from Bytedance's Hyper-Connections paper accessible to the public☆73Updated this week
- Implementation of GateLoop Transformer in Pytorch and Jax☆87Updated 8 months ago
- ☆253Updated 5 months ago
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆96Updated 4 months ago
- When it comes to optimizers, it's always better to be safe than sorry☆179Updated 3 weeks ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆221Updated this week
- Awesome list of papers that extend Mamba to various applications.☆131Updated 2 months ago
- Pytorch (Lightning) implementation of the Mamba model☆25Updated 9 months ago
- A repository for DenseSSMs☆86Updated 10 months ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆62Updated 9 months ago