Jamie-Stirling / RetNetLinks
An implementation of "Retentive Network: A Successor to Transformer for Large Language Models"
☆1,210Updated 2 years ago
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,125Updated last year
- A simple and efficient Mamba implementation in pure PyTorch and MLX.☆1,384Updated last year
- Meta-Transformer for Unified Multimodal Learning☆1,644Updated 2 years ago
- Official PyTorch implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆1,293Updated last year
- Simple, minimal implementation of the Mamba SSM in one file of PyTorch.☆2,901Updated last year
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆227Updated last year
- The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”☆980Updated last year
- Structured state space sequence models☆2,798Updated last year
- Code for CRATE (Coding RAte reduction TransformEr).☆1,257Updated last year
- ☆749Updated last year
- Build high-performance AI models with modular building blocks☆571Updated last month
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆655Updated 11 months ago
- 🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch☆2,177Updated last year
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆782Updated 4 months ago
- Collection of papers on state-space models☆610Updated last month
- Implementation of plug in and play Attention from "LongNet: Scaling Transformers to 1,000,000,000 Tokens"☆716Updated last year
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆838Updated 2 years ago
- Mamba-Chat: A chat LLM based on the state-space model architecture 🐍☆938Updated last year
- Awesome Papers related to Mamba.☆1,381Updated last year
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆560Updated 11 months ago
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,136Updated last year
- GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projection☆1,632Updated last year
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆818Updated last year
- Unofficial implementation of iTransformer - SOTA Time Series Forecasting using Attention networks, out of Tsinghua / Ant group☆529Updated 6 months ago
- Convolutions for Sequence Modeling☆908Updated last year
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆580Updated 10 months ago
- Official JAX implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆435Updated last month
- PyTorch Re-Implementation of "The Sparsely-Gated Mixture-of-Experts Layer" by Noam Shazeer et al. https://arxiv.org/abs/1701.06538☆1,211Updated last year
- [CVPR 2024 & TPAMI 2025] UniRepLKNet☆1,053Updated 4 months ago
- The PyTorch implementation of Generative Pre-trained Transformers (GPTs) using Kolmogorov-Arnold Networks (KANs) for language modeling☆726Updated last year