maxoodf / word2vec

word2vec++ is a Distributed Representations of Words (word2vec) library and tools implementation, written in C++11 from the scratch
Apache License 2.0
131 stars 24 forks source link

vector normalization? #16

Open fobrs opened 1 year ago

fobrs commented 1 year ago

Why do you normalize the vectors different compared to the original word2vec code?

med = sqrt(med / vector_size);

len = sqrt(len);