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".
☆313Updated 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
- Understanding the Difficulty of Training Transformers☆329Updated 3 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…☆244Updated 3 years ago
- Repository containing code for "How to Train BERT with an Academic Budget" paper☆314Updated last year
- ☆500Updated last year
- ☆86Updated last year
- ☆322Updated 4 years ago
- For the code release of our arXiv paper "Revisiting Few-sample BERT Fine-tuning" (https://arxiv.org/abs/2006.05987).☆185Updated 2 years ago
- Official Repository for "The Curious Case of Neural Text Degeneration"☆164Updated 2 years ago
- Tracking the progress in non-autoregressive generation (translation, transcription, etc.)☆306Updated 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
- Pretrain and finetune ELECTRA with fastai and huggingface. (Results of the paper replicated !)☆330Updated last year
- ☆292Updated 2 years ago
- ☆31Updated 4 years ago
- Pytorch implementation of "A Probabilistic Formulation of Unsupervised Text Style Transfer" by He. et. al. at ICLR 2020☆163Updated 2 years ago
- Package to compute Mauve, a similarity score between neural text and human text. Install with `pip install mauve-text`.☆296Updated last year
- Optimus: the first large-scale pre-trained VAE language model☆391Updated last year
- ☆211Updated last year
- A benchmark for understanding and evaluating rationales: http://www.eraserbenchmark.com/☆97Updated 2 years ago
- ☆315Updated 3 years ago
- An original implementation of "MetaICL Learning to Learn In Context" by Sewon Min, Mike Lewis, Luke Zettlemoyer and Hannaneh Hajishirzi☆270Updated 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
- DeeBERT: Dynamic Early Exiting for Accelerating BERT Inference☆158Updated 3 years ago
- Implementation of the paper Tree Transformer☆214Updated 5 years ago
- [ACL 2022] Structured Pruning Learns Compact and Accurate Models https://arxiv.org/abs/2204.00408☆197Updated 2 years ago
- Neural Text Generation with Unlikelihood Training☆309Updated 4 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
- This repo supports various cross-lingual transfer learning & multilingual NLP models.☆92Updated last year
- PyTorch + HuggingFace code for RetoMaton: "Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval" (ICML 2022), including an…☆278Updated 2 years ago
- ☆19Updated 4 years ago