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)
☆106Updated 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 Agent Attention in Pytorch☆90Updated last year
- Implementation of Infini-Transformer in Pytorch☆111Updated 6 months ago
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorch☆110Updated 7 months ago
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆55Updated 3 months ago
- Griffin MQA + Hawk Linear RNN Hybrid☆87Updated last year
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆172Updated 3 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Updated 10 months ago
- Implementation of Block Recurrent Transformer - Pytorch☆220Updated 10 months ago
- Attempt to make multiple residual streams from Bytedance's Hyper-Connections paper accessible to the public☆87Updated 3 weeks ago
- ☆292Updated 6 months ago
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆197Updated 3 months ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆123Updated 11 months ago
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆140Updated 5 months ago
- Implementation of GateLoop Transformer in Pytorch and Jax☆89Updated last year
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆98Updated 9 months ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆119Updated 8 months ago
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆224Updated last year
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆71Updated 6 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆304Updated 3 months ago
- Explorations into the recently proposed Taylor Series Linear Attention☆99Updated 10 months ago
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆107Updated 3 months ago
- Implementation of the Llama architecture with RLHF + Q-learning☆165Updated 5 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆214Updated 10 months ago
- [ICLR 2023] Official implementation of Transnormer in our ICLR 2023 paper - Toeplitz Neural Network for Sequence Modeling☆79Updated last year
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆127Updated 10 months ago
- A repository for DenseSSMs☆87Updated last year
- Trying out the Mamba architecture on small examples (cifar-10, shakespeare char level etc.)☆47Updated last year
- Exploration into the proposed "Self Reasoning Tokens" by Felipe Bonetto☆56Updated last year
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆171Updated last year