lucidrains / linear-attention-transformer
Transformer based on a variant of attention that is linear complexity in respect to sequence length
☆751Updated 10 months ago
Alternatives and similar repositories for linear-attention-transformer:
Users that are interested in linear-attention-transformer are comparing it to the libraries listed below
- Pytorch library for fast transformer implementations☆1,687Updated 2 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,116Updated 3 years ago
- Implementation of Linformer for Pytorch☆274Updated last year
- An implementation of local windowed attention for language modeling☆429Updated 2 months ago
- My take on a practical implementation of Linformer for Pytorch.☆413Updated 2 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆748Updated last year
- Reformer, the efficient Transformer, in Pytorch☆2,155Updated last year
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆651Updated 3 months ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆360Updated last year
- An All-MLP solution for Vision, from Google AI☆1,015Updated 6 months ago
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,134Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 2 years ago
- Fully featured implementation of Routing Transformer☆289Updated 3 years ago
- Sequence modeling with Mega.☆295Updated 2 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆372Updated last year
- Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Models☆781Updated 8 months ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆714Updated last year
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆260Updated 3 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆518Updated last year
- ☆376Updated last year
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆565Updated 3 months ago
- Fast, differentiable sorting and ranking in PyTorch☆796Updated last year
- Tiny PyTorch library for maintaining a moving average of a collection of parameters.☆426Updated 5 months ago
- Learning Rate Warmup in PyTorch☆404Updated 2 weeks ago
- PyTorch Re-Implementation of "The Sparsely-Gated Mixture-of-Experts Layer" by Noam Shazeer et al. https://arxiv.org/abs/1701.06538☆1,079Updated 11 months ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆188Updated 2 years ago
- optimizer & lr scheduler & loss function collections in PyTorch☆278Updated last week
- Implementation of ConvMixer for "Patches Are All You Need? 🤷"☆1,070Updated 2 years ago
- (ICLR 2022 Spotlight) Official PyTorch implementation of "How Do Vision Transformers Work?"☆811Updated 2 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆424Updated 3 years ago