lucidrains / routing-transformerLinks
Fully featured implementation of Routing Transformer
☆297Updated 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
Sorting:
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆267Updated 3 years ago
- My take on a practical implementation of Linformer for Pytorch.☆417Updated 3 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆162Updated 3 years ago
- DeLighT: Very Deep and Light-Weight Transformers☆470Updated 4 years ago
- Implementation of Linformer for Pytorch☆294Updated last year
- Understanding the Difficulty of Training Transformers☆329Updated 3 years ago
- Implementation of Feedback Transformer in Pytorch☆107Updated 4 years ago
- ☆218Updated 5 years ago
- ☆378Updated last year
- Implementation of https://arxiv.org/abs/1904.00962☆376Updated 4 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆152Updated 2 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆119Updated 4 years ago
- [ICML 2020] code for "PowerNorm: Rethinking Batch Normalization in Transformers" https://arxiv.org/abs/2003.07845☆120Updated 4 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 4 years ago
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆443Updated last year
- Trains Transformer model variants. Data isn't shuffled between batches.☆143Updated 2 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆163Updated last year
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆238Updated 3 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆204Updated last year
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆165Updated 4 years ago
- Implementation of Fast Transformer in Pytorch☆175Updated 3 years ago
- Code for the ICML'20 paper "Improving Transformer Optimization Through Better Initialization"☆89Updated 4 years ago
- An implementation of local windowed attention for language modeling☆470Updated 2 weeks ago
- Sequence modeling with Mega.☆296Updated 2 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆105Updated 4 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆428Updated 3 years ago
- PyTorch Implementation of OpenAI's Image GPT☆258Updated last year
- Official codebase for Pretrained Transformers as Universal Computation Engines.☆248Updated 3 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆119Updated 4 years ago