-
Notifications
You must be signed in to change notification settings - Fork 309
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
Token/words confidence #1092
Comments
I successfully added it, but the confidences for out of domain sets are very low, even though the result itself is fair, is this normal? |
Could you describe how you get the scores? |
Using the log_probs in the modified beam search, then using it with the exponential function just to get rid of the log scale as follows:
Then to get each word confidence I average all of its tokens prob values as follows:
|
|
Yeah, that was my bad, it is fixed now:
Thanks |
Any available way to get each token/word confidence while using the modified beam search decoding method?
The text was updated successfully, but these errors were encountered: