Jamie-Stirling / RetNetLinks
An implementation of "Retentive Network: A Successor to Transformer for Large Language Models"
☆1,188Updated last year
Alternatives and similar repositories for RetNet
Users that are interested in RetNet are comparing it to the libraries listed below
Sorting:
- Foundation Architecture for (M)LLMs☆3,081Updated last year
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆226Updated last year
- Meta-Transformer for Unified Multimodal Learning☆1,603Updated last year
- A simple and efficient Mamba implementation in pure PyTorch and MLX.☆1,242Updated 6 months ago
- Structured state space sequence models☆2,644Updated 10 months ago
- The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”☆961Updated last year
- Simple, minimal implementation of the Mamba SSM in one file of PyTorch.☆2,802Updated last year
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆685Updated 6 months ago
- Official PyTorch implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆1,201Updated 10 months ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆762Updated last year
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,113Updated last year
- Convolutions for Sequence Modeling☆885Updated 11 months ago
- 🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch☆2,135Updated 6 months ago
- Mamba-Chat: A chat LLM based on the state-space model architecture 🐍☆924Updated last year
- Collection of papers on state-space models☆595Updated last month
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆551Updated 5 months ago
- SwissArmyTransformer is a flexible and powerful library to develop your own Transformer variants.☆1,080Updated 5 months ago
- Awesome Papers related to Mamba.☆1,361Updated 7 months ago
- LOMO: LOw-Memory Optimization☆986Updated 11 months ago
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆643Updated 5 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
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆381Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆337Updated 11 months ago
- Code for CRATE (Coding RAte reduction TransformEr).☆1,231Updated 7 months ago
- Build high-performance AI models with modular building blocks☆519Updated this week
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆559Updated 3 months ago
- ☆736Updated last year
- Causal depthwise conv1d in CUDA, with a PyTorch interface☆479Updated 2 weeks ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆532Updated last year
- Implementation of Linformer for Pytorch☆286Updated last year