lucidrains / linformerLinks
Implementation of Linformer for Pytorch
☆298Updated 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☆797Updated last year
- An implementation of local windowed attention for language modeling☆475Updated last month
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆226Updated 3 years ago
- Fully featured implementation of Routing Transformer☆297Updated 3 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 4 years ago
- My take on a practical implementation of Linformer for Pytorch.☆419Updated 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 2 years ago
- Unofficial PyTorch implementation of Google's FNet: Mixing Tokens with Fourier Transforms. With checkpoints.☆76Updated 3 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆369Updated last year
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆214Updated 2 years ago
- Sequence modeling with Mega.☆300Updated 2 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆196Updated 2 years ago
- An implementation of the efficient attention module.☆321Updated 4 years ago
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆241Updated 3 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆205Updated 2 years ago
- TF/Keras code for DiffStride, a pooling layer with learnable strides.☆124Updated 3 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆164Updated 3 years ago
- ☆164Updated 2 years ago
- Implementation of Axial attention - attending to multi-dimensional data efficiently☆385Updated 4 years ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆139Updated 5 months ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆123Updated 4 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆267Updated 4 years ago
- Implementation of Block Recurrent Transformer - Pytorch☆220Updated last year
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆485Updated 4 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,148Updated 3 years ago
- ☆380Updated last year
- Approximate nearest neighbor search with product quantization on GPU in pytorch and cuda☆227Updated last year
- Adaptive Gradient Clipping☆146Updated 2 years ago
- This is a pytorch implementation of k-means clustering algorithm☆323Updated 6 months ago
- Long Range Arena for Benchmarking Efficient Transformers☆764Updated last year