Skip to content

Releases: explosion/spacy-transformers

v1.0.0rc0

15 Oct 14:39
Compare
Choose a tag to compare
v1.0.0rc0 Pre-release
Pre-release

🌙 This release is a pre-release and requires spaCy v3 (nightly).

✨ New features and improvements

  • Rewrite library from scratch for spaCy v3.0.
  • Transformer component for easy pipeline integration.
  • TransformerListener to share transformer weights between components.
  • Built-in registered functions that are available in spaCy if spacy-transformers is installed in the same environment.

📖 Documentation

v0.6.2: Bug fix for Tok2Vec speed

29 Jun 12:04
Compare
Choose a tag to compare
Pre-release
  • Fix issue #204: Store model_type in tok2vec config to fix speed degradation

v0.6.1: Updates for spaCy v2.3 and transformers AutoConfig

18 Jun 14:29
Compare
Choose a tag to compare

⚠️ This release requires downloading new models.

  • Update spacy-transformers for spaCy v2.3
  • Update and extend supported transformers versions to >=2.4.0,<2.9.0
  • Use transformers.AutoConfig to support loading pretrained models from https://huggingface.co/models
  • #123: Fix alignment algorithm using pytokenizations

Thanks to @tamuhey for the pull request!

v0.5.3: Bug fixes for truncation

18 Jun 14:29
Compare
Choose a tag to compare
Pre-release

Bug fixes related to alignment and truncation:

  • #191: Reset max_len in case of alignment error
  • #196: Fix wordpiecer truncation to be per sentence

Enhancement:

  • #162: Let nlp.update handle Doc type inputs

Thanks to @ZhuoruLin for the pull requests and helping us debug issues related to batching and truncation!

v0.6.0 Update to transformers v2.5.0

24 May 13:37
Compare
Choose a tag to compare
Pre-release

Update to newer version of transformers.

This library is being rewritten for spaCy v3, in order to improve its flexibility and performance and to make it easier to stay up to date with new transformer models. See here for details: #173

v0.5.2: Bug fixes to alignment

24 May 13:37
e52fcdf
Compare
Choose a tag to compare
Pre-release

Fix various alignment and preprocessing bugs.

v0.5.1

28 Oct 23:14
Compare
Choose a tag to compare
v0.5.1 Pre-release
Pre-release
  • Downgrade version pin of importlib_metadata to prevent conflict.
  • Fix issue #92: Fix index error when calculating doc.tensor.

Thanks to @ssavvi for the pull request!

v0.5.0

08 Oct 13:38
f39f9aa
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

⚠️ This release requires downloading new models. Also note the new model names that specify trf (transformers) instead of pytt (PyTorch transformers).

  • Rename package from spacy-pytorch-transformers to spacy-transformers.
  • Update to spacy>=2.2.0.
  • Upgrade to latest transformers.
  • Improve code and repo organization.

v0.4.0

04 Sep 15:13
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

v0.3.0

27 Aug 10:09
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release
  • Add out-of-the-box support for RoBERTa.
  • Add pre-packaged RoBERTa model.
  • Update to pytorch-transformers v1.1.
  • Fix serialization when model was saved from GPU.