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

Please handle the case your logits contain nans #222

Open
ParisNeo opened this issue Aug 4, 2023 · 1 comment
Open

Please handle the case your logits contain nans #222

ParisNeo opened this issue Aug 4, 2023 · 1 comment

Comments

@ParisNeo
Copy link

ParisNeo commented Aug 4, 2023

image

Hi, I was prompting llama-2-7B and got into this error.

Can you please handle the case there are nans in the logits?

@turboderp
Copy link
Owner

NaN or infinities in the logits implies the model has failed for one reason or another. This may be caused by a bug in the implementation, or it may be a corrupted/incorrectly finetuned model, but I'd need a lot more details to start figuring out what the cause is.

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

2 participants