lucidrains / linear-attention-transformer
Transformer based on a variant of attention that is linear complexity in respect to sequence length
☆724Updated 8 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,665Updated last year
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,110Updated 2 years ago
- Implementation of Linformer for Pytorch☆262Updated last year
- An implementation of local windowed attention for language modeling☆403Updated this week
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆609Updated last month
- Long Range Arena for Benchmarking Efficient Transformers☆739Updated last year
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,115Updated last year
- My take on a practical implementation of Linformer for Pytorch.☆409Updated 2 years ago
- An All-MLP solution for Vision, from Google AI☆1,007Updated 4 months ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆668Updated last year
- Fully featured implementation of Routing Transformer☆288Updated 3 years ago
- Reformer, the efficient Transformer, in Pytorch☆2,140Updated last year
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆256Updated 3 years ago
- Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Models☆769Updated 6 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆370Updated last year
- Learning Rate Warmup in PyTorch☆399Updated this week
- ☆367Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆226Updated 2 years ago
- Implementation of ConvMixer for "Patches Are All You Need? 🤷"☆1,063Updated 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,018Updated 8 months ago
- Tiny PyTorch library for maintaining a moving average of a collection of parameters.☆418Updated 3 months ago
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆548Updated last month
- Implementation of Axial attention - attending to multi-dimensional data efficiently☆361Updated 3 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆426Updated 3 years ago
- Fast, differentiable sorting and ranking in PyTorch☆786Updated last year
- Implementation of https://srush.github.io/annotated-s4☆477Updated last year
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆357Updated last year
- Sequence modeling with Mega.☆297Updated last year
- A PyTorch implementation of Perceiver, Perceiver IO and Perceiver AR with PyTorch Lightning scripts for distributed training☆446Updated last year
- DeLighT: Very Deep and Light-Weight Transformers☆468Updated 4 years ago