OpenNMT

About onmt.utils.loss

Hi everyone,
I am trying to see the loss graph and epochs by using onmt.utils.loss, however I am new to Deep Learning and there is no guide or tutorial on how to use it. Can you help me regarding this issue? (My research topic is on Grammar Error Correction in Turkish language.)

Dear Göksu,

OpenNMT reports Perplexity. See this nice explanation by Paul Tardy:

As for how to calculate epochs, see this answer:

See also this item in FAQs; although it is for OpenNMT-tf, it applies to OpenNMT-py, too:
https://opennmt.net/OpenNMT-tf/faq.html#how-to-count-the-number-of-epochs

All the best,
Yasmin

1 Like