lucidrains / linformer
Implementation of Linformer for Pytorch
☆262Updated last year
Alternatives and similar repositories for linformer:
Users that are interested in linformer are comparing it to the libraries listed below
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆724Updated 8 months ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆226Updated 2 years ago
- Fully featured implementation of Routing Transformer☆288Updated 3 years ago
- An implementation of local windowed attention for language modeling☆403Updated this week
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆256Updated 3 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆256Updated 3 years ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆124Updated 11 months ago
- Sequence modeling with Mega.☆297Updated last year
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆609Updated last month
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆357Updated last year
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,110Updated 2 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆107Updated 4 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆185Updated 2 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆204Updated last year
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆157Updated 11 months ago
- Learning Rate Warmup in PyTorch☆399Updated this week
- Pytorch implementation of Compressive Transformers, from Deepmind☆155Updated 3 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆118Updated 3 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆210Updated last year
- ☆446Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆370Updated last year
- An implementation of the efficient attention module.☆297Updated 4 years ago
- Implementation of Fast Transformer in Pytorch☆172Updated 3 years ago
- ☆367Updated last year
- Implementation of Axial attention - attending to multi-dimensional data efficiently☆361Updated 3 years ago
- ☆164Updated last year
- Tiny PyTorch library for maintaining a moving average of a collection of parameters.☆418Updated 3 months ago
- Unofficial implementation of MLP-Mixer: An all-MLP Architecture for Vision☆214Updated 3 years ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆668Updated last year
- Approximate nearest neighbor search with product quantization on GPU in pytorch and cuda☆216Updated last year