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
- [ACL'20] HAT: Hardware-Aware Transformers for Efficient Natural Language Processing☆331Updated 9 months ago
- My take on a practical implementation of Linformer for Pytorch.☆413Updated 2 years ago
- Official PyTorch Repo for "ReZero is All You Need: Fast Convergence at Large Depth"☆407Updated 8 months ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆251Updated 3 years ago
- Implementation of https://arxiv.org/abs/1904.00962☆374Updated 4 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆260Updated 3 years ago
- Understanding the Difficulty of Training Transformers☆329Updated 2 years ago
- ☆251Updated 2 years ago
- ⛵️The official PyTorch implementation for "BERT-of-Theseus: Compressing BERT by Progressive Module Replacing" (EMNLP 2020).☆311Updated last year
- Transformer training code for sequential tasks☆611Updated 3 years ago
- Accelerate training by storing parameters in one contiguous chunk of memory.☆291Updated 4 years ago
- ☆876Updated 10 months ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 2 years ago
- A Pytorch Implementation of "Attention is All You Need" and "Weighted Transformer Network for Machine Translation"☆555Updated 4 years ago
- Source code for "On the Relationship between Self-Attention and Convolutional Layers"☆1,100Updated 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
- list of efficient attention modules☆999Updated 3 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆425Updated 3 years ago
- Fully featured implementation of Routing Transformer☆293Updated 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
- ☆218Updated 4 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☆705Updated 3 weeks ago
- Reformer, the efficient Transformer, in Pytorch☆2,163Updated last year
- Repository for the paper "Optimal Subarchitecture Extraction for BERT"☆472Updated 2 years ago
- A general and accurate MACs / FLOPs profiler for PyTorch models☆603Updated 11 months ago
- lookahead optimizer (Lookahead Optimizer: k steps forward, 1 step back) for pytorch☆335Updated 5 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆190Updated 2 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 3 years ago