lucidrains / g-mlp-pytorchLinks
Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch
☆430Updated 4 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
Sorting:
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆261Updated 4 years ago
- My take on a practical implementation of Linformer for Pytorch.☆422Updated 3 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆228Updated 3 years ago
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆244Updated 3 years ago
- Fully featured implementation of Routing Transformer☆300Updated 4 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆270Updated 4 years ago
- Implementation of Linformer for Pytorch☆306Updated 2 years ago
- ☆388Updated 2 years ago
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆485Updated 4 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,172Updated 4 years ago
- A PyTorch implementation of Sharpness-Aware Minimization for Efficiently Improving Generalization☆135Updated 4 years ago
- DeLighT: Very Deep and Light-Weight Transformers☆469Updated 5 years ago
- Implementation of https://arxiv.org/abs/1904.00962☆377Updated 5 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆825Updated last year
- Learning Rate Warmup in PyTorch☆415Updated 7 months ago
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆459Updated last year
- An All-MLP solution for Vision, from Google AI☆1,056Updated 6 months ago
- Implementation of ConvMixer for "Patches Are All You Need? 🤷"☆1,081Updated 3 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆167Updated last year
- Tiny PyTorch library for maintaining a moving average of a collection of parameters.☆444Updated last year
- NFNets and Adaptive Gradient Clipping for SGD implemented in PyTorch. Find explanation at tourdeml.github.io/blog/☆350Updated 2 years ago
- Implementation of Fast Transformer in Pytorch☆177Updated 4 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆372Updated 2 years ago
- Implementation of Transformer in Transformer, pixel level attention paired with patch level attention for image classification, in Pytorc…☆310Updated 4 years ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆170Updated 4 years ago
- A PyTorch implementation of the 1d and 2d Sinusoidal positional encoding/embedding.☆261Updated 5 years ago
- Understanding the Difficulty of Training Transformers☆332Updated 3 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆120Updated 4 years ago
- Accelerate training by storing parameters in one contiguous chunk of memory.☆294Updated 5 years ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆145Updated 10 months ago