fixed mmmu by cooking options from answer, when options is not given in the instance #1921
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There are 30 cards in the group
cards.mmmu.*
, 16 of which (more than half) are erroneous: do not passunitxt.api.load_dataset
:mmmu_main.pdf
Exploring the original HF datasets, the following came up:
mmmu_observations.pdf
answer
=="?" if and only if the instance is in splittest
mmmu
card effectively discards splittest
test
, 900 invalidation
(that the card takes to be its test split) and 150 indev
(that the card takes to be its train split).options
(to become the choices) is empty in 53validation
instances and 9dev
instances and 627test
instances.options
field is of length > 1, reaching up to 9, andanswer
indexes into it in the form of A,B,C..options
is empty, does fieldanswer
have an irregular value, that looks like the correct answer toquestion
. The correct answer itself, and not the A B C to refer to it.Therefore, the fix is as follows: for an instance with an empty options field, the card cooks an
options
field in the form of[answer]
, and then changesanswer
to readA
.This fixed all the errors:
fixed_mmmu.pdf