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

感觉sampled_softmax那里直接用均匀采样(uniform)是不是不太好? #25

Open
shexuan opened this issue May 18, 2021 · 1 comment

Comments

@shexuan
Copy link

shexuan commented May 18, 2021

感觉可以根据word2vec原论文中的那个负采样概率公式得到每个id的采样概率,然后根据概率采样几个负样本更好(比如alias采样)?

@SamMZhang
Copy link

num_classes=self.num_nodes, = args.num_feat 感觉是不是不太合理啊,正例数才4

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