I am training a fastText
model using gensim.models.fasttext
. However, I can't seem to find a method to compute the loss of the iteration for logging purposes. If I look at gensim.models.word2vec
, it has the get_latest_training_loss
method which allows you to print the training loss. Are there any alternatives or it is simply impossible?
Asked
Active
Viewed 1,095 times
8

Hardian Lawi
- 588
- 5
- 22
-
did you find the solution for the problem..? – gaurav1207 Oct 03 '18 at 20:43
-
1@gaurav1207 in the end, I just trained the model using API provided by Facebook https://fasttext.cc/ – Hardian Lawi May 16 '19 at 01:37
-
Seems like gensim 4.0.0 is going to add the `get_latest_training_loss` [method](https://radimrehurek.com/gensim/models/fasttext.html#gensim.models.fasttext.FastText.get_latest_training_loss) – pedropedro Dec 19 '20 at 15:09
-
You could follow this link. I think they will update soon. https://github.com/RaRe-Technologies/gensim/issues/2617 – Imtk Jan 28 '21 at 14:33
-
Does this answer your question? [gensim word2vec print log loss](https://stackoverflow.com/questions/54888490/gensim-word2vec-print-log-loss) – sophros Aug 09 '21 at 11:14