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.81k stars 1.51k forks source link

Error demo.sh #197

Open antoniusrc opened 2 years ago

antoniusrc commented 2 years ago

I just run demo.sh and it's working but it stopped like this: ..... $ build/glove -save-file vectors -threads 8 -input-file cooccurrence.shuf.bin -x-max 10 -iter 15 -vector-size 50 -binary 2 -vocab-file vocab.txt -verbose 2 TRAINING MODEL Read 15 lines. Initializing parameters...Using random seed 1631611252 done. vector size: 50 vocab size: 71290 x_max: 10.000000 alpha: 0.750000 Caught NaN in diff for kdiff for thread. Skipping updateCaught NaN in diff for kdiff for thread. Skipping updateCaught NaN in diff for kdiff for thread. Skipping updateCaught NaN in diff for kdiff for thread. Skipping updateCaught NaN in diff for kdiff for thread. Skipping updateCaught NaN in diff for kdiff for thread. Skipping updateCaught NaN in diff for kdiff for thread. Skipping update

And it stopped. I can not continue at all.

Could somebody help me? Thanks before.