lucidrains / g-mlp-pytorch
Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch
☆425Updated 3 years ago
Related projects ⓘ
Alternatives and complementary repositories for g-mlp-pytorch
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆251Updated 3 years ago
- My take on a practical implementation of Linformer for Pytorch.☆407Updated 2 years ago
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆228Updated 2 years ago
- Implementation of Linformer for Pytorch☆257Updated 10 months ago
- Fully featured implementation of Routing Transformer☆284Updated 3 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆253Updated 3 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆698Updated 6 months ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆222Updated 2 years ago
- An All-MLP solution for Vision, from Google AI☆1,003Updated 2 months ago
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆480Updated 3 years ago
- DeLighT: Very Deep and Light-Weight Transformers☆467Updated 4 years ago
- Learning Rate Warmup in PyTorch☆392Updated this week
- NFNets and Adaptive Gradient Clipping for SGD implemented in PyTorch. Find explanation at tourdeml.github.io/blog/☆345Updated 10 months ago
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆416Updated 4 months ago
- Tiny PyTorch library for maintaining a moving average of a collection of parameters.☆406Updated last month
- A PyTorch implementation of Sharpness-Aware Minimization for Efficiently Improving Generalization☆134Updated 3 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,098Updated 2 years ago
- Implementation of ConvMixer for "Patches Are All You Need? 🤷"☆1,062Updated 2 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆155Updated 9 months ago
- Official PyTorch Repo for "ReZero is All You Need: Fast Convergence at Large Depth"☆407Updated 3 months ago
- Implementation of https://arxiv.org/abs/1904.00962☆369Updated 3 years ago
- ☆365Updated last year
- Pytorch library for fast transformer implementations☆1,643Updated last year
- ☆440Updated last year
- Understanding the Difficulty of Training Transformers☆328Updated 2 years ago
- Open source code for paper "Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere" ICML 2…☆433Updated 2 years ago
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,097Updated last year
- An implementation of local windowed attention for language modeling☆384Updated 2 months ago
- ☆566Updated 3 weeks ago
- Implementation of ResMLP, an all MLP solution to image classification, in Pytorch☆196Updated last year