-
Notifications
You must be signed in to change notification settings - Fork 344
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
Computing Perplexity #197
Comments
Thanks for looking into this! I'm not sure I understand. Is the idea to stop training when model log likelihood stops dropping? Burn-in usually refers to the early iterations, while log likelihood is still improving. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there anyway to return perplexity with respect to the number of iterations? In case we want to optimise the number of iteration and avoid getting into burn-in periods in future executions.
A way I found to do that, is to add a list attribute that is iteratively filled with the perplexity corresponding to that iteration.
Perplexity is computed as exp(-(modelLogLikelihood() / totalTokens)))
Any chance I can submit a pull request?
The text was updated successfully, but these errors were encountered: