mit-han-lab / lite-transformer
[ICLR 2020] Lite Transformer with Long-Short Range Attention
☆598Updated 4 months ago
Related projects ⓘ
Alternatives and complementary repositories for lite-transformer
- DeLighT: Very Deep and Light-Weight Transformers☆467Updated 4 years ago
- My take on a practical implementation of Linformer for Pytorch.☆407Updated 2 years ago
- Official PyTorch Repo for "ReZero is All You Need: Fast Convergence at Large Depth"☆407Updated 3 months ago
- [ACL'20] HAT: Hardware-Aware Transformers for Efficient Natural Language Processing☆330Updated 4 months ago
- list of efficient attention modules☆989Updated 3 years ago
- ☆246Updated 2 years ago
- Fully featured implementation of Routing Transformer☆284Updated 3 years ago
- ⛵️The official PyTorch implementation for "BERT-of-Theseus: Compressing BERT by Progressive Module Replacing" (EMNLP 2020).☆312Updated last year
- Implementation of https://arxiv.org/abs/1904.00962☆369Updated 3 years ago
- Transformer training code for sequential tasks☆609Updated 3 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆253Updated 3 years ago
- Accelerate training by storing parameters in one contiguous chunk of memory.☆291Updated 4 years ago
- Understanding the Difficulty of Training Transformers☆328Updated 2 years ago
- ☆870Updated 5 months ago
- Code for the paper "Are Sixteen Heads Really Better than One?"☆169Updated 4 years ago
- Pytorch library for fast transformer implementations☆1,643Updated last year
- Pytorch implementation of R-Transformer. Some parts of the code are adapted from the implementation of TCN and Transformer.☆224Updated 5 years ago
- Reformer, the efficient Transformer, in Pytorch☆2,121Updated last year
- This is a repository with the code for the ACL 2019 paper "Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, t…☆302Updated 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
- Source code for "On the Relationship between Self-Attention and Convolutional Layers"☆1,085Updated last year
- torchsummaryX: Improved visualization tool of torchsummary☆301Updated 2 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆222Updated 2 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆251Updated 3 years ago
- FastFormers - highly efficient transformer models for NLU☆701Updated 10 months ago
- ☆212Updated 4 years ago
- A Pytorch Implementation of "Attention is All You Need" and "Weighted Transformer Network for Machine Translation"☆547Updated 4 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,098Updated 2 years ago
- Prune a model while finetuning or training.☆394Updated 2 years ago
- PyTorch layer-by-layer model profiler☆608Updated 3 years ago