#239239th of 433 in ML frameworks and libraries
spacy-transformers
spaCy components that run Hugging Face transformer models inside pipelines
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts spacy-transformers on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.spacy-transformers is on your watch list. Its new releases and problems show there.
- Stars
- 1.4k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
1,400 on 6 May 20261,412 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
spacy-transformers adds a `transformer` pipeline component and model architectures to spaCy v3, wrapping Hugging Face `transformers` models such as BERT, RoBERTa and XLNet. Transformer output is aligned to spaCy's tokenization and can feed components like `ner` or `textcat`, with several components backpropagating into one shared model. It does not expose task-specific heads; for those predictions the README points to spacy-huggingface-pipelines.
Who it is for: Python NLP engineers training spaCy pipelines on transformer features
Strengths
- Aligns transformer output to spaCy tokens automatically
- Multi-task learning: several components backprop into one shared transformer
- Configured through spaCy v3 config system, with serialization and packaging
- Configurable handling of long documents and data stored on Doc
Weaknesses
- No task-specific heads for token or text classification in the transformer component
- Requires spaCy v3 and PyTorch; spaCy v2 versions work differently
- Installs PyTorch and the full Hugging Face transformers dependency stack
- Issues are tracked in the main spaCy repo, not here
What it needs
- GPU optional
- Needs spaCy v3.0+, PyTorch v1.5+, Hugging Face transformers, Python 3.6+
- Models: BERT, RoBERTa, XLNet, GPT-2, Hugging Face transformers models
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #237 | mlj.jlJulia toolbox with a common interface for tuning and evaluating ML models | 52 out of 100 |
| #238 | minisomNumPy-based Python library for training Self Organizing Maps | 52 out of 100 |
| #240 | visionhopeHierarchical vision backbone using self-referential nested learning, in PyTorch | 52 out of 100 |
| #241 | scikit-survivalSurvival analysis models for censored time-to-event data, built on scikit-learn | 52 out of 100 |
| #242 | sklearn-porterTranspiles trained scikit-learn models to C, Java, JavaScript, Go and more | 52 out of 100 |