lucidrains / linear-attention-transformerLinks
Transformer based on a variant of attention that is linear complexity in respect to sequence length
☆775Updated last year
Alternatives and similar repositories for linear-attention-transformer
Users that are interested in linear-attention-transformer are comparing it to the libraries listed below
Sorting:
- An implementation of local windowed attention for language modeling☆454Updated 5 months ago
- Pytorch library for fast transformer implementations☆1,718Updated 2 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,132Updated 3 years ago
- Implementation of Linformer for Pytorch☆288Updated last year
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆694Updated 6 months ago
- My take on a practical implementation of Linformer for Pytorch.☆414Updated 2 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆757Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆379Updated last year
- An All-MLP solution for Vision, from Google AI☆1,025Updated 9 months ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆766Updated last year
- Reformer, the efficient Transformer, in Pytorch☆2,171Updated 2 years ago
- Fully featured implementation of Routing Transformer☆295Updated 3 years ago
- An implementation of the efficient attention module.☆317Updated 4 years ago
- PyTorch Re-Implementation of "The Sparsely-Gated Mixture-of-Experts Layer" by Noam Shazeer et al. https://arxiv.org/abs/1701.06538☆1,120Updated last year
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆264Updated 3 years ago
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,153Updated last year
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆592Updated 6 months ago
- Implementation of ConvMixer for "Patches Are All You Need? 🤷"☆1,074Updated 2 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Models☆792Updated 2 weeks ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆193Updated 2 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆426Updated 3 years ago
- Sequence modeling with Mega.☆296Updated 2 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆364Updated last year
- DeLighT: Very Deep and Light-Weight Transformers☆469Updated 4 years ago
- ☆644Updated this week
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆260Updated 4 years ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆341Updated last year
- Implementation of 1D, 2D, and 3D FFT convolutions in PyTorch. Much faster than direct convolutions for large kernel sizes.☆499Updated last year
- PoolFormer: MetaFormer Is Actually What You Need for Vision (CVPR 2022 Oral)☆1,342Updated last year