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 2 years ago
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:
- Implementation of Infini-Transformer in Pytorch☆113Updated 11 months ago
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆227Updated last year
- Implementation of Agent Attention in Pytorch☆92Updated last year
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆56Updated last month
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Updated last year
- Griffin MQA + Hawk Linear RNN Hybrid☆89Updated last year
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆336Updated 8 months ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆125Updated last year
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorch☆134Updated last month
- Attempt to make multiple residual streams from Bytedance's Hyper-Connections paper accessible to the public☆93Updated 5 months ago
- ☆293Updated 11 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆224Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆222Updated last year
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆166Updated 10 months ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆197Updated last month
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆102Updated last year
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆131Updated last month
- Implementation of the Llama architecture with RLHF + Q-learning☆168Updated 10 months ago
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆211Updated last month
- Implementation of GateLoop Transformer in Pytorch and Jax☆91Updated last year
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆120Updated last year
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆231Updated last month
- RWKV, in easy to read code☆72Updated 8 months ago
- Exploration into the proposed "Self Reasoning Tokens" by Felipe Bonetto☆57Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆373Updated last year
- ☆303Updated 7 months ago
- A repository for DenseSSMs☆89Updated last year
- ☆106Updated last year
- Official implementation of TransNormerLLM: A Faster and Better LLM☆248Updated last year
- Trying out the Mamba architecture on small examples (cifar-10, shakespeare char level etc.)☆47Updated last year