lena-voita / the-story-of-headsView external linksLinks
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".
☆319Aug 2, 2021Updated 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?"☆175Apr 1, 2020Updated 5 years ago
- ☆471Apr 4, 2021Updated 4 years ago
- Code and Data release for "Improving Multilingual Translation by Representation and Gradient Regularization" (Yang et al. EMNLP 2021), an…☆13Aug 12, 2024Updated last year
- This is a repository with the code for the EMNLP 2020 paper "Information-Theoretic Probing with Minimum Description Length"☆71Aug 20, 2024Updated last year
- ☆21May 5, 2020Updated 5 years ago
- Code for Evaluating Explanations for Reading Comprehension with Realistic Counterfactuals.☆18Apr 25, 2021Updated 4 years ago
- ☆18Oct 6, 2022Updated 3 years ago
- This is a repository with the data and code for the ACL 2019 paper "When a Good Translation is Wrong in Context: ..." and the EMNLP 2019 …☆98May 12, 2020Updated 5 years ago
- Understanding the Difficulty of Training Transformers☆332May 31, 2022Updated 3 years ago
- ☆13Feb 7, 2023Updated 3 years ago
- Official Code for Towards Transparent and Explainable Attention Models paper (ACL 2020)☆35Jun 22, 2022Updated 3 years ago
- Soft Contextual Data Augmentation☆39Jul 25, 2024Updated last year
- Contrastive Attention Mechanism for Abstractive Text Summarization☆40Jan 14, 2020Updated 6 years ago
- Code for the paper "Latent Relation Language Models" at AAAI-20.☆41Sep 22, 2025Updated 4 months ago
- Code for the paper "Inoculation by Fine-Tuning: A Method for Analyzing Challenge Datasets", to be presented at NAACL 2019.☆20Apr 4, 2019Updated 6 years ago
- Variable-order CRFs with structure learning☆17Aug 1, 2024Updated last year
- Survey on machine learning.☆14Nov 28, 2020Updated 5 years ago
- ☆20Jan 16, 2024Updated 2 years ago
- ☆22Oct 26, 2020Updated 5 years ago
- ☆87Apr 16, 2024Updated last year
- ☆16Jan 14, 2022Updated 4 years ago
- Transformer training code for sequential tasks☆610Sep 14, 2021Updated 4 years ago
- This repository contains the code for "How many data points is a prompt worth?"☆48Apr 7, 2021Updated 4 years ago
- Multi-lingual & multi-domain (specialisation for biomedical data) translation model☆40Nov 17, 2020Updated 5 years ago
- Neural Text Generation with Unlikelihood Training☆310Aug 31, 2021Updated 4 years ago
- ☆17Apr 28, 2022Updated 3 years ago
- A tool for holistic analysis of language generations systems☆471Sep 22, 2025Updated 4 months ago
- Implementation of unregularized, l1 regularized and l2 regularized linear regression using numpy and without sklearn☆12Oct 4, 2019Updated 6 years ago
- A Unified Library for Parameter-Efficient and Modular Transfer Learning☆2,802Oct 12, 2025Updated 4 months ago
- Universal Adversarial Triggers for Attacking and Analyzing NLP (EMNLP 2019)☆301Jul 25, 2024Updated last year
- Fast, general, and tested differentiable structured prediction in PyTorch☆1,123Apr 20, 2022Updated 3 years ago
- jiant is an nlp toolkit☆1,674Jul 6, 2023Updated 2 years ago
- ☆25Oct 22, 2022Updated 3 years ago
- A repository for experiments in quality-aware decoding☆18Jun 7, 2022Updated 3 years ago
- ☆44Sep 16, 2020Updated 5 years ago
- DeeBERT: Dynamic Early Exiting for Accelerating BERT Inference☆162Mar 25, 2022Updated 3 years ago
- BertViz: Visualize Attention in Transformer Models☆7,907Jan 8, 2026Updated last month
- Official Implementation of ACL2023: Don't Parse, Choose Spans! Continuous and Discontinuous Constituency Parsing via Autoregressive Span …☆14Aug 25, 2023Updated 2 years ago
- Effective Attention Sheds Light On Interpretability - Findings of ACL2021☆11May 16, 2021Updated 4 years ago