PPL calculation seems to have bugs when using batch encoding. #1238
Unanswered
ChaosCodes
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After shifting the labels, in batch decoding, some bos_id will be removed but the others will be still here, which will lead to inconsistent problem.
Code position: https://github.com/open-compass/opencompass/blob/main/opencompass/models/huggingface.py#L504
Beta Was this translation helpful? Give feedback.
All reactions