lucidrains / routing-transformer
Fully featured implementation of Routing Transformer
☆288Updated 3 years ago
Alternatives and similar repositories for routing-transformer:
Users that are interested in routing-transformer are comparing it to the libraries listed below
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆256Updated 3 years ago
- Implementation of Linformer for Pytorch☆262Updated last year
- My take on a practical implementation of Linformer for Pytorch.☆411Updated 2 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆226Updated 2 years ago
- ☆368Updated last year
- ☆213Updated 4 years ago
- DeLighT: Very Deep and Light-Weight Transformers☆467Updated 4 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆155Updated 3 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆731Updated 8 months ago
- Understanding the Difficulty of Training Transformers☆328Updated 2 years ago
- Implementation of Feedback Transformer in Pytorch☆105Updated 3 years ago
- [ICML 2020] code for "PowerNorm: Rethinking Batch Normalization in Transformers" https://arxiv.org/abs/2003.07845☆119Updated 3 years ago
- An implementation of local windowed attention for language modeling☆408Updated last week
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆152Updated last year
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆256Updated 3 years ago
- Implementation of https://arxiv.org/abs/1904.00962☆372Updated 4 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆740Updated last year
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆108Updated 4 years ago
- Implementation of Fast Transformer in Pytorch☆172Updated 3 years ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆123Updated last year
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆425Updated 7 months ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,114Updated 2 years ago
- Transformers without Tears: Improving the Normalization of Self-Attention☆130Updated 8 months ago
- [ICLR 2020] Lite Transformer with Long-Short Range Attention☆602Updated 6 months ago
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆483Updated 3 years ago
- Official codebase for Pretrained Transformers as Universal Computation Engines.☆245Updated 3 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆102Updated 3 years ago
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆221Updated last year
- Transformer training code for sequential tasks☆609Updated 3 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆158Updated 11 months ago