Fixed memory allocation bugs: no space for biases
Fixed memory allocation bugs: no space for biases

Memory was allocated without space for biases. As the result of this some gradients were overwritten by weights, and some costs were overwritten by gradients.

You can see below that word vector positions inside W are calculated with additional space for bias, for example "l1 = (cr.word1 - 1LL) * (vector_size + 1)". Thus the memory allocation must also use additional space.

With this fix applied the algorithm tends to perform slightly better on provided analogy tests.
stanfordnlp/GloVe,stanfordnlp/GloVe,stanfordnlp/GloVe,stanfordnlp/GloVe