mit-han-lab / lite-transformer
[ICLR 2020] Lite Transformer with Long-Short Range Attention
☆602Updated 6 months ago
Alternatives and similar repositories for lite-transformer:
Users that are interested in lite-transformer are comparing it to the libraries listed below
- DeLighT: Very Deep and Light-Weight Transformers☆468Updated 4 years ago
- My take on a practical implementation of Linformer for Pytorch.☆409Updated 2 years ago
- Official PyTorch Repo for "ReZero is All You Need: Fast Convergence at Large Depth"☆408Updated 5 months ago
- Implementation of https://arxiv.org/abs/1904.00962☆372Updated 4 years ago
- list of efficient attention modules☆995Updated 3 years ago
- [ACL'20] HAT: Hardware-Aware Transformers for Efficient Natural Language Processing☆332Updated 6 months ago
- Fully featured implementation of Routing Transformer☆288Updated 3 years ago
- ⛵️The official PyTorch implementation for "BERT-of-Theseus: Compressing BERT by Progressive Module Replacing" (EMNLP 2020).☆311Updated last year
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆256Updated 3 years ago
- ☆870Updated 7 months ago
- Accelerate training by storing parameters in one contiguous chunk of memory.☆292Updated 4 years ago
- ☆250Updated 2 years ago
- Understanding the Difficulty of Training Transformers☆327Updated 2 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆426Updated 3 years ago
- Pytorch library for fast transformer implementations☆1,665Updated last year
- Reformer, the efficient Transformer, in Pytorch☆2,140Updated last year
- Transformer training code for sequential tasks☆610Updated 3 years ago
- A Pytorch Implementation of "Attention is All You Need" and "Weighted Transformer Network for Machine Translation"☆550Updated 4 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆724Updated 8 months ago
- Source code for "On the Relationship between Self-Attention and Convolutional Layers"☆1,094Updated 2 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆256Updated 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
- FastFormers - highly efficient transformer models for NLU☆703Updated last year
- lookahead optimizer (Lookahead Optimizer: k steps forward, 1 step back) for pytorch☆334Updated 5 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,110Updated 2 years ago
- This is a repository with the code for the ACL 2019 paper "Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, t…☆306Updated 3 years ago
- Pytorch implementation of R-Transformer. Some parts of the code are adapted from the implementation of TCN and Transformer.☆226Updated 5 years ago
- Repository for the paper "Optimal Subarchitecture Extraction for BERT"☆471Updated 2 years ago
- Prune a model while finetuning or training.☆397Updated 2 years ago
- A general and accurate MACs / FLOPs profiler for PyTorch models☆579Updated 8 months ago