bobby-he / simplified_transformersLinks
☆292Updated 6 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 Soft MoE, proposed by Brain's Vision team, in Pytorch☆304Updated 3 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆379Updated 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
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆345Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆220Updated 10 months ago
- Annotated version of the Mamba paper☆486Updated last year
- ☆290Updated 2 months ago
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆55Updated 3 months ago
- When it comes to optimizers, it's always better to be safe than sorry☆246Updated 3 months ago
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆563Updated 5 months ago
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Cores☆323Updated 6 months ago
- Code release for "Dropout Reduces Underfitting"☆313Updated 2 years ago
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆224Updated last year
- Implementation of Infini-Transformer in Pytorch☆111Updated 6 months ago
- Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent,…☆226Updated last year
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793☆427Updated 2 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Updated 10 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆410Updated 6 months ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAI☆287Updated last month
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆214Updated 2 years ago
- ☆197Updated 7 months ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆172Updated 3 months ago
- A repository for log-time feedforward networks☆222Updated last year
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆555Updated 6 months ago
- Understand and test language model architectures on synthetic tasks.☆219Updated last month
- An implementation of local windowed attention for language modeling☆460Updated 5 months ago
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆171Updated last year
- Simple, minimal implementation of the Mamba SSM in one pytorch file. Using logcumsumexp (Heisen sequence).☆120Updated 8 months ago
- Explorations into the recently proposed Taylor Series Linear Attention☆99Updated 10 months ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆123Updated 11 months ago