v1.3.0
版本发布时间: 2023-08-01 20:10:59
explosion/spacy-transformers最新发布版本:v1.3.5(2024-04-25 20:54:53)
NOTE: This release has been yanked on PyPI because of the incompatibilities between saved pipelines for transformers
v4.30 and v4.31. Please use spacy-transformers
v1.2.x instead.
-
Update build constraints to use numpy v1.25+ for python 3.9+ (#394).
-
Extend support for transformers up to v4.31 (#395).
:warning: After upgrading to
transformers
v4.31+ you may not be able to load certain older saved pipelines. All older saved models can still be loaded withtransformers<4.31
or you can retrain your models so they are compatible with newer versions oftransformers
(#395).If you have created packages with
spacy package
usingspacy-transformers
v1.2 or earlier, those package requirements should be restricted to compatible versions oftransformers
and should not require updates.