bobby-he / simplified_transformers
☆287Updated 3 months ago
Alternatives and similar repositories for simplified_transformers:
Users that are interested in simplified_transformers are comparing it to the libraries listed below
- Annotated version of the Mamba paper☆475Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆318Updated 9 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆269Updated 10 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆372Updated last year
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆104Updated last year
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆158Updated 10 months ago
- Implementation of Block Recurrent Transformer - Pytorch☆218Updated 7 months ago
- ☆182Updated this week
- Sequence modeling with Mega.☆295Updated 2 years ago
- ☆179Updated 5 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆650Updated 3 months ago
- ☆261Updated last month
- When it comes to optimizers, it's always better to be safe than sorry☆214Updated 3 weeks ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆709Updated last year
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆272Updated 3 weeks ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793☆398Updated 3 months ago
- Implementation of Agent Attention in Pytorch☆90Updated 8 months ago
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆535Updated last month
- Helpful tools and examples for working with flex-attention☆689Updated last week
- Reading list for research topics in state-space models☆267Updated 2 months ago
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆51Updated last month
- Implementation of Infini-Transformer in Pytorch☆109Updated 2 months ago
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆125Updated last month
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆216Updated 9 months ago
- Some preliminary explorations of Mamba's context scaling.☆213Updated last year
- A simple and efficient Mamba implementation in pure PyTorch and MLX.☆1,162Updated 3 months ago
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆226Updated last year
- Code repository for Black Mamba☆241Updated last year
- ☆165Updated last year
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆188Updated last month