lucidrains / linear-attention-transformer
Transformer based on a variant of attention that is linear complexity in respect to sequence length
☆756Updated 11 months ago
Alternatives and similar repositories for linear-attention-transformer:
Users that are interested in linear-attention-transformer are comparing it to the libraries listed below
- Pytorch library for fast transformer implementations☆1,697Updated 2 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,122Updated 3 years ago
- Implementation of Linformer for Pytorch☆279Updated last year
- An implementation of local windowed attention for language modeling☆443Updated 3 months ago
- Long Range Arena for Benchmarking Efficient Transformers☆751Updated last year
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆666Updated 4 months ago
- Fully featured implementation of Routing Transformer☆292Updated 3 years ago
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,137Updated last year
- My take on a practical implementation of Linformer for Pytorch.☆413Updated 2 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
- Reformer, the efficient Transformer, in Pytorch☆2,163Updated last year
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆730Updated last year
- An All-MLP solution for Vision, from Google AI☆1,019Updated 7 months ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆361Updated last year
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆262Updated 3 years ago
- Learning Rate Warmup in PyTorch☆409Updated last month
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Models☆789Updated 9 months ago
- Tiny PyTorch library for maintaining a moving average of a collection of parameters.☆426Updated 6 months ago
- DeLighT: Very Deep and Light-Weight Transformers☆467Updated 4 years ago
- An implementation of the efficient attention module.☆306Updated 4 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 3 years ago
- Implementation of ConvMixer for "Patches Are All You Need? 🤷"☆1,070Updated 2 years ago
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆571Updated 4 months ago
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆235Updated 3 years ago
- ☆625Updated this week
- Sequence modeling with Mega.☆294Updated 2 years ago
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆432Updated 10 months ago
- Implementation of Axial attention - attending to multi-dimensional data efficiently☆377Updated 3 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆522Updated last year