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".
☆317Updated 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?"☆174Updated 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
- Understanding the Difficulty of Training Transformers☆332Updated 3 years ago
- ☆328Updated 4 years ago
- ☆87Updated last year
- Tracking the progress in non-autoregressive generation (translation, transcription, etc.)☆304Updated 2 years ago
- ☆501Updated 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
- [NeurIPS 2020] "The Lottery Ticket Hypothesis for Pre-trained BERT Networks", Tianlong Chen, Jonathan Frankle, Shiyu Chang, Sijia Liu, Ya…☆141Updated 3 years ago
- Official Repository for "The Curious Case of Neural Text Degeneration"☆167Updated 2 years ago
- [ACL 2022] Structured Pruning Learns Compact and Accurate Models https://arxiv.org/abs/2204.00408☆198Updated 2 years ago
- Pretrain and finetune ELECTRA with fastai and huggingface. (Results of the paper replicated !)☆330Updated last year
- Optimus: the first large-scale pre-trained VAE language model☆391Updated 2 years ago
- ☆290Updated 3 years ago
- An original implementation of "MetaICL Learning to Learn In Context" by Sewon Min, Mike Lewis, Luke Zettlemoyer and Hannaneh Hajishirzi☆272Updated 2 years ago
- DeeBERT: Dynamic Early Exiting for Accelerating BERT Inference☆161Updated 3 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆254Updated 4 years ago
- PyTorch + HuggingFace code for RetoMaton: "Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval" (ICML 2022), including an…☆284Updated 3 years ago
- ☆321Updated 3 years ago
- Neural Text Generation with Unlikelihood Training☆310Updated 4 years ago
- A benchmark for understanding and evaluating rationales: http://www.eraserbenchmark.com/☆100Updated 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
- Transformers without Tears: Improving the Normalization of Self-Attention☆134Updated last year
- GeDi: Generative Discriminator Guided Sequence Generation☆211Updated 6 months ago
- PyTorch code for EMNLP 2020 Paper "Vokenization: Improving Language Understanding with Visual Supervision"☆192Updated 4 years ago
- Adversarial Natural Language Inference Benchmark☆396Updated 3 years ago
- ☆19Updated 5 years ago
- Package to compute Mauve, a similarity score between neural text and human text. Install with `pip install mauve-text`.☆304Updated last year
- Zero -- A neural machine translation system☆153Updated 2 years ago
- Multi30k Dataset☆188Updated 4 years ago