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☆258Updated 3 years ago
- My take on a practical implementation of Linformer for Pytorch.☆412Updated 2 years ago
- Implementation of Linformer for Pytorch☆270Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 2 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆152Updated last year
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆740Updated 9 months ago
- Understanding the Difficulty of Training Transformers☆328Updated 2 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆156Updated 3 years ago
- ☆213Updated 4 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,114Updated 3 years ago
- Implementation of https://arxiv.org/abs/1904.00962☆371Updated 4 years ago
- Implementation of Feedback Transformer in Pytorch☆105Updated 4 years ago
- DeLighT: Very Deep and Light-Weight Transformers☆467Updated 4 years ago
- Official PyTorch Repo for "ReZero is All You Need: Fast Convergence at Large Depth"☆407Updated 7 months ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆425Updated 3 years ago
- An implementation of local windowed attention for language modeling☆423Updated last month
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆112Updated 4 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆118Updated 3 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆250Updated 3 years ago
- Transformer training code for sequential tasks☆610Updated 3 years ago
- Official codebase for Pretrained Transformers as Universal Computation Engines.☆246Updated 3 years ago
- ☆374Updated last year
- [ICML 2020] code for "PowerNorm: Rethinking Batch Normalization in Transformers" https://arxiv.org/abs/2003.07845☆119Updated 3 years ago
- Implementation of Fast Transformer in Pytorch☆172Updated 3 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆160Updated last year
- [ICLR 2020] Lite Transformer with Long-Short Range Attention☆606Updated 7 months ago
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆426Updated 8 months ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆102Updated 3 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 3 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆747Updated last year