lucidrains / g-mlp-pytorch
Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch
☆424Updated 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
- Fully featured implementation of Routing Transformer☆291Updated 3 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 2 years ago
- My take on a practical implementation of Linformer for Pytorch.☆413Updated 2 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 3 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆751Updated 10 months ago
- DeLighT: Very Deep and Light-Weight Transformers☆468Updated 4 years ago
- Implementation of Linformer for Pytorch☆274Updated last year
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆260Updated 3 years ago
- Implementation of Fast Transformer in Pytorch☆173Updated 3 years ago
- Implementation of ConvMixer for "Patches Are All You Need? 🤷"☆1,070Updated 2 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,116Updated 3 years ago
- Understanding the Difficulty of Training Transformers☆328Updated 2 years ago
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆234Updated 2 years ago
- ☆376Updated last year
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆428Updated 9 months ago
- Learning Rate Warmup in PyTorch☆404Updated 2 weeks ago
- Implementation of https://arxiv.org/abs/1904.00962☆372Updated 4 years ago
- An All-MLP solution for Vision, from Google AI☆1,015Updated 6 months ago
- An implementation of the efficient attention module.☆305Updated 4 years ago
- Official PyTorch Repo for "ReZero is All You Need: Fast Convergence at Large Depth"☆407Updated 8 months ago
- Pytorch library for fast transformer implementations☆1,687Updated 2 years ago
- [ICLR 2020] Lite Transformer with Long-Short Range Attention☆606Updated 8 months ago
- Tiny PyTorch library for maintaining a moving average of a collection of parameters.☆426Updated 5 months ago
- A PyTorch implementation of Sharpness-Aware Minimization for Efficiently Improving Generalization☆136Updated 4 years ago
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,134Updated last year
- A PyTorch implementation of the 1d and 2d Sinusoidal positional encoding/embedding.☆252Updated 4 years ago
- Collection of the latest, greatest, deep learning optimizers (for Pytorch) - CNN, NLP suitable☆212Updated 3 years ago
- ☆449Updated last year
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆163Updated 4 years ago
- Accelerate training by storing parameters in one contiguous chunk of memory.☆292Updated 4 years ago