lucidrains / linformer
Implementation of Linformer for Pytorch
☆279Updated last year
Alternatives and similar repositories for linformer:
Users that are interested in linformer are comparing it to the libraries listed below
- An implementation of local windowed attention for language modeling☆443Updated 3 months ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆758Updated 11 months ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Fully featured implementation of Routing Transformer☆291Updated 3 years ago
- My take on a practical implementation of Linformer for Pytorch.☆413Updated 2 years ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆666Updated 4 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆377Updated last year
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆262Updated 3 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,122Updated 3 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆361Updated last year
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆115Updated 4 years ago
- Sequence modeling with Mega.☆294Updated 2 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 3 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆190Updated 2 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆157Updated 3 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆213Updated 2 years ago
- Root Mean Square Layer Normalization☆238Updated 2 years ago
- ☆164Updated 2 years ago
- Implementation of Fast Transformer in Pytorch☆173Updated 3 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆751Updated last year
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆730Updated last year
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆131Updated last month
- ☆175Updated 10 months ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆203Updated last year
- Implementation of Axial attention - attending to multi-dimensional data efficiently☆377Updated 3 years ago
- ☆376Updated last year
- Unofficial implementation of MLP-Mixer: An all-MLP Architecture for Vision☆218Updated 3 years ago
- Unofficial PyTorch implementation of Google's FNet: Mixing Tokens with Fourier Transforms. With checkpoints.☆73Updated 2 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 gMLP, an all-MLP replacement for Transformers, in Pytorch☆425Updated 3 years ago