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

Negative sampling exceeds the maximum range #9

Open
Bayi-Hu opened this issue Oct 23, 2023 · 1 comment
Open

Negative sampling exceeds the maximum range #9

Bayi-Hu opened this issue Oct 23, 2023 · 1 comment

Comments

@Bayi-Hu
Copy link
Member

Bayi-Hu commented Oct 23, 2023

image

@Bayi-Hu
Copy link
Member Author

Bayi-Hu commented Oct 23, 2023

This is because the true class index (which is not used) exceeds the range_max (word_num). If the problem occurs, we can set true_classes=word_num-1.

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