lucidrains / linformerLinks
Implementation of Linformer for Pytorch
☆286Updated last year
Alternatives and similar repositories for linformer
Users that are interested in linformer are comparing it to the libraries listed below
Sorting:
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆768Updated last year
- An implementation of local windowed attention for language modeling☆450Updated 4 months ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- My take on a practical implementation of Linformer for Pytorch.☆414Updated 2 years ago
- Fully featured implementation of Routing Transformer☆292Updated 3 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆379Updated last year
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆193Updated 2 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆363Updated last year
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆260Updated 4 years ago
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆237Updated 3 years ago
- Unofficial implementation of MLP-Mixer: An all-MLP Architecture for Vision☆217Updated 4 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆214Updated 2 years ago
- Sequence modeling with Mega.☆295Updated 2 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,133Updated 3 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆117Updated 4 years ago
- An All-MLP solution for Vision, from Google AI☆1,024Updated 8 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆685Updated 6 months ago
- Implementation of Block Recurrent Transformer - Pytorch☆218Updated 9 months ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆135Updated 2 months ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆204Updated last year
- Tiny PyTorch library for maintaining a moving average of a collection of parameters.☆429Updated 8 months ago
- Implementation of Axial attention - attending to multi-dimensional data efficiently☆381Updated 3 years ago
- Axial Positional Embedding for Pytorch☆81Updated 3 months ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆762Updated last year
- Pytorch implementation of Compressive Transformers, from Deepmind☆158Updated 3 years ago
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆590Updated 6 months ago
- Recent Advances in MLP-based Models (MLP is all you need!)☆115Updated 2 years ago
- Learning Rate Warmup in PyTorch☆410Updated 2 months ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆264Updated 3 years ago
- Implementation of ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networks, ICML 2021.☆145Updated 3 years ago