Skip to content

Releases: explosion/sense2vec

v2.0.2

17 Apr 13:11
2fd2d4c
Compare
Choose a tag to compare
  • Fix issue #155: Pin vectors to the CPU after deserialization (#157).

v2.0.1

08 Dec 13:16
82ef030
Compare
Choose a tag to compare
  • In the sense2vec.teach prodigy recipe: only fail if no seeds are available.
  • Extend support for wasabi to v1.1.x.

v2.0.0

07 Feb 06:11
Compare
Choose a tag to compare
  • Update component and internals for spaCy v3.

v1.0.3

07 Feb 04:36
Compare
Choose a tag to compare
  • Various small fixes and improvements.
  • Improve training scripts.
  • Fix issue #102: split binary .spacy files.
  • Fix issue #118: Fix typo in s2v_other_senses.

Thanks to @ahalterman, @dshefman1 and @Anxo06 for the pull requests!

v1.0.2: Fix deserialization of components

22 Nov 17:40
Compare
Choose a tag to compare

🔴 Bug fixes

  • Add defaults for config if attributes are not included in saved model.
  • Fix serialization and deserialization of string store in component.

v1.0.1: Fix caching bug

22 Nov 15:49
Compare
Choose a tag to compare

🔴 Bug fixes

  • Fix bug that'd cause the scores to not be read correctly from precomputed most_similar caches.

v1.0.0: Refactor and modernize, spaCy v2.2 support, more features, 2019 vectors model & Prodigy recipes

22 Nov 15:07
5a2c0a9
Compare
Choose a tag to compare

✨ New features and improvements

  • Completely rewrite package from scratch.
  • Replace built-in vector storage with spaCy's Vectors, making this package a pure Python package and allowing easy out-of-the-box serialization of vectors.
  • Add fully serializable spaCy pipeline component and extension attributes.
  • Add new methods get_best_sense and get_other_senses and improve most_similar.
  • Add script for precomputing index of nearest neighbors for super fast "most similar" queries.
  • Add annotation recipes for Prodigy to easily create word lists and match patterns from similar phrases using sense2vec vectors (like the terms.teach recipe, just with multi-word expressions).
  • New and more efficient training and preprocessing scripts using GloVe and fastText.

⚠️ Backwards incompatibilities

  • The sense2vec.load method has been removed. Use Sense2Vec.from_disk instead.
  • The previous VectorMap and VectorStorage have been removed.
  • This package now requires Python 3.6+.
  • This update requires a new vectors format (see attached files).

📖 Documentation and examples

  • Rewrite README from scratch and include full API docs.

👥 Contributors

Thanks to @kabirkhan for contributing the initial Prodigy recipes!

v1.0.0a9

21 Nov 01:57
Compare
Choose a tag to compare
v1.0.0a9 Pre-release
Pre-release
Update README.md [ci skip]

v1.0.0a10

21 Nov 20:08
Compare
Choose a tag to compare
v1.0.0a10 Pre-release
Pre-release
Increment version [ci skip]

v1.0.0a8

19 Nov 15:48
Compare
Choose a tag to compare
v1.0.0a8 Pre-release
Pre-release
Increment version