lucidrains / mixture-of-experts
A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models
☆698Updated 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,051Updated 10 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆314Updated 8 months ago
- ☆608Updated last month
- Tutel MoE: An Optimized Mixture-of-Experts Implementation☆775Updated this week
- A collection of AWESOME things about mixture-of-experts☆1,057Updated 2 months ago
- A curated reading list of research in Mixture-of-Experts(MoE).☆590Updated 4 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆264Updated 10 months ago
- A fast MoE impl for PyTorch☆1,645Updated 3 weeks ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆645Updated 3 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆516Updated last year
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆503Updated 4 months ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆740Updated 9 months ago
- Pytorch library for fast transformer implementations☆1,682Updated last year
- An implementation of local windowed attention for language modeling☆423Updated last month
- TorchMultimodal is a PyTorch library for training state-of-the-art multimodal multi-task models at scale.☆1,544Updated last week
- Helpful tools and examples for working with flex-attention☆662Updated last week
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆359Updated last year
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time☆449Updated 7 months ago
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆155Updated 9 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆408Updated last month
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆370Updated last year
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆639Updated 2 months ago
- Official implementation of TransNormerLLM: A Faster and Better LLM☆241Updated last year
- Long Range Arena for Benchmarking Efficient Transformers☆747Updated last year
- Rotary Transformer☆900Updated 2 years ago
- Implementation of paper "Towards a Unified View of Parameter-Efficient Transfer Learning" (ICLR 2022)☆522Updated 2 years ago
- Large Context Attention☆685Updated last month
- ☆288Updated 2 months ago
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆528Updated 2 weeks ago
- 🚀 Efficient implementations of state-of-the-art linear attention models in Torch and Triton☆2,030Updated this week