TextBrewer: An Open-Source Knowledge Distillation Toolkit for Natural Language Processing
Not on the map. Why?
Abstract (arXiv)
In this paper, we introduce TextBrewer, an open-source knowledge distillation toolkit designed for natural language processing. It works with different neural network models and supports various kinds of supervised learning tasks, such as text classification, reading comprehension, sequence labeling. TextBrewer provides a simple and uniform workflow that enables quick setting up of distillation experiments with highly flexible configurations. It offers a set of predefined distillation methods and can be extended with custom code. As a case study, we use TextBrewer to distill BERT on several typical NLP tasks. With simple configurations, we achieve results that are comparable with or even higher than the public distilled BERT models with similar numbers of parameters. Our toolkit is available through: http://textbrewer.hfl-rc.com
Key facts. Cited by 26 papers in the map (data through 14 Oct 2026). First posted on arXiv 28 Feb 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 12; 2023: 3; 2024: 4; 2025: 3.
26 papers.
Sort:
By area:
- 2021AMMUS : A Survey of Transformer-based Pretrained Models in Natural Language Processingcited by 131
- 2022In-context Learning Distillation: Transferring Few-shot Learning Ability of Pre-trained Language Modelscited by 37
- 2024VkD: Improving Knowledge Distillation using Orthogonal Projectionscited by 26
- 2022A Survey of Pretraining on Graphs: Taxonomy, Methods, and Applicationscited by 23
- 2022AmbiPun: Generating Humorous Puns with Ambiguous Contextcited by 21
- 2022ExPUNations: Augmenting Puns with Keywords and Explanationscited by 21
- 2021Information Theoretic Representation Distillationcited by 19
- 2022Protein Language Models and Structure Prediction: Connection and Progressioncited by 17
- 2023GKD: A General Knowledge Distillation Framework for Large-scale Pre-trained Language Modelcited by 15
- 2022Knowledge Distillation of Transformer-based Language Models Revisitedcited by 11
- 2022TextPruner: A Model Pruning Toolkit for Pre-Trained Language Modelscited by 10
- 2024Applications of Knowledge Distillation in Remote Sensing: A Surveycited by 8
14 more
- 2022Progressive Learning without Forgettingcited by 7
- 2024All You Need in Knowledge Distillation Is a Tailored Coordinate Systemcited by 6
- 2025Feature Alignment and Representation Transfer in Knowledge Distillation for Large Language Modelscited by 6
- 2022Context-Situated Pun Generationcited by 5
- 2022Bridging Fairness and Environmental Sustainability in Natural Language Processingcited by 5
- 2022Cross-Lingual Text Classification with Multilingual Distillation and Zero-Shot-Aware Trainingcited by 3
- 2023MiniRBT: A Two-stage Distilled Small Chinese Pre-trained Modelcited by 3
- 2024Auto-GDA: Automatic Domain Adaptation for Efficient Grounding Verification in Retrieval-Augmented Generationcited by 2
- 2022Chemical transformer compression for accelerating both training and inference of molecular modelingcited by 1
- 2021Learning ULMFiT and Self-Distillation with Calibration for Medical Dialogue Systemcited by 0
- 2021Can depth-adaptive BERT perform better on binary classification taskscited by 0
- 2023A Small and Fast BERT for Chinese Medical Punctuation Restorationcited by 0
- 2025Distilling Balanced Knowledge from a Biased Teachercited by 0
- 2025Enriching Knowledge Distillation with Intra-Class Contrastive Learningcited by 0
- 2025Enriching Knowledge Distillation with Intra-Class Contrastive Learning26 Sep 2025
- 2025Distilling Balanced Knowledge from a Biased Teacher23 Jun 2025
- 2025Feature Alignment and Representation Transfer in Knowledge Distillation for Large Language Models18 Apr 2025
- 2024All You Need in Knowledge Distillation Is a Tailored Coordinate System12 Dec 2024
- 2024Auto-GDA: Automatic Domain Adaptation for Efficient Grounding Verification in Retrieval-Augmented Generation4 Oct 2024
- 2024Applications of Knowledge Distillation in Remote Sensing: A Survey18 Sep 2024
- 2024VkD: Improving Knowledge Distillation using Orthogonal Projections10 Mar 2024
- 2023A Small and Fast BERT for Chinese Medical Punctuation Restoration24 Aug 2023
- 2023GKD: A General Knowledge Distillation Framework for Large-scale Pre-trained Language Model11 Jun 2023
- 2023MiniRBT: A Two-stage Distilled Small Chinese Pre-trained Model3 Apr 2023
- 2022In-context Learning Distillation: Transferring Few-shot Learning Ability of Pre-trained Language Models20 Dec 2022
- 2022Protein Language Models and Structure Prediction: Connection and Progression30 Nov 2022
14 more
- 2022Progressive Learning without Forgetting28 Nov 2022
- 2022Bridging Fairness and Environmental Sustainability in Natural Language Processing8 Nov 2022
- 2022Context-Situated Pun Generation24 Oct 2022
- 2022ExPUNations: Augmenting Puns with Keywords and Explanations24 Oct 2022
- 2022Knowledge Distillation of Transformer-based Language Models Revisited29 Jun 2022
- 2022Chemical transformer compression for accelerating both training and inference of molecular modeling16 May 2022
- 2022AmbiPun: Generating Humorous Puns with Ambiguous Context4 May 2022
- 2022TextPruner: A Model Pruning Toolkit for Pre-Trained Language Models30 Mar 2022
- 2022Cross-Lingual Text Classification with Multilingual Distillation and Zero-Shot-Aware Training28 Feb 2022
- 2022A Survey of Pretraining on Graphs: Taxonomy, Methods, and Applications16 Feb 2022
- 2021Information Theoretic Representation Distillation1 Dec 2021
- 2021Can depth-adaptive BERT perform better on binary classification tasks22 Nov 2021
- 2021AMMUS : A Survey of Transformer-based Pretrained Models in Natural Language Processing12 Aug 2021
- 2021Learning ULMFiT and Self-Distillation with Calibration for Medical Dialogue System20 Jul 2021
- 2024VkD: Improving Knowledge Distillation using Orthogonal Projectionscited by 26
- 2021Information Theoretic Representation Distillationcited by 19
- 2023GKD: A General Knowledge Distillation Framework for Large-scale Pre-trained Language Modelcited by 15
- 2022Knowledge Distillation of Transformer-based Language Models Revisitedcited by 11
- 2024Applications of Knowledge Distillation in Remote Sensing: A Surveycited by 8
- 2024All You Need in Knowledge Distillation Is a Tailored Coordinate Systemcited by 6
- 2025Feature Alignment and Representation Transfer in Knowledge Distillation for Large Language Modelscited by 6
- 2021Learning ULMFiT and Self-Distillation with Calibration for Medical Dialogue Systemcited by 0
- 2025Distilling Balanced Knowledge from a Biased Teachercited by 0
- 2025Enriching Knowledge Distillation with Intra-Class Contrastive Learningcited by 0
- 2025Enriching Knowledge Distillation with Intra-Class Contrastive Learning26 Sep 2025
- 2025Distilling Balanced Knowledge from a Biased Teacher23 Jun 2025
- 2025Feature Alignment and Representation Transfer in Knowledge Distillation for Large Language Models18 Apr 2025
- 2024All You Need in Knowledge Distillation Is a Tailored Coordinate System12 Dec 2024
- 2024Applications of Knowledge Distillation in Remote Sensing: A Survey18 Sep 2024
- 2024VkD: Improving Knowledge Distillation using Orthogonal Projections10 Mar 2024
- 2023GKD: A General Knowledge Distillation Framework for Large-scale Pre-trained Language Model11 Jun 2023
- 2022Knowledge Distillation of Transformer-based Language Models Revisited29 Jun 2022
- 2021Information Theoretic Representation Distillation1 Dec 2021
- 2021Learning ULMFiT and Self-Distillation with Calibration for Medical Dialogue System20 Jul 2021
- 2021AMMUS : A Survey of Transformer-based Pretrained Models in Natural Language Processingcited by 131
- 2022In-context Learning Distillation: Transferring Few-shot Learning Ability of Pre-trained Language Modelscited by 37
- 2022A Survey of Pretraining on Graphs: Taxonomy, Methods, and Applicationscited by 23
- 2022AmbiPun: Generating Humorous Puns with Ambiguous Contextcited by 21
- 2022ExPUNations: Augmenting Puns with Keywords and Explanationscited by 21
- 2022Protein Language Models and Structure Prediction: Connection and Progressioncited by 17
- 2022TextPruner: A Model Pruning Toolkit for Pre-Trained Language Modelscited by 10
- 2022Progressive Learning without Forgettingcited by 7
- 2022Context-Situated Pun Generationcited by 5
- 2022Bridging Fairness and Environmental Sustainability in Natural Language Processingcited by 5
- 2022Cross-Lingual Text Classification with Multilingual Distillation and Zero-Shot-Aware Trainingcited by 3
- 2023MiniRBT: A Two-stage Distilled Small Chinese Pre-trained Modelcited by 3
12 most cited of 15 All 15 (JSON)
- 2023A Small and Fast BERT for Chinese Medical Punctuation Restoration24 Aug 2023
- 2023MiniRBT: A Two-stage Distilled Small Chinese Pre-trained Model3 Apr 2023
- 2022In-context Learning Distillation: Transferring Few-shot Learning Ability of Pre-trained Language Models20 Dec 2022
- 2022Protein Language Models and Structure Prediction: Connection and Progression30 Nov 2022
- 2022Progressive Learning without Forgetting28 Nov 2022
- 2022Bridging Fairness and Environmental Sustainability in Natural Language Processing8 Nov 2022
- 2022Context-Situated Pun Generation24 Oct 2022
- 2022ExPUNations: Augmenting Puns with Keywords and Explanations24 Oct 2022
- 2022Chemical transformer compression for accelerating both training and inference of molecular modeling16 May 2022
- 2022AmbiPun: Generating Humorous Puns with Ambiguous Context4 May 2022
- 2022TextPruner: A Model Pruning Toolkit for Pre-Trained Language Models30 Mar 2022
- 2022Cross-Lingual Text Classification with Multilingual Distillation and Zero-Shot-Aware Training28 Feb 2022
12 newest of 15 All 15 (JSON)