Jamie-Stirling / RetNetLinks
An implementation of "Retentive Network: A Successor to Transformer for Large Language Models"
☆1,191Updated 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,083Updated last year
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆226Updated last year
- Simple, minimal implementation of the Mamba SSM in one file of PyTorch.☆2,822Updated last year
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆699Updated 7 months ago
- Meta-Transformer for Unified Multimodal Learning☆1,611Updated last year
- A simple and efficient Mamba implementation in pure PyTorch and MLX.☆1,265Updated 6 months ago
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆644Updated 6 months ago
- Official PyTorch implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆1,221Updated 11 months ago
- Build high-performance AI models with modular building blocks☆529Updated this week
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆770Updated last year
- The official implementation of “Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training”☆962Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆341Updated last year
- Collection of papers on state-space models☆595Updated last month
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆409Updated 5 months ago
- Structured state space sequence models☆2,661Updated 11 months ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆554Updated 6 months ago
- [ICML 2024] Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model☆3,468Updated 4 months ago
- Code for CRATE (Coding RAte reduction TransformEr).☆1,232Updated 8 months ago
- An implementation of local windowed attention for language modeling☆454Updated 5 months ago
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆562Updated 4 months ago
- 🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch☆2,143Updated 7 months ago
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,115Updated last year
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆106Updated last year
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆777Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆535Updated last year
- Awesome Papers related to Mamba.☆1,362Updated 8 months ago
- ☆737Updated last year
- Causal depthwise conv1d in CUDA, with a PyTorch interface☆498Updated this week
- A method to increase the speed and lower the memory footprint of existing vision transformers.☆1,064Updated last year
- TorchMultimodal is a PyTorch library for training state-of-the-art multimodal multi-task models at scale.☆1,616Updated this week