different results on the demo than through the spacy script
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- machine-learning
Research direction
Start by reproducing the Python snippet with en_core_web_sm and s2v_reddit_2019_lg, then compare its inputs and configuration with the demo's Height, auto, and 2019 settings. Trace where the demo and script load or select senses and vectors; done means the discrepancy is explained and the documented usage or implementation produces matching results.
Written by the indexing model from the issue text.
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.
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 236
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from explosion/sense2vec
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
import error Openusage
Difficulty 4/5 3-5 days Newbie friendliness 20/100
-
usage
Difficulty 3/5 1-2 days Newbie friendliness 30/100
-
provide citation Open
Difficulty 1/5 Under an hour Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in explosion/sense2vec
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100