K-NRM icon indicating copy to clipboard operation
K-NRM copied to clipboard

About embedding usage

Open Alchemist75 opened this issue 7 years ago • 2 comments

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!

Alchemist75 avatar Dec 09 '17 02:12 Alchemist75

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!

AdeDZY avatar Dec 09 '17 03:12 AdeDZY

OK, thanks so much!

Alchemist75 avatar Dec 09 '17 03:12 Alchemist75