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

bug in computing scores for longdialogue_qa_eng #18

Open
Xianchao-Wu opened this issue Jul 17, 2024 · 1 comment
Open

bug in computing scores for longdialogue_qa_eng #18

Xianchao-Wu opened this issue Jul 17, 2024 · 1 comment
Assignees

Comments

@Xianchao-Wu
Copy link

https://github.com/OpenBMB/InfiniteBench/blob/main/src/compute_scores.py#L238

  1. only one reference label is used for comparison, better loop around each answer in label, e.g., label=['ECKER', 'COMMANDER BILL ECKER'];
  2. prediction phrase is splitted into words for comparison, which means:
    pred=STAMP PAID, label=['STAMP PAID'], score=0.0, data_name=longdialogue_qa_eng

and

pred=ADRIAN, label=['ADRIAN'], score=1.0, data_name=longdialogue_qa_eng

@tuantuanzhang
Copy link
Collaborator

We have fixed this bug in the latest commit. Thank you for your notification.

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

3 participants