Jamie-Stirling / RetNet
An implementation of "Retentive Network: A Successor to Transformer for Large Language Models"
☆1,184Updated last year
Alternatives and similar repositories for RetNet:
Users that are interested in RetNet are comparing it to the libraries listed below
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆226Updated last year
- Foundation Architecture for (M)LLMs☆3,073Updated last year
- A simple and efficient Mamba implementation in pure PyTorch and MLX.☆1,208Updated 4 months ago
- 🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch☆2,125Updated 5 months ago
- Meta-Transformer for Unified Multimodal Learning☆1,594Updated last year
- Structured state space sequence models☆2,611Updated 9 months ago
- The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”☆957Updated last year
- Simple, minimal implementation of the Mamba SSM in one file of PyTorch.☆2,779Updated last year
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆666Updated 5 months ago
- Official PyTorch implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆1,179Updated 9 months ago
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆105Updated last year
- Convolutions for Sequence Modeling☆877Updated 10 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆328Updated 10 months ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆730Updated last year
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆641Updated 4 months ago
- Implementation of plug in and play Attention from "LongNet: Scaling Transformers to 1,000,000,000 Tokens"☆704Updated last year
- 🚀 Efficient implementations of state-of-the-art linear attention models in Torch and Triton☆2,305Updated this week
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆407Updated 3 months ago
- Collection of papers on state-space models☆588Updated last week
- Causal depthwise conv1d in CUDA, with a PyTorch interface☆438Updated 4 months ago
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆551Updated 2 months ago
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆380Updated 10 months ago
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,101Updated last year
- Build high-performance AI models with modular building blocks☆500Updated this week
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆549Updated 4 months ago
- Awesome Papers related to Mamba.☆1,350Updated 6 months ago
- Vector (and Scalar) Quantization, in Pytorch☆3,163Updated 2 weeks ago
- [CVPR 2025] Official PyTorch Implementation of MambaVision: A Hybrid Mamba-Transformer Vision Backbone☆1,312Updated 3 weeks ago
- ☆290Updated 4 months ago
- Hiera: A fast, powerful, and simple hierarchical vision transformer.☆972Updated last year