rish-16 / aft-pytorch
Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.
☆236Updated 3 years ago
Alternatives and similar repositories for aft-pytorch
Users that are interested in aft-pytorch are comparing it to the libraries listed below
Sorting:
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Implementation of Fast Transformer in Pytorch☆173Updated 3 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆260Updated 3 years ago
- Fully featured implementation of Routing Transformer☆291Updated 3 years ago
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆484Updated 4 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆203Updated last year
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆764Updated last year
- Implementation of Linformer for Pytorch☆283Updated last year
- Sequence modeling with Mega.☆295Updated 2 years ago
- ☆376Updated last year
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆425Updated 3 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆377Updated last year
- Unofficial PyTorch implementation of Fastformer based on paper "Fastformer: Additive Attention Can Be All You Need"."☆135Updated 3 years ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆133Updated last month
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆118Updated 3 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆262Updated 3 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆213Updated 2 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆362Updated last year
- My take on a practical implementation of Linformer for Pytorch.☆415Updated 2 years ago
- Implementation of ResMLP, an all MLP solution to image classification, in Pytorch☆197Updated 2 years ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆164Updated 4 years ago
- Axial Positional Embedding for Pytorch☆79Updated 2 months ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆160Updated last year
- Ranger deep learning optimizer rewrite to use newest components☆329Updated last year
- Pytorch implementation of Compressive Transformers, from Deepmind☆157Updated 3 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆190Updated 2 years ago
- Collection of the latest, greatest, deep learning optimizers (for Pytorch) - CNN, NLP suitable☆214Updated 4 years ago
- Implementation of ConvMixer for "Patches Are All You Need? 🤷"☆1,071Updated 2 years ago
- DeLighT: Very Deep and Light-Weight Transformers☆467Updated 4 years ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆251Updated 2 years ago