rish-16 / aft-pytorch
Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.
☆233Updated 2 years ago
Alternatives and similar repositories for aft-pytorch:
Users that are interested in aft-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☆257Updated 3 years ago
- Fully featured implementation of Routing Transformer☆288Updated 3 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆426Updated 3 years ago
- Implementation of Linformer for Pytorch☆266Updated last year
- An implementation of local windowed attention for language modeling☆412Updated last month
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆257Updated 3 years ago
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆483Updated 3 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆185Updated 2 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆369Updated last year
- ☆369Updated last year
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆118Updated 3 years ago
- Implementation of Fast Transformer in Pytorch☆172Updated 3 years ago
- Unofficial PyTorch implementation of Fastformer based on paper "Fastformer: Additive Attention Can Be All You Need"."☆134Updated 3 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆738Updated 9 months ago
- My take on a practical implementation of Linformer for Pytorch.☆411Updated 2 years ago
- Sequence modeling with Mega.☆298Updated 2 years ago
- An implementation of the efficient attention module.☆300Updated 4 years ago
- Implementation of Feedback Transformer in Pytorch☆105Updated 3 years ago
- Implementation of ConvMixer for "Patches Are All You Need? 🤷"☆1,064Updated 2 years ago
- A pytorch &keras implementation and demo of Fastformer.☆187Updated 2 years ago
- Root Mean Square Layer Normalization☆229Updated last year
- Long Range Arena for Benchmarking Efficient Transformers☆743Updated last year
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆159Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆515Updated last year
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆357Updated last year
- DeLighT: Very Deep and Light-Weight Transformers☆467Updated 4 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆155Updated 3 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆152Updated last year
- ☆163Updated 2 years ago