lucidrains / linear-attention-transformerLinks
Transformer based on a variant of attention that is linear complexity in respect to sequence length
☆768Updated 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:
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,133Updated 3 years ago
- Pytorch library for fast transformer implementations☆1,710Updated 2 years ago
- An implementation of local windowed attention for language modeling☆450Updated 4 months ago
- My take on a practical implementation of Linformer for Pytorch.☆415Updated 2 years ago
- Implementation of Linformer for Pytorch☆285Updated last year
- Reformer, the efficient Transformer, in Pytorch☆2,169Updated last year
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆681Updated 6 months ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆758Updated last year
- An All-MLP solution for Vision, from Google AI☆1,022Updated 8 months ago
- Fully featured implementation of Routing Transformer☆292Updated 3 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆757Updated last year
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,145Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆378Updated last year
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆263Updated 3 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆363Updated last year
- Implementation of ConvMixer for "Patches Are All You Need? 🤷"☆1,072Updated 2 years ago
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆590Updated 6 months ago
- Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Models☆791Updated 11 months ago
- VQVAEs, GumbelSoftmaxes and friends☆566Updated 3 years ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆333Updated 11 months ago
- Learning Rate Warmup in PyTorch☆410Updated 2 months ago
- Fast, differentiable sorting and ranking in PyTorch☆813Updated 3 weeks ago
- ☆376Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆530Updated last year
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆426Updated 3 years ago
- An implementation of 1D, 2D, and 3D positional encoding in Pytorch and TensorFlow☆586Updated 7 months ago
- Implementation of https://arxiv.org/abs/1904.00962☆375Updated 4 years ago
- DeLighT: Very Deep and Light-Weight Transformers☆467Updated 4 years ago
- (ICLR 2022 Spotlight) Official PyTorch implementation of "How Do Vision Transformers Work?"☆816Updated 2 years ago
- Tiny PyTorch library for maintaining a moving average of a collection of parameters.☆429Updated 8 months ago