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".
☆325Aug 2, 2021Updated 5 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. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Code for the paper "Are Sixteen Heads Really Better than One?"☆175Apr 1, 2020Updated 6 years ago
- This is a repository with the code for the EMNLP 2020 paper "Information-Theoretic Probing with Minimum Description Length"☆76Aug 20, 2024Updated 2 years ago
- ☆475Apr 4, 2021Updated 5 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 …☆101May 12, 2020Updated 6 years ago
- Code and Data release for "Improving Multilingual Translation by Representation and Gradient Regularization" (Yang et al. EMNLP 2021), an…☆13Aug 12, 2024Updated 2 years ago
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- ☆21May 5, 2020Updated 6 years ago
- Code for Evaluating Explanations for Reading Comprehension with Realistic Counterfactuals.☆17Apr 25, 2021Updated 5 years ago
- ☆17Apr 28, 2022Updated 4 years ago
- ☆20Jan 16, 2024Updated 2 years ago
- Effective Attention Sheds Light On Interpretability - Findings of ACL2021☆11May 16, 2021Updated 5 years ago
- ☆87Apr 16, 2024Updated 2 years ago
- Contrastive Attention Mechanism for Abstractive Text Summarization☆40Jan 14, 2020Updated 6 years ago
- ☆18Oct 6, 2022Updated 4 years ago
- Measuring the Mixing of Contextual Information in the Transformer☆35May 27, 2023Updated 3 years ago
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Official Code for Towards Transparent and Explainable Attention Models paper (ACL 2020)☆36Jun 22, 2022Updated 4 years ago
- This repository contains the code for "How many data points is a prompt worth?"☆48Apr 7, 2021Updated 5 years ago
- ☆43Sep 16, 2020Updated 6 years ago
- ☆13Feb 7, 2023Updated 3 years ago
- Soft Contextual Data Augmentation☆39Jul 25, 2024Updated 2 years ago
- Implementation of unregularized, l1 regularized and l2 regularized linear regression using numpy and without sklearn☆11Oct 4, 2019Updated 7 years ago
- [NeurIPS 2020] "The Lottery Ticket Hypothesis for Pre-trained BERT Networks", Tianlong Chen, Jonathan Frankle, Shiyu Chang, Sijia Liu, Ya…☆141Dec 30, 2021Updated 4 years ago
- On Explaining Your Explanations of BERT: An Empirical Study with Sequence Classification☆29Nov 30, 2022Updated 3 years ago
- Transformer training code for sequential tasks☆610Sep 14, 2021Updated 5 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Understanding the Difficulty of Training Transformers☆331May 31, 2022Updated 4 years ago
- ☆27Jun 12, 2023Updated 3 years ago
- BertViz: Visualize Attention in Transformer Models☆8,221Jan 8, 2026Updated 10 months ago
- A machine translation reading list maintained by Tsinghua Natural Language Processing Group☆2,432Aug 9, 2024Updated 2 years ago
- ☆16Jan 14, 2022Updated 4 years ago
- Code for the paper "Latent Relation Language Models" at AAAI-20.☆41Sep 22, 2025Updated last year
- A Python library that encapsulates various methods for neuron interpretation and analysis in Deep NLP models.☆109Oct 4, 2023Updated 3 years ago
- ☆38Apr 23, 2019Updated 7 years ago
- This repository contains datasets (including testing set) for EMNLP-IJCNLP 2019 paper "BiPaR: A Bilingual Parallel Dataset for Multilingu…☆23Jul 13, 2021Updated 5 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Layer-wise Pruning of Transformer Heads for Efficient Language Modeling☆22Feb 22, 2022Updated 4 years ago
- Supplementary material for "When and Why Are Pre-trained Word Embeddings Useful for Neural Machine Translation?" at NAACL 2018☆124Sep 22, 2025Updated last year
- Measuring if attention is explanation with ROAR☆22Mar 3, 2023Updated 3 years ago
- Source code for "Importance-based Neuron Allocation for Multilingual Neural Machine Translation"☆12Sep 15, 2021Updated 5 years ago
- Variable-order CRFs with structure learning☆17Oct 16, 2026Updated last month
- A tool for holistic analysis of language generations systems☆472Sep 22, 2025Updated last year
- Data and code used in our NAACL'19 paper "Selective Attention for Context-aware Neural Machine Translation"☆30Apr 12, 2020Updated 6 years ago
Are these results useful?