Skip to content

Releases: explosion/spacy-transformers

v1.0.2

Choose a tag to compare

@adrianeboyd adrianeboyd released this 21 Apr 07:12
7681ec2

✨ New features and improvements

  • Add support for transformers v4.3-v4.5
  • Add extra for CUDA 11.2

🔴 Bug fixes

  • Fix #264, #265: Improve handling of empty docs
  • Fix #269: Add trf_data extension in Transformer.__call__ and Transformer.pipe to support distributed processing

👥 Contributors

Thanks to @bryant1410 for the pull requests and contributions!

v1.0.1

Choose a tag to compare

@ines ines released this 02 Feb 10:57

🔴 Bug fixes

  • Fix listener initialization when model width is unset.

v1.0.0: Rewrite for spaCy v3, Transformer component and TransformerListener, plus more functions

Choose a tag to compare

@ines ines released this 01 Feb 10:10

This release requires spaCy v3.

✨ 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

v1.0.0rc2

v1.0.0rc2 Pre-release
Pre-release

Choose a tag to compare

@adrianeboyd adrianeboyd released this 19 Jan 07:46

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

✨ New features and improvements

  • Add support for Python 3.9
  • Add support for transformers v4

🔴 Bug fixes

  • Fix #230: Add upstream argument to TransformerListener.v1
  • Fix #238: Skip special tokens during alignment
  • Fix #246: Raise error if model max length exceeded

v1.0.0rc0

v1.0.0rc0 Pre-release
Pre-release

Choose a tag to compare

@ines ines released this 15 Oct 14:39

🌙 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

Pre-release

Choose a tag to compare

@adrianeboyd adrianeboyd released this 29 Jun 12:04
  • Fix issue #204: Store model_type in tok2vec config to fix speed degradation

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

Choose a tag to compare

@adrianeboyd adrianeboyd released this 18 Jun 14:29

⚠️ 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

Pre-release

Choose a tag to compare

@adrianeboyd adrianeboyd released this 18 Jun 14:29

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

Pre-release

Choose a tag to compare

@honnibal honnibal released this 24 May 13:37

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

Pre-release

Choose a tag to compare

@honnibal honnibal released this 24 May 13:37
e52fcdf

Fix various alignment and preprocessing bugs.