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

[Fix] Fix AGIEval multiple choice #137

Merged
merged 2 commits into from
Aug 10, 2023

Conversation

Leymore
Copy link
Collaborator

@Leymore Leymore commented Jul 31, 2023

Arise from #127 and #40

@@ -46,7 +46,13 @@ def load(path: str, name: str, setting_name: str):
passage = _d['passage'] if _d['passage'] else ''
question = passage + _d['question']
options = '\n'.join(_d['options']) if _d['options'] else ''
label = _d['label'] if _d['label'] else _d['answer']
if _d['label']:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_d -> datum

@gaotongxiao gaotongxiao merged commit 876ade7 into open-compass:main Aug 10, 2023
1 check passed
go-with-me000 pushed a commit to go-with-me000/opencompass that referenced this pull request Oct 9, 2023
* update agieval data

* rename variables
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

Successfully merging this pull request may close these issues.

None yet

2 participants