Jamie-Stirling / RetNetLinks
An implementation of "Retentive Network: A Successor to Transformer for Large Language Models"
☆1,202Updated 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,104Updated last year
- A simple and efficient Mamba implementation in pure PyTorch and MLX.☆1,314Updated 8 months ago
- Simple, minimal implementation of the Mamba SSM in one file of PyTorch.☆2,849Updated last year
- Meta-Transformer for Unified Multimodal Learning☆1,623Updated last year
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆226Updated last year
- Official PyTorch implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆1,243Updated last year
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆741Updated last month
- Structured state space sequence models☆2,708Updated last year
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆796Updated last year
- ☆736Updated last year
- Collection of papers on state-space models☆596Updated 3 months ago
- Build high-performance AI models with modular building blocks☆545Updated last week
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆649Updated 8 months ago
- Code for CRATE (Coding RAte reduction TransformEr).☆1,241Updated 10 months ago
- 🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch☆2,155Updated 9 months ago
- The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”☆967Updated last year
- Implementation of plug in and play Attention from "LongNet: Scaling Transformers to 1,000,000,000 Tokens"☆710Updated last year
- PyTorch Re-Implementation of "The Sparsely-Gated Mixture-of-Experts Layer" by Noam Shazeer et al. https://arxiv.org/abs/1701.06538☆1,159Updated last year
- Mamba-Chat: A chat LLM based on the state-space model architecture 🐍☆928Updated last year
- Causal depthwise conv1d in CUDA, with a PyTorch interface☆552Updated last week
- Awesome Papers related to Mamba.☆1,372Updated 10 months ago
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,125Updated last year
- Convolutions for Sequence Modeling☆895Updated last year
- The PyTorch implementation of Generative Pre-trained Transformers (GPTs) using Kolmogorov-Arnold Networks (KANs) for language modeling☆721Updated 9 months ago
- [CVPR 2024 & TPAMI 2025] UniRepLKNet☆1,010Updated 2 weeks ago
- GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projection☆1,589Updated 10 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆559Updated 8 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆359Updated last year
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆795Updated last year
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆571Updated 6 months ago