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

About embedding usage #4

Open
Alchemist75 opened this issue Dec 9, 2017 · 2 comments
Open

About embedding usage #4

Alchemist75 opened this issue Dec 9, 2017 · 2 comments

Comments

@Alchemist75
Copy link

Hello! I'd like to know about the details of embedding usage in this model: should the values in the embedding be set to range (0,1); is it ok if i set the labels of words which didn't appear in the embedding to 0 instead of -1(i believe this is ok according to the implement.) Thanks!

@AdeDZY
Copy link
Owner

AdeDZY commented Dec 9, 2017

should the values in the embedding be set to range (0,1):
-- No. We normalize the embedding in the implementation, so it will automatically convert the values into range [0, 1]

is it ok if i set the labels of words which didn't appear in the embedding to 0 instead of -1
-- Yes!

@Alchemist75
Copy link
Author

OK, thanks so much!

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