During the training unsupervised fastText model I received the exception RuntimeError: Encountered NaN..
It has happened a few minutes after it started the training. I am using fastText packge v0.9.2 on Ubuntu 20.04 x64 with Python 3.8.10.
Verbose log:
Read 1856M words
Number of words: 4097
Number of labels: 0
Progress: 7.0% words/sec/thread: 11799 lr: 0.023248 avg.loss: 7.232708 ETA: 6h21m 0s
Hello,
During the training unsupervised fastText model I received the exception
RuntimeError: Encountered NaN.
. It has happened a few minutes after it started the training. I am using fastText packge v0.9.2 on Ubuntu 20.04 x64 with Python 3.8.10.Verbose log:
The code:
The output:
The problem was not possible to reproduce with other CORPUS_FILES or with the same CORPUS_FILE as in above example but with "skipgram".
What can cause it?
Thanks for your help.