rish-16 / aft-pytorch
Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.
☆234Updated 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).☆225Updated 2 years ago
- Fully featured implementation of Routing Transformer☆289Updated 3 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆424Updated 3 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆258Updated 3 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆204Updated last year
- Implementation of Linformer for Pytorch☆272Updated last year
- Sequence modeling with Mega.☆296Updated 2 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆259Updated 3 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆359Updated last year
- My take on a practical implementation of Linformer for Pytorch.☆412Updated 2 years ago
- Implementation of Fast Transformer in Pytorch☆173Updated 3 years ago
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆483Updated 3 years ago
- Unofficial PyTorch implementation of Fastformer based on paper "Fastformer: Additive Attention Can Be All You Need"."☆134Updated 3 years ago
- Implementation of Feedback Transformer in Pytorch☆105Updated 4 years ago
- Implementation of https://arxiv.org/abs/1904.00962☆372Updated 4 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆746Updated 10 months ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆156Updated 3 years ago
- ☆375Updated last year
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆128Updated last year
- Understanding the Difficulty of Training Transformers☆328Updated 2 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆372Updated last year
- DeLighT: Very Deep and Light-Weight Transformers☆468Updated 4 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆516Updated last year
- Implementation of Transformer in Transformer, pixel level attention paired with patch level attention for image classification, in Pytorc…☆305Updated 3 years ago
- Flexible components pairing 🤗 Transformers with Pytorch Lightning☆612Updated 2 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆160Updated last year
- Long Range Arena for Benchmarking Efficient Transformers☆747Updated last year
- Implementation of Online Label Smoothing in PyTorch☆94Updated 2 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,115Updated 3 years ago
- Collection of the latest, greatest, deep learning optimizers (for Pytorch) - CNN, NLP suitable☆212Updated 3 years ago