lucidrains / linformerLinks
Implementation of Linformer for Pytorch
☆290Updated last year
Alternatives and similar repositories for linformer
Users that are interested in linformer are comparing it to the libraries listed below
Sorting:
- An implementation of local windowed attention for language modeling☆460Updated 6 months ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆784Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- My take on a practical implementation of Linformer for Pytorch.☆416Updated 2 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 4 years ago
- Fully featured implementation of Routing Transformer☆296Updated 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
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆366Updated last year
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆194Updated 2 years ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆708Updated last week
- Sequence modeling with Mega.☆296Updated 2 years ago
- An implementation of the efficient attention module.☆319Updated 4 years ago
- Unofficial PyTorch implementation of Google's FNet: Mixing Tokens with Fourier Transforms. With checkpoints.☆74Updated 2 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆265Updated 3 years ago
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆238Updated 3 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆214Updated 2 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,136Updated 3 years ago
- This is a pytorch implementation of k-means clustering algorithm☆314Updated 4 months ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆135Updated 3 months ago
- Tiny PyTorch library for maintaining a moving average of a collection of parameters.☆432Updated 9 months ago
- Adaptive Gradient Clipping☆135Updated 2 years ago
- ☆163Updated 2 years ago
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆486Updated 4 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆161Updated last year
- An All-MLP solution for Vision, from Google AI☆1,029Updated last week
- Learning Rate Warmup in PyTorch☆411Updated 3 weeks ago
- Escaping the Big Data Paradigm with Compact Transformers, 2021 (Train your Vision Transformers in 30 mins on CIFAR-10 with a single GPU!)☆534Updated 8 months ago
- Root Mean Square Layer Normalization☆245Updated 2 years ago
- ☆376Updated last year
- Pytorch implementation of Compressive Transformers, from Deepmind☆162Updated 3 years ago