lucidrains / linear-attention-transformer
Transformer based on a variant of attention that is linear complexity in respect to sequence length
☆764Updated 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:
- Implementation of Linformer for Pytorch☆283Updated last year
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,129Updated 3 years ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆673Updated 5 months ago
- Pytorch library for fast transformer implementations☆1,703Updated 2 years ago
- An implementation of local windowed attention for language modeling☆447Updated 3 months ago
- An All-MLP solution for Vision, from Google AI☆1,021Updated 8 months ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆739Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆377Updated last year
- Long Range Arena for Benchmarking Efficient Transformers☆753Updated last year
- My take on a practical implementation of Linformer for Pytorch.☆415Updated 2 years ago
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,140Updated last year
- Reformer, the efficient Transformer, in Pytorch☆2,166Updated last year
- Fully featured implementation of Routing Transformer☆291Updated 3 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆362Updated last year
- Implementation of ConvMixer for "Patches Are All You Need? 🤷"☆1,071Updated 2 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆262Updated 3 years ago
- Tiny PyTorch library for maintaining a moving average of a collection of parameters.☆428Updated 7 months ago
- Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Models☆790Updated 10 months ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Sequence modeling with Mega.☆295Updated 2 years ago
- Learning Rate Warmup in PyTorch☆410Updated 2 months ago
- Implementation of Axial attention - attending to multi-dimensional data efficiently☆377Updated 3 years ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆330Updated 10 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆526Updated last year
- ☆376Updated last year
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆582Updated 5 months ago
- Implementation of 1D, 2D, and 3D FFT convolutions in PyTorch. Much faster than direct convolutions for large kernel sizes.☆494Updated last year
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆260Updated 3 years ago
- An implementation of the efficient attention module.☆310Updated 4 years ago
- Implementation of https://srush.github.io/annotated-s4☆494Updated 2 years ago