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

When I use the ppl indicator, it shows nan #7

Open
MrZhang1996 opened this issue May 24, 2024 · 3 comments
Open

When I use the ppl indicator, it shows nan #7

MrZhang1996 opened this issue May 24, 2024 · 3 comments

Comments

@MrZhang1996
Copy link

orgn-GSM8K-train Average_ppl_accuracy: nan
PPL of xxxx
GSM8K_rewritten-test-1: nan
GSM8K_rewritten-test-2: nan
GSM8K_rewritten-test-3: nan
GSM8K_rewritten-train-1: nan
GSM8K_rewritten-train-2: nan
GSM8K_rewritten-train-3: nan
orgn-GSM8K-test: nan
orgn-GSM8K-train: nan

why this happens?

@MrZhang1996
Copy link
Author

orgn-GSM8K-train Average_ppl_accuracy: nan PPL of xxxx GSM8K_rewritten-test-1: nan GSM8K_rewritten-test-2: nan GSM8K_rewritten-test-3: nan GSM8K_rewritten-train-1: nan GSM8K_rewritten-train-2: nan GSM8K_rewritten-train-3: nan orgn-GSM8K-test: nan orgn-GSM8K-train: nan

why this happens?

The find_subsequence() function returns -1

@VagueWine
Copy link
Collaborator

Hello! We've found that different tokenizers have different strategies. Please try to add your model name in the 'if' structure here. See if 'find_subsequence()' could return the proper index.

@MrZhang1996
Copy link
Author

Hello! We've found that different tokenizers have different strategies. Please try to add your model name in the 'if' structure here. See if 'find_subsequence()' could return the proper index.

Thank you very much for your reply. I have noticed this after reading the code.

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