stanfordnlp / GloVe

Software in C and data files for the popular GloVe model for distributed word representations, a.k.a. word vectors or embeddings
Apache License 2.0
6.86k stars 1.51k forks source link

Bug? ./demo.sh: line 55: 12878 Bus error: 10 #82

Open vlavorini opened 7 years ago

vlavorini commented 7 years ago

Hello,

I tried the code on a text (680kbyte, words with abbreviations and non-text characters), and for some of the pairs I get that in the glove thread, in glove.c, the cr.val is equal to zero, so the log(cr.val) is infinite. Is that due to the non text characters, like - * \ / ? Thank you!

dzf0023 commented 4 years ago

i also got this problem. any ideas?

AngledLuffa commented 4 years ago

Mind sharing a sample text which leads to this result?

On Sun, Mar 22, 2020 at 1:18 PM dzf0023 notifications@github.com wrote:

i also got this problem. any ideas?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/stanfordnlp/GloVe/issues/82#issuecomment-602266073, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2AYWPM6MQRAC4MK3N6ZALRIZW7XANCNFSM4DMIVU5A .