airaria/TextBrewer
A PyTorch-based knowledge distillation toolkit for natural language processing observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2381
- days_rel: n/a
- days_push: 1213
- n_releases_24m: 0
Adoption not part of the score
1708 stars · 243 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
TextBrewer is a PyTorch-based knowledge distillation toolkit for NLP models. It provides an easy-to-use framework implementing state-of-the-art distillation methods to compress models, improving inference speed and reducing memory usage with minimal performance loss.
Use cases
- distill a large BERT model into a smaller one
- compress transformer models for faster inference
- reduce memory usage of NLP models for deployment
- experiment with knowledge distillation techniques
- shrink pretrained language models for edge devices
- speed up NLP model inference
When to choose
- you need to compress large transformer models like BERT into smaller student models
- you want a ready-made distillation framework with PyTorch and HuggingFace Transformers
- you need faster inference and lower memory for NLP deployment
When to avoid
- you need distillation for computer vision or non-NLP domains
- you want actively developed tooling with frequent updates
- you need model pruning rather than distillation (consider TextPruner instead)
Facets
library · maturity maintenance
machine-learning llm-training machine-learning deep-learning python knowledge-distillation model-compression pytorch bert transformers natural-language-processing
1 source
- readme: https://github.com/airaria/TextBrewer · fetched 2026-08-28 · e96c643fa996
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| airaria/TextBrewer | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="airaria/TextBrewer")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem