Skip to content

Releases: explosion/spacy-transformers

v1.2.1

26 Jan 16:50
9e40fc9
Compare
Choose a tag to compare
  • Extend support for transformers up to v4.26.x.

v1.2.0

13 Jan 07:46
8b587a4
Compare
Choose a tag to compare
  • For fast tokenizers, use the offset mapping provided by the tokenizer (#338).

    Using the offset mapping instead of the heuristic alignment from spacy-alignments resolves unexpected and missing alignments such as those discussed in explosion/spaCy#6563, explosion/spaCy#10794 and explosion/spaCy#12023.

    ⚠️ Slow and fast tokenizers will no longer give identical results due to potential differences in the alignments between transformer tokens and spaCy tokens. We recommend retraining all models with fast tokenizers for use with spacy-transformers v1.2.

  • Serialize the tokenizer use_fast setting (#339).

v1.1.9

19 Dec 11:20
417f2b2
Compare
Choose a tag to compare
  • Extend support for transformers up to v4.25.x.
  • Add support for Python 3.11 (currently limited to linux due to supported platforms for PyTorch v1.13.x).

v1.1.8

12 Aug 13:23
3928429
Compare
Choose a tag to compare
  • Extend support for transformers up to v4.21.x.
  • Support MPS device in HFShim (#328).
  • Track seen docs during alignment to improve speed (#337).
  • Don't require examples in Transformer.initialize (#341).

v1.1.7

25 Aug 07:03
cab0607
Compare
Choose a tag to compare
  • Extend support for transformers up to v4.20.x.
  • Convert all transformer outputs to XP arrays at once (#330).
  • Support alternate model loaders in HFShim and HFWrapper (#332).

v1.1.6

02 Jun 14:01
7e5da6d
Compare
Choose a tag to compare
  • Extend support for transformers up to v4.19.x.
  • Fix issue #324: Skip backprop for transformer if not available, for example if the transformer is frozen.

v1.1.5

15 Mar 08:06
cfd9955
Compare
Choose a tag to compare

✨ New features and improvements

  • Extend support for transformers up to v4.17.x.

👥 Contributors

@adrianeboyd

v1.1.4

14 Jan 07:37
5a36943
Compare
Choose a tag to compare

✨ New features and improvements

  • Extend support for transformers up to v4.15.x.

👥 Contributors

@adrianeboyd, @danieldk

v1.1.3

07 Dec 09:10
979f2cd
Compare
Choose a tag to compare

✨ New features and improvements

  • Extend support for transformers up to v4.12.x.

👥 Contributors

@adrianeboyd

v1.1.2

28 Oct 07:35
3f921f2
Compare
Choose a tag to compare

🔴 Bug fixes

  • Fix #315: Enable loading of v1.0.x pipelines in windows.

👥 Contributors

@adrianeboyd, @ryndaniels, @svlandeg