mit-han-lab / lite-transformer
[ICLR 2020] Lite Transformer with Long-Short Range Attention
☆607Updated 9 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☆467Updated 4 years ago
- My take on a practical implementation of Linformer for Pytorch.☆414Updated 2 years ago
- [ACL'20] HAT: Hardware-Aware Transformers for Efficient Natural Language Processing☆333Updated 9 months ago
- Implementation of https://arxiv.org/abs/1904.00962☆374Updated 4 years ago
- Fully featured implementation of Routing Transformer☆291Updated 3 years ago
- Official PyTorch Repo for "ReZero is All You Need: Fast Convergence at Large Depth"☆408Updated 9 months ago
- ☆251Updated 2 years ago
- Accelerate training by storing parameters in one contiguous chunk of memory.☆291Updated 4 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☆262Updated 3 years ago
- list of efficient attention modules☆1,003Updated 3 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆251Updated 3 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Pytorch library for fast transformer implementations☆1,701Updated 2 years ago
- Understanding the Difficulty of Training Transformers☆329Updated 2 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,126Updated 3 years ago
- ☆876Updated 11 months ago
- Transformer training code for sequential tasks☆612Updated 3 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆362Updated last year
- A Pytorch Implementation of "Attention is All You Need" and "Weighted Transformer Network for Machine Translation"☆556Updated 4 years ago
- FastFormers - highly efficient transformer models for NLU☆706Updated last month
- torchsummaryX: Improved visualization tool of torchsummary☆303Updated 3 years ago
- Source code for "On the Relationship between Self-Attention and Convolutional Layers"☆1,099Updated 2 years ago
- Pytorch implementation of R-Transformer. Some parts of the code are adapted from the implementation of TCN and Transformer.☆228Updated 5 years ago
- Reformer, the efficient Transformer, in Pytorch☆2,164Updated last year
- Prune a model while finetuning or training.☆402Updated 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…☆312Updated 3 years ago
- A large scale study of Knowledge Distillation.☆220Updated 5 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆763Updated last year
- The Noise Contrastive Estimation for softmax output written in Pytorch☆318Updated 5 years ago