lucidrains / linformerLinks
Implementation of Linformer for Pytorch
☆300Updated 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☆483Updated 3 months ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆228Updated 3 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆801Updated last year
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 4 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆369Updated 2 years ago
- My take on a practical implementation of Linformer for Pytorch.☆421Updated 3 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆383Updated 2 years ago
- Unofficial PyTorch implementation of Google's FNet: Mixing Tokens with Fourier Transforms. With checkpoints.☆77Updated 3 years ago
- ☆164Updated 2 years ago
- Fully featured implementation of Routing Transformer☆296Updated 3 years ago
- Sequence modeling with Mega.☆300Updated 2 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆123Updated 4 years ago
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆243Updated 3 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆217Updated 2 years ago
- An implementation of the efficient attention module.☆321Updated 4 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆196Updated 2 years ago
- Implementation of Block Recurrent Transformer - Pytorch☆221Updated last year
- Pytorch implementation of Compressive Transformers, from Deepmind☆162Updated 4 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 Rotary Embeddings, from the Roformer paper, in Pytorch☆769Updated 3 months ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆141Updated 7 months ago
- Root Mean Square Layer Normalization☆256Updated 2 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆165Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆363Updated last year
- This is a pytorch implementation of k-means clustering algorithm☆328Updated 7 months ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆268Updated 4 years ago
- Implementation of Axial attention - attending to multi-dimensional data efficiently☆387Updated 4 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆430Updated 4 years ago
- An All-MLP solution for Vision, from Google AI☆1,050Updated 3 months ago
- Approximate nearest neighbor search with product quantization on GPU in pytorch and cuda☆228Updated last year