lucidrains / linear-attention-transformerLinks
Transformer based on a variant of attention that is linear complexity in respect to sequence length
☆820Updated last year
Alternatives and similar repositories for linear-attention-transformer
Users that are interested in linear-attention-transformer are comparing it to the libraries listed below
Sorting:
- Pytorch library for fast transformer implementations☆1,755Updated 2 years ago
- An implementation of local windowed attention for language modeling☆491Updated 5 months ago
- Implementation of Linformer for Pytorch☆303Updated last year
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,170Updated 3 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆771Updated 2 years ago
- An All-MLP solution for Vision, from Google AI☆1,054Updated 5 months ago
- Reformer, the efficient Transformer, in Pytorch☆2,191Updated 2 years ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆838Updated 2 years ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆783Updated 5 months ago
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,186Updated 2 years ago
- Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Models☆805Updated 6 months ago
- My take on a practical implementation of Linformer for Pytorch.☆422Updated 3 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆371Updated 2 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆388Updated 2 years ago
- PyTorch Re-Implementation of "The Sparsely-Gated Mixture-of-Experts Layer" by Noam Shazeer et al. https://arxiv.org/abs/1701.06538☆1,212Updated last year
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆632Updated last week
- Tiny PyTorch library for maintaining a moving average of a collection of parameters.☆444Updated last year
- Implementation of ConvMixer for "Patches Are All You Need? 🤷"☆1,078Updated 3 years ago
- Fully featured implementation of Routing Transformer☆299Updated 4 years ago
- Implementation of Axial attention - attending to multi-dimensional data efficiently☆396Updated 4 years ago
- Learning Rate Warmup in PyTorch☆415Updated 6 months ago
- ☆615Updated 3 weeks ago
- An implementation of the efficient attention module.☆327Updated 5 years ago
- Fast, differentiable sorting and ranking in PyTorch☆847Updated 6 months ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆228Updated 3 years ago
- ☆388Updated 2 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆269Updated 4 years ago
- Sequence modeling with Mega.☆302Updated 2 years ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆374Updated last year
- An implementation of 1D, 2D, and 3D positional encoding in Pytorch and TensorFlow☆612Updated last year