Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to compute perplexity? #9

Open
jagdeeppani opened this issue Jan 10, 2019 · 0 comments
Open

How to compute perplexity? #9

jagdeeppani opened this issue Jan 10, 2019 · 0 comments

Comments

@jagdeeppani
Copy link

jagdeeppani commented Jan 10, 2019

Hi,
I am trying to estimate the perplexity on a test set (unseen set of documents). After the inference step on the test set, I see the likelihood file has large negative numbers (e.g. -1800). What are these numbers exactly. If these are log likelihood estimates, should we compute the perplexity by just taking the exponent of average of these values.

Looking forward for an answer.
Thanks,
Jagdeep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant