mit-han-lab / lite-transformer
[ICLR 2020] Lite Transformer with Long-Short Range Attention
☆607Updated 8 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
- Official PyTorch Repo for "ReZero is All You Need: Fast Convergence at Large Depth"☆407Updated 8 months ago
- My take on a practical implementation of Linformer for Pytorch.☆412Updated 2 years ago
- [ACL'20] HAT: Hardware-Aware Transformers for Efficient Natural Language Processing☆331Updated 8 months ago
- ☆251Updated 2 years ago
- Transformer training code for sequential tasks☆610Updated 3 years ago
- Implementation of https://arxiv.org/abs/1904.00962☆373Updated 4 years ago
- Accelerate training by storing parameters in one contiguous chunk of memory.☆291Updated 4 years ago
- Fully featured implementation of Routing Transformer☆291Updated 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
- Reformer, the efficient Transformer, in Pytorch☆2,158Updated last year
- Pytorch library for fast transformer implementations☆1,690Updated 2 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 2 years ago
- Examples of using sparse attention, as in "Generating Long Sequences with Sparse Transformers"☆1,563Updated 4 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 3 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆260Updated 3 years ago
- Understanding the Difficulty of Training Transformers☆328Updated 2 years ago
- A Pytorch Implementation of "Attention is All You Need" and "Weighted Transformer Network for Machine Translation"☆554Updated 4 years ago
- ⛵️The official PyTorch implementation for "BERT-of-Theseus: Compressing BERT by Progressive Module Replacing" (EMNLP 2020).☆310Updated last year
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆424Updated 3 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…☆312Updated 3 years ago
- list of efficient attention modules☆999Updated 3 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,120Updated 3 years ago
- FastFormers - highly efficient transformer models for NLU☆704Updated last week
- Pytorch implementation of R-Transformer. Some parts of the code are adapted from the implementation of TCN and Transformer.☆228Updated 5 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆361Updated last year
- The Noise Contrastive Estimation for softmax output written in Pytorch☆318Updated 5 years ago
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆234Updated 2 years ago
- Prune a model while finetuning or training.☆402Updated 2 years ago
- ☆875Updated 10 months ago