lucidrains / g-mlp-pytorch
Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch
☆426Updated 3 years ago
Alternatives and similar repositories for g-mlp-pytorch:
Users that are interested in g-mlp-pytorch are comparing it to the libraries listed below
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆226Updated 2 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆258Updated 3 years ago
- Fully featured implementation of Routing Transformer☆288Updated 3 years ago
- My take on a practical implementation of Linformer for Pytorch.☆411Updated 2 years ago
- DeLighT: Very Deep and Light-Weight Transformers☆467Updated 4 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆257Updated 3 years ago
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆233Updated 2 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆738Updated 9 months ago
- An All-MLP solution for Vision, from Google AI☆1,013Updated 5 months ago
- Implementation of Linformer for Pytorch☆266Updated last year
- A PyTorch implementation of Sharpness-Aware Minimization for Efficiently Improving Generalization☆136Updated 3 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,115Updated 3 years ago
- Implementation of ConvMixer for "Patches Are All You Need? 🤷"☆1,064Updated 2 years ago
- An implementation of the efficient attention module.☆301Updated 4 years ago
- Understanding the Difficulty of Training Transformers☆328Updated 2 years ago
- ☆371Updated last year
- Learning Rate Warmup in PyTorch☆403Updated 2 weeks ago
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆483Updated 3 years ago
- Implementation of ResMLP, an all MLP solution to image classification, in Pytorch☆197Updated 2 years ago
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,120Updated last year
- Implementation of Fast Transformer in Pytorch☆172Updated 3 years ago
- Implementation of Axial attention - attending to multi-dimensional data efficiently☆371Updated 3 years ago
- Accelerate training by storing parameters in one contiguous chunk of memory.☆292Updated 4 years ago
- Unofficial implementation of MLP-Mixer: An all-MLP Architecture for Vision☆217Updated 3 years ago
- Pytorch library for fast transformer implementations☆1,677Updated last year
- NFNets and Adaptive Gradient Clipping for SGD implemented in PyTorch. Find explanation at tourdeml.github.io/blog/☆345Updated last year
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆425Updated 7 months ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆164Updated 3 years ago
- ☆450Updated last year
- [ICLR'22 Oral] Implementation of "CycleMLP: A MLP-like Architecture for Dense Prediction"☆283Updated 2 years ago