lena-voita / the-story-of-headsLinks
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".
☆314Updated 4 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
Sorting:
- Code for the paper "Are Sixteen Heads Really Better than One?"☆172Updated 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…☆245Updated 4 years ago
- ☆325Updated 4 years ago
- Repository containing code for "How to Train BERT with an Academic Budget" paper☆315Updated 2 years ago
- ☆498Updated 2 years ago
- Understanding the Difficulty of Training Transformers☆330Updated 3 years ago
- Tracking the progress in non-autoregressive generation (translation, transcription, etc.)☆305Updated 2 years ago
- For the code release of our arXiv paper "Revisiting Few-sample BERT Fine-tuning" (https://arxiv.org/abs/2006.05987).☆184Updated 2 years ago
- Official Repository for "The Curious Case of Neural Text Degeneration"☆165Updated 2 years ago
- ☆86Updated last year
- Pretrain and finetune ELECTRA with fastai and huggingface. (Results of the paper replicated !)☆330Updated last year
- ☆292Updated 2 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆252Updated 3 years ago
- Pytorch implementation of "A Probabilistic Formulation of Unsupervised Text Style Transfer" by He. et. al. at ICLR 2020☆163Updated 3 years ago
- [ACL 2022] Structured Pruning Learns Compact and Accurate Models https://arxiv.org/abs/2204.00408☆197Updated 2 years ago
- [NeurIPS 2020] "The Lottery Ticket Hypothesis for Pre-trained BERT Networks", Tianlong Chen, Jonathan Frankle, Shiyu Chang, Sijia Liu, Ya…☆141Updated 3 years ago
- ☆316Updated 3 years ago
- ☆212Updated last year
- Optimus: the first large-scale pre-trained VAE language model☆391Updated 2 years ago
- Code for LAMOL: LAnguage MOdeling for Lifelong Language Learning☆95Updated 5 years ago
- The source code for the Cutoff data augmentation approach proposed in this paper: "A Simple but Tough-to-Beat Data Augmentation Approach …☆63Updated 4 years ago
- Neural Text Generation with Unlikelihood Training☆310Updated 4 years ago
- ☆19Updated 5 years ago
- Implementation of the paper Tree Transformer☆214Updated 5 years ago
- A benchmark for understanding and evaluating rationales: http://www.eraserbenchmark.com/☆99Updated 2 years ago
- ☆219Updated 5 years ago
- DeeBERT: Dynamic Early Exiting for Accelerating BERT Inference☆160Updated 3 years ago
- Transformers without Tears: Improving the Normalization of Self-Attention☆133Updated last year
- GeDi: Generative Discriminator Guided Sequence Generation☆208Updated 4 months ago
- Implementation of Mixout with PyTorch☆75Updated 2 years ago