lena-voita / the-story-of-heads
This is a repository with the code for the ACL 2019 paper "Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Pruned" and the ACL 2021 paper "Analyzing Source and Target Contributions to NMT Predictions".
☆309Updated 3 years ago
Alternatives and similar repositories for the-story-of-heads:
Users that are interested in the-story-of-heads are comparing it to the libraries listed below
- Code for the paper "Are Sixteen Heads Really Better than One?"☆171Updated 4 years ago
- Understanding the Difficulty of Training Transformers☆328Updated 2 years ago
- Pretrain and finetune ELECTRA with fastai and huggingface. (Results of the paper replicated !)☆325Updated last year
- For the code release of our arXiv paper "Revisiting Few-sample BERT Fine-tuning" (https://arxiv.org/abs/2006.05987).☆184Updated last year
- Repository containing code for "How to Train BERT with an Academic Budget" paper☆310Updated last year
- [ACL 2022] Structured Pruning Learns Compact and Accurate Models https://arxiv.org/abs/2204.00408☆192Updated last year
- Transformers without Tears: Improving the Normalization of Self-Attention☆130Updated 8 months ago
- ☆316Updated 3 years ago
- ☆310Updated 2 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆250Updated 3 years ago
- ☆81Updated 9 months ago
- ☆460Updated 3 years ago
- Tracking the progress in non-autoregressive generation (translation, transcription, etc.)☆306Updated last year
- Official Repository for "The Curious Case of Neural Text Degeneration"☆159Updated last year
- Pytorch Implementation of ALBERT(A Lite BERT for Self-supervised Learning of Language Representations)☆226Updated 3 years ago
- Fully featured implementation of Routing Transformer☆288Updated 3 years ago
- DeeBERT: Dynamic Early Exiting for Accelerating BERT Inference☆153Updated 2 years ago
- ☆294Updated 2 years ago
- ☆360Updated 2 years ago
- Prune a model while finetuning or training.☆398Updated 2 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…☆243Updated 3 years ago
- PyTorch implementation of BERT in "BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding"☆96Updated 6 years ago
- A PyTorch implementation of Transformer in "Attention is All You Need"☆103Updated 4 years ago
- pytorch implementation for Patient Knowledge Distillation for BERT Model Compression☆200Updated 5 years ago
- ☆213Updated 4 years ago
- [ACL 2021] LM-BFF: Better Few-shot Fine-tuning of Language Models https://arxiv.org/abs/2012.15723☆725Updated 2 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆152Updated last year
- Implementation of Universal Transformer in Pytorch☆258Updated 6 years ago
- [ICLR 2020] Lite Transformer with Long-Short Range Attention☆602Updated 6 months ago
- Neural Text Generation with Unlikelihood Training☆309Updated 3 years ago