tatp22 / linformer-pytorchLinks
My take on a practical implementation of Linformer for Pytorch.
☆419Updated 3 years ago
Alternatives and similar repositories for linformer-pytorch
Users that are interested in linformer-pytorch are comparing it to the libraries listed below
Sorting:
- Fully featured implementation of Routing Transformer☆298Updated 3 years ago
- DeLighT: Very Deep and Light-Weight Transformers☆468Updated 4 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,148Updated 3 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆269Updated 4 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆798Updated last year
- Implementation of Linformer for Pytorch☆300Updated last year
- [ICLR 2020] Lite Transformer with Long-Short Range Attention☆611Updated last year
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 4 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆227Updated 3 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆430Updated 4 years ago
- Implementation of https://arxiv.org/abs/1904.00962☆376Updated 4 years ago
- Pytorch library for fast transformer implementations☆1,736Updated 2 years ago
- Reformer, the efficient Transformer, in Pytorch☆2,181Updated 2 years ago
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆447Updated last year
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆241Updated 3 years ago
- Official PyTorch Repo for "ReZero is All You Need: Fast Convergence at Large Depth"☆415Updated last year
- Pytorch implementation of R-Transformer. Some parts of the code are adapted from the implementation of TCN and Transformer.☆230Updated 6 years ago
- Understanding the Difficulty of Training Transformers☆330Updated 3 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆370Updated 2 years ago
- An implementation of local windowed attention for language modeling☆480Updated 2 months ago
- ☆382Updated last year
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆252Updated 3 years ago
- ☆219Updated 5 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆764Updated last year
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆195Updated 2 years ago
- Implement the paper "Self-Attention with Relative Position Representations"☆139Updated 4 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆151Updated 2 years ago
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆486Updated 4 years ago
- A pytorch &keras implementation and demo of Fastformer.☆189Updated 3 years ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆166Updated 4 years ago