lucidrains / linear-attention-transformerLinks
Transformer based on a variant of attention that is linear complexity in respect to sequence length
☆784Updated 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,724Updated 2 years ago
- Implementation of Linformer for Pytorch☆290Updated last year
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,136Updated 3 years ago
- An implementation of local windowed attention for language modeling☆460Updated 5 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆708Updated last week
- Long Range Arena for Benchmarking Efficient Transformers☆759Updated last year
- My take on a practical implementation of Linformer for Pytorch.☆416Updated 2 years ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆776Updated last year
- An All-MLP solution for Vision, from Google AI☆1,029Updated last week
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,156Updated last year
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆366Updated last year
- Tiny PyTorch library for maintaining a moving average of a collection of parameters.☆432Updated 9 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆379Updated last year
- Reformer, the efficient Transformer, in Pytorch☆2,174Updated 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,134Updated last year
- Fully featured implementation of Routing Transformer☆296Updated 3 years ago
- Learning Rate Warmup in PyTorch☆411Updated 3 weeks ago
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆595Updated 7 months ago
- Implementation of ConvMixer for "Patches Are All You Need? 🤷"☆1,074Updated 2 years ago
- Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Models☆795Updated last month
- An implementation of 1D, 2D, and 3D positional encoding in Pytorch and TensorFlow☆596Updated 8 months ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆265Updated 3 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- VQVAEs, GumbelSoftmaxes and friends☆577Updated 3 years ago
- Sequence modeling with Mega.☆296Updated 2 years ago
- ☆376Updated last year
- Fast, differentiable sorting and ranking in PyTorch☆817Updated last month
- Implementation of Axial attention - attending to multi-dimensional data efficiently☆385Updated 3 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆536Updated last year
- An implementation of the efficient attention module.☆319Updated 4 years ago