#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.

Stars
1.4k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 29 weeks+12
6 May 2026: 1,400 stars13 May 2026: 1,401 stars20 May 2026: 1,401 stars27 May 2026: 1,401 stars3 Jun 2026: 1,402 stars10 Jun 2026: 1,402 stars17 Jun 2026: 1,402 stars24 Jun 2026: 1,402 stars1 Jul 2026: 1,403 stars8 Jul 2026: 1,404 stars15 Jul 2026: 1,404 stars22 Jul 2026: 1,404 stars29 Jul 2026: 1,404 stars5 Aug 2026: 1,405 stars12 Aug 2026: 1,405 stars19 Aug 2026: 1,405 stars26 Aug 2026: 1,406 stars2 Sept 2026: 1,407 stars9 Sept 2026: 1,407 stars16 Sept 2026: 1,407 stars23 Sept 2026: 1,407 stars30 Sept 2026: 1,408 stars7 Oct 2026: 1,408 stars14 Oct 2026: 1,411 stars21 Oct 2026: 1,411 stars28 Oct 2026: 1,411 stars4 Nov 2026: 1,411 stars11 Nov 2026: 1,411 stars18 Nov 2026: 1,412 stars25 Nov 2026: 1,412 stars

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
Also in ML frameworks and libraries
RankProjectScore
#237mlj.jlJulia toolbox with a common interface for tuning and evaluating ML models1.9k starscustom license52 out of 100
#238minisomNumPy-based Python library for training Self Organizing Maps Live demo ↗ (opens in a new tab)1.6k starsMIT52 out of 100
#240visionhopeHierarchical vision backbone using self-referential nested learning, in PyTorch1.4k stars+114 (+9.0%) in 30 daysMIT52 out of 100
#241scikit-survivalSurvival analysis models for censored time-to-event data, built on scikit-learn1.3k starsGPL-3.052 out of 100
#242sklearn-porterTranspiles trained scikit-learn models to C, Java, JavaScript, Go and more1.3k starsBSD-3-Clause52 out of 100