guolinke / TUPE
Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve existing models like BERT.
☆250Updated 3 years ago
Alternatives and similar repositories for TUPE:
Users that are interested in TUPE are comparing it to the libraries listed below
- Understanding the Difficulty of Training Transformers☆328Updated 2 years ago
- For the code release of our arXiv paper "Revisiting Few-sample BERT Fine-tuning" (https://arxiv.org/abs/2006.05987).☆184Updated last year
- ☆213Updated 4 years ago
- Source code of paper "BP-Transformer: Modelling Long-Range Context via Binary Partitioning"☆126Updated 3 years ago
- ⛵️The official PyTorch implementation for "BERT-of-Theseus: Compressing BERT by Progressive Module Replacing" (EMNLP 2020).☆310Updated last year
- Generative Flow based Sequence-to-Sequence Toolkit written in Python.☆243Updated 5 years ago
- Code for the RecAdam paper: Recall and Learn: Fine-tuning Deep Pretrained Language Models with Less Forgetting.☆115Updated 4 years ago
- Code for the ICML'20 paper "Improving Transformer Optimization Through Better Initialization"☆89Updated 4 years ago
- ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators☆91Updated 3 years ago
- ☆83Updated 5 years ago
- A masked language modeling objective to train a model to predict any subset of the target words, conditioned on both the input text and a…☆242Updated 3 years ago
- ☆251Updated 2 years ago
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆426Updated 7 months ago
- Implementation of the paper Tree Transformer☆213Updated 4 years ago
- Worth-reading papers and related resources on attention mechanism, Transformer and pretrained language model (PLM) such as BERT. 值得一读的注意力…☆133Updated 3 years ago
- PyTorch Implementation of "Non-Autoregressive Neural Machine Translation"☆268Updated 3 years ago
- Adversarial Training for Natural Language Understanding☆252Updated last year
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆164Updated 3 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆257Updated 3 years ago
- PyTorch implementation of beam search decoding for seq2seq models☆338Updated 2 years ago
- Code for the paper "Are Sixteen Heads Really Better than One?"☆171Updated 4 years ago
- Codes for "Understanding and Improving Transformer From a Multi-Particle Dynamic System Point of View"☆148Updated 5 years ago
- [NeurIPS 2021] COCO-LM: Correcting and Contrasting Text Sequences for Language Model Pretraining☆118Updated last year
- Pytorch Implementation of ALBERT(A Lite BERT for Self-supervised Learning of Language Representations)☆226Updated 3 years ago
- Neural Text Generation with Unlikelihood Training☆309Updated 3 years ago
- Tracking the progress in non-autoregressive generation (translation, transcription, etc.)☆306Updated last year
- Implementation of Universal Transformer in Pytorch☆259Updated 6 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆152Updated last year
- LAMB Optimizer for Large Batch Training (TensorFlow version)☆120Updated 5 years ago
- Pretrain and finetune ELECTRA with fastai and huggingface. (Results of the paper replicated !)☆326Updated last year