Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about word2vec_model.wv.most_similar #32

Open
JJery-web opened this issue Mar 5, 2023 · 0 comments
Open

Questions about word2vec_model.wv.most_similar #32

JJery-web opened this issue Mar 5, 2023 · 0 comments

Comments

@JJery-web
Copy link

Thanks to this project for the opportunity to learn. I encountered two confusions while building the dictionary and would like answers. Thanks.

1、When using the function of
"word2vec_model.wv.most_similar", I set topn=300 and 500 respectively and found that the first 300 words of the two results are not exactly the same (I think if the word is not changed, the first 300 words should theoretically be exactly the same based on the cos method to rank).

2、I set topn=500, but the final number of words I get in expanded_dict.csv is 520. Why is the final number of words not equal to 500?

I look forward to receiving a reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant