lucidrains / mixture-of-experts
A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models
☆727Updated last year
Alternatives and similar repositories for mixture-of-experts:
Users that are interested in mixture-of-experts are comparing it to the libraries listed below
- PyTorch Re-Implementation of "The Sparsely-Gated Mixture-of-Experts Layer" by Noam Shazeer et al. https://arxiv.org/abs/1701.06538☆1,098Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆328Updated 10 months ago
- ☆621Updated last week
- A collection of AWESOME things about mixture-of-experts☆1,081Updated 4 months ago
- Tutel MoE: Optimized Mixture-of-Experts Library, Support DeepSeek FP8/FP4☆803Updated this week
- A curated reading list of research in Mixture-of-Experts(MoE).☆617Updated 5 months ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆756Updated 11 months ago
- A fast MoE impl for PyTorch☆1,705Updated 2 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆666Updated 4 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆376Updated last year
- An implementation of local windowed attention for language modeling☆440Updated 3 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆522Updated last year
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆283Updated 3 weeks ago
- Long Range Arena for Benchmarking Efficient Transformers☆750Updated last year
- Rotary Transformer☆935Updated 3 years ago
- Large Context Attention☆704Updated 2 months ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆511Updated 5 months ago
- Helpful tools and examples for working with flex-attention☆726Updated last week
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆361Updated last year
- Official JAX implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆405Updated 8 months ago
- Pytorch library for fast transformer implementations☆1,697Updated 2 years ago
- TorchMultimodal is a PyTorch library for training state-of-the-art multimodal multi-task models at scale.☆1,579Updated last week
- Implementation of Linformer for Pytorch☆279Updated last year
- Official PyTorch implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆1,177Updated 9 months ago
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆548Updated 2 months ago
- Implementation of paper "Towards a Unified View of Parameter-Efficient Transfer Learning" (ICLR 2022)☆526Updated 3 years ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆407Updated 3 months ago
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆162Updated 11 months ago
- Official implementation of TransNormerLLM: A Faster and Better LLM☆243Updated last year
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time☆458Updated 9 months ago