pytorch-sgns
pytorch-sgns copied to clipboard
Purpose of unks in skipgram function
Hi,
Can you please explain, what is the purpose of including the <UNK>
tokens in the owords
vector produced by skipgram
function? What should model learn by using these as training examples?
Also, what is the purpose of variable ws
in train
function, if it's not used anywhere after its definition?