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 Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆51Updated last month
- Implementation of Agent Attention in Pytorch☆90Updated 8 months ago
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆226Updated last year
- Implementation of Infini-Transformer in Pytorch☆109Updated 2 months ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆160Updated last month
- Griffin MQA + Hawk Linear RNN Hybrid☆85Updated 10 months ago
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆125Updated last month
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆216Updated 9 months ago
- Attempt to make multiple residual streams from Bytedance's Hyper-Connections paper accessible to the public☆77Updated last month
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆97Updated 5 months ago
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorch☆101Updated 3 months ago
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆100Updated last month
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 6 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆270Updated 11 months ago
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆63Updated 3 months ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆120Updated 7 months ago
- Explorations into the recently proposed Taylor Series Linear Attention☆95Updated 7 months ago
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Rule☆142Updated this week
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆116Updated 5 months ago
- Implementation of GateLoop Transformer in Pytorch and Jax☆87Updated 9 months ago
- A single repo with all scripts and utils to train / fine-tune the Mamba model with or without FIM☆54Updated 11 months ago
- A repository for DenseSSMs☆87Updated 11 months ago
- Implementation of the Llama architecture with RLHF + Q-learning☆163Updated last month
- ☆288Updated 3 months ago
- Trying out the Mamba architecture on small examples (cifar-10, shakespeare char level etc.)☆44Updated last year
- Exploration into the proposed "Self Reasoning Tokens" by Felipe Bonetto☆55Updated 10 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆210Updated 7 months ago
- ☆182Updated this week
- (Unofficial) Implementation of dilated attention from "LongNet: Scaling Transformers to 1,000,000,000 Tokens" (https://arxiv.org/abs/2307…☆50Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated 11 months ago