bobby-he / simplified_transformersLinks
☆292Updated 10 months ago
Alternatives and similar repositories for simplified_transformers
Users that are interested in simplified_transformers are comparing it to the libraries listed below
Sorting:
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆366Updated last year
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆331Updated 6 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆383Updated 2 years ago
- Annotated version of the Mamba paper☆489Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆221Updated 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
- ☆302Updated 6 months ago
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆56Updated this week
- An implementation of local windowed attention for language modeling☆483Updated 3 months ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆217Updated 2 years ago
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆181Updated last year
- Implementation of Infini-Transformer in Pytorch☆113Updated 9 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆417Updated 9 months ago
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆226Updated last year
- Explorations into the recently proposed Taylor Series Linear Attention☆99Updated last year
- ☆166Updated 2 years ago
- When it comes to optimizers, it's always better to be safe than sorry☆375Updated last month
- ☆186Updated last year
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆123Updated last year
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆161Updated 8 months ago
- Sequence modeling with Mega.☆300Updated 2 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Updated last year
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆574Updated 8 months ago
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Cores☆329Updated 9 months ago
- Implementation of Linformer for Pytorch☆300Updated last year
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆228Updated last week
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆192Updated this week
- Official JAX implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆423Updated last year
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793☆439Updated 5 months ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAI☆291Updated 4 months ago