Releases: explosion/sense2vec
Releases · explosion/sense2vec
v2.0.2
v2.0.1
- In the
sense2vec.teach
prodigy recipe: only fail if no seeds are available. - Extend support for
wasabi
to v1.1.x.
v2.0.0
v1.0.3
- 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
🔴 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
🔴 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
✨ 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
andget_other_senses
and improvemost_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. UseSense2Vec.from_disk
instead. - The previous
VectorMap
andVectorStorage
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!