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

The signal matrix for word2vec #3

Open
XuhuiZhou opened this issue Apr 7, 2019 · 1 comment
Open

The signal matrix for word2vec #3

XuhuiZhou opened this issue Apr 7, 2019 · 1 comment

Comments

@XuhuiZhou
Copy link

In your paper, you seem to use the original PMI matrix as the signal matrix of word2vec. However, in Omer's paper, their conclusion points to the signal matrix PMI-log(k), where the k is the num of negative sampling.

Could you tell me is there a reason to choose PMI instead of PMI-log(k)?

@ziyin-dl
Copy link
Owner

ziyin-dl commented Apr 7, 2019

As we said in the paper, we used PPMIfor word2vec without neg sampling, and SPPMI for word2vec with negative sampling. This repo is not for the one in the paper. You probably want to refer to
https://github.com/ziyin-dl/word-embedding-dimensionality-selection

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

2 participants