lucidrains / linformerLinks
Implementation of Linformer for Pytorch
☆303Updated 2 years ago
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☆492Updated 6 months ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆823Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆228Updated 3 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆389Updated 2 years ago
- Fully featured implementation of Routing Transformer☆299Updated 4 years ago
- My take on a practical implementation of Linformer for Pytorch.☆421Updated 3 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆261Updated 4 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆371Updated 2 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆219Updated 2 years ago
- Sequence modeling with Mega.☆302Updated 2 years ago
- An implementation of the efficient attention module.☆327Updated 5 years ago
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆244Updated 3 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆196Updated 3 years ago
- ☆164Updated 2 years ago
- Unofficial PyTorch implementation of Google's FNet: Mixing Tokens with Fourier Transforms. With checkpoints.☆77Updated 3 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆269Updated 4 years ago
- ☆293Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆223Updated last year
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆788Updated 5 months ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆145Updated 9 months ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆430Updated 4 years ago
- TF/Keras code for DiffStride, a pooling layer with learnable strides.☆124Updated 3 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆125Updated 5 years ago
- ☆388Updated 2 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆206Updated 2 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆167Updated last year
- Implementation of Axial attention - attending to multi-dimensional data efficiently☆397Updated 4 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆163Updated 4 years ago
- Approximate nearest neighbor search with product quantization on GPU in pytorch and cuda☆231Updated 2 years ago
- Tiny PyTorch library for maintaining a moving average of a collection of parameters.☆445Updated last year