yandex / faster-rnnlm

Faster Recurrent Neural Network Language Modeling Toolkit with Noise Contrastive Estimation and Hierarchical Softmax
Other
561 stars 138 forks source link

Debug2 #36

Open mattiadg opened 8 years ago

mattiadg commented 8 years ago

I've added the "debug" option, that allows for output compatibility with Mikolov's rnnlm when it's value is set to 2, as in Mikolov's case. This is slow because it doesn't compute probabilities directly, but it keeps the log probability computation and then does exponentiation.