syncdoth / RetNet
Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent, and chunkwise forward.
☆226Updated last year
Alternatives and similar repositories for RetNet:
Users that are interested in RetNet are comparing it to the libraries listed below
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆104Updated last year
- An implementation of "Retentive Network: A Successor to Transformer for Large Language Models"☆1,177Updated last year
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆407Updated 2 months ago
- Official implementation of TransNormerLLM: A Faster and Better LLM☆243Updated last year
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆448Updated 11 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆548Updated 2 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆318Updated 9 months ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆160Updated last month
- PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention…☆287Updated 10 months ago
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆638Updated 2 months ago
- ☆218Updated 9 months ago
- Code repository for Black Mamba☆241Updated last year
- Official PyTorch implementation of QA-LoRA☆129Updated last year
- Recurrent Memory Transformer☆149Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆518Updated last year
- ☆182Updated this week
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 6 months ago
- Implementation of MambaByte in "MambaByte: Token-free Selective State Space Model" in Pytorch and Zeta☆115Updated last month
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆223Updated last month
- 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
- ☆287Updated 3 months ago
- Annotated version of the Mamba paper☆475Updated last year
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆210Updated 7 months ago
- X-LoRA: Mixture of LoRA Experts☆214Updated 7 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆650Updated 3 months ago
- Implementation of the Llama architecture with RLHF + Q-learning☆163Updated last month
- The Truth Is In There: Improving Reasoning in Language Models with Layer-Selective Rank Reduction☆382Updated 8 months ago
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆381Updated 9 months ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793☆398Updated 3 months ago
- Official JAX implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆398Updated 7 months ago