explosion / explosion/sense2vec

different results on the demo than through the spacy script

Open
#147 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.7k
Forks
236
PR merge metrics
No merged PRs in 30d

Description

Hello,
When using the demo with the word "Height", the sense "auto" and the year "2019" the results are amazing while running through spacy the results are completly different.

example:
import spacy
nlp_spacy = spacy.load("en_core_web_sm")
s2v = nlp_spacy.add_pipe("sense2vec")
s2v.from_disk("s2v_reddit_2019_lg")

doc = nlp_spacy("Height")
assert doc[:].text == "Height"
freq = doc[:]._.s2v_freq
vector = doc[:]._.s2v_vec
most_similar = doc[:]._.s2v_most_similar(3)

Why is that? and how can I get the same results as in the demo?
Thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.