NirantK/hindi2vec

Calculate test loss and perplexity for language model

NirantK opened this issue · 3 comments

Calculate test loss and perplexity for language model

@NirantK could you tell me how you calculated the perplexity for your model?
is it e^ loss ?

The training (and/or validation) loss and perplexity are calculated during model training as shown in the notebook. This is done by fastai implementation of metrics via hooks.

We can repeat the same on test data. This is yet to be done - as indicated by this issue.

You aren't printing perplexity anywhere, you've just mentioned it in a comment. So I had a doubt about the same. Thank you for your answer.