NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #5221 most downloaded on PyPI
Curated transformer models for spaCy pipelines
Last release 1 years ago
28 May 2025
Release timing varies
gaps range from 8 days to 8 months
Nearly every release is documented
notes for 10 of 11 stable releases
1 version withdrawn
withdrawn after publishing
3 years old
14 releases · first in 2023
One column per quarter.
Specifying spaCy as a dependency causes the models to depend on spaCy as well, which causes the model artifacts to be pinned to a particular range of
Specifying spaCy as a dependency causes the models to depend on spaCy as well, which causes the model artifacts to be pinned to a particular range of spaCy versions. spaCy's download already specifies which models it's compatible with, so we don't want this --- it causes spurious model repackaging and redownloading for irrelevant changes.
v2.1.2: Avoid specifying spacy as an install dependency
Compare
Thinc 9.0.0 is built against numpy v1, while Thinc 9.1.0 is built against numpy v2. Relax the thinc pin to allow compatibility with more recent numpy.
Thinc 9.0.0 is built against numpy v1, while Thinc 9.1.0 is built against numpy v2. Relax the thinc pin to allow compatibility with more recent numpy.
Nothing published for this version
Rebase on Curated Transformers 2.0 (#19).
transformer_discriminative.v1 schedule (#27). This schedule uses a two different schedules:
transformer_schedule for transformer parameters;default_schedule for other parameters.v2.0.0: use Curated Transformers 2.0 and discriminative learning rate schedule
Compare
Update curated-transformers and curated-tokenizers deps
Update curated-transformers and curated-tokenizers deps
Bump version to 2.0.0.dev1
Set Python bound to >= 3.9, in line with spaCy 4.
Also:
Previous versions used explicit zeroed rows corresponding to whitespace tokens in spaCy. This required duplication and a number of assignments into th
Previous versions used explicit zeroed rows corresponding to whitespace tokens in spaCy. This required duplication and a number of assignments into the transformer output, which was inefficient.
Instead, whitespace tokens are now regarded as not aligning to any wordpiece tokens. If you do doc._.trf_data[i] where i is the index of a whitespace token, you'll receive an array of shape (0, n) where n is the output dimension. This is handled in Thinc's pooling operations, so the change doesn't require any update to models consuming the trf_data.
v0.3.1: Improve efficiency by avoiding explicit whitespace rows Latest
Latest
Compare
Drop the direct dependency on spaCy, to avoid requirement circles.
Drop the direct dependency on spaCy, to avoid requirement circles.
Specifically, we're changing models to no longer specify a spaCy version as a requirement, to allow models to be forward compatible. However, the transformer models depend on this library. If it then pulls in spaCy, we end up with spaCy in the requirements again.
v0.3.0: Avoid depending on spaCy itself
Compare
Make `DocTransformerOutput` serializable with msgpack (#29).
DocTransformerOutput serializable with msgpack (#29).v0.2.2: Make DocTransformerOutput serializable with msgpack
Compare
Add `init fill-curated-transformer` CLI command (#16, #22).
init fill-curated-transformer CLI command (#16, #22).hidden_width as the embedding width in non-ALBERT models (#17).vocab_size to default transformer pipe config (#20).v0.2.1: Add 'init fill-curated-transformer' CLI
Compare
Add support for replacing listeners (#7).
CuratedTransformer (#12).v0.2.0: Support for replacing listeners
Compare
Switch from cutlery to curated-tokenizers for word/sentencepiecing (#4).
cutlery to curated-tokenizers for word/sentencepiecing (#4).This new package contains the entry points and spaCy/Thinc wrapping for curated-transformers that originally resided in the curated-transformers packa
This new package contains the entry points and spaCy/Thinc wrapping for curated-transformers that originally resided in the curated-transformers package.
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →