lucidrains / linear-attention-transformerLinks
Transformer based on a variant of attention that is linear complexity in respect to sequence length
☆793Updated 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,725Updated 2 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,139Updated 3 years ago
- Implementation of Linformer for Pytorch☆294Updated last year
- An implementation of local windowed attention for language modeling☆470Updated 2 weeks ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆719Updated last week
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆788Updated last year
- My take on a practical implementation of Linformer for Pytorch.☆417Updated 3 years ago
- An All-MLP solution for Vision, from Google AI☆1,034Updated 3 weeks ago
- Long Range Arena for Benchmarking Efficient Transformers☆762Updated last year
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,163Updated last year
- Reformer, the efficient Transformer, in Pytorch☆2,177Updated 2 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆368Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆379Updated 2 years ago
- Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Models☆797Updated last month
- Fully featured implementation of Routing Transformer☆297Updated 3 years ago
- Implementation of ConvMixer for "Patches Are All You Need? 🤷"☆1,076Updated 2 years ago
- An implementation of 1D, 2D, and 3D positional encoding in Pytorch and TensorFlow☆600Updated 9 months ago
- PyTorch Re-Implementation of "The Sparsely-Gated Mixture-of-Experts Layer" by Noam Shazeer et al. https://arxiv.org/abs/1701.06538☆1,149Updated last year
- Learning Rate Warmup in PyTorch☆410Updated last month
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆267Updated 3 years ago
- Tiny PyTorch library for maintaining a moving average of a collection of parameters.☆434Updated 10 months ago
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆600Updated 8 months ago
- Implementation of Axial attention - attending to multi-dimensional data efficiently☆384Updated 3 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆428Updated 3 years ago
- An implementation of the efficient attention module.☆320Updated 4 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆538Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- ☆378Updated last year
- VQVAEs, GumbelSoftmaxes and friends☆581Updated 3 years ago
- Sequence modeling with Mega.☆296Updated 2 years ago