bobby-he / simplified_transformersLinks
☆293Updated last year
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☆374Updated last year
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆339Updated 9 months ago
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆106Updated 2 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆388Updated 2 years ago
- Annotated version of the Mamba paper☆493Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆223Updated last year
- ☆303Updated 8 months ago
- Implementation of Linformer for Pytorch☆303Updated last year
- When it comes to optimizers, it's always better to be safe than sorry☆397Updated 3 months ago
- Sequence modeling with Mega.☆302Updated 2 years ago
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆56Updated 2 months ago
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆227Updated last year
- Code release for "Dropout Reduces Underfitting"☆317Updated 2 years ago
- Implementation of Infini-Transformer in Pytorch☆113Updated 11 months ago
- An implementation of local windowed attention for language modeling☆492Updated 5 months ago
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆188Updated last year
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Cores☆337Updated last year
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆231Updated last year
- ☆191Updated last year
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793☆448Updated 7 months ago
- ☆200Updated 2 years ago
- [NeurIPS 2025 Spotlight] TPA: Tensor ProducT ATTenTion Transformer (T6) (https://arxiv.org/abs/2501.06425)☆438Updated 2 weeks ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆202Updated 2 months ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆219Updated 2 years ago
- PyTorch implementation of Soft MoE by Google Brain in "From Sparse to Soft Mixtures of Experts" (https://arxiv.org/pdf/2308.00951.pdf)☆81Updated 2 years ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆422Updated 11 months ago
- Pytorch Implementation of the sparse attention from the paper: "Generating Long Sequences with Sparse Transformers"☆93Updated 2 months ago
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆132Updated 2 months ago
- ☆150Updated 2 years ago
- Root Mean Square Layer Normalization☆259Updated 2 years ago