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

Add MMLU downstream tasks #468

Merged
merged 13 commits into from
Feb 28, 2024
Merged

Add MMLU downstream tasks #468

merged 13 commits into from
Feb 28, 2024

Conversation

OyvindTafjord
Copy link
Contributor

Together with @yulinggu-cs, we added the following tasks from MMLU to the in-loop downstream evaluation suite:

Validation sets:

  • mmlu_stem (321 qs)
  • mmlu_humanities (518 qs)
  • mmlu_social_sciences (337 qs)
  • mmlu_other (355 qs)

Test sets:

  • mmlu_stem_test (3018 qs)
  • mmlu_humanities_test (4705 qs)
  • mmlu_social_sciences_test (3077 qs)
  • mmlu_other_test (3242 qs)

We also updated the metric_type for boolq and arc_challenge from "pmi_dc" to "acc" and "len_norm". These are generally correlated, although ideally "pmi_dc" would be used for several datasets once it's properly implemented. boolq should be fine with "acc" though.

Note that this adds some processing time at startup.

@OyvindTafjord
Copy link
Contributor Author

There's one failing type check that I can't quite figure out, it doesn't like the dataset_name: Optional[Union[str, List[str]]] = None combined with the subsequent assignment.

Copy link
Member

@dirkgr dirkgr left a comment

Choose a reason for hiding this comment

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

That's all it takes? Is it because hails/mmlu_no_train already has the data in a workable format?

@OyvindTafjord
Copy link
Contributor Author

The HF dataset (either hails/mmlu_no_train, or the equivalent, but larger with random training stuff, cais/mmlu) has instances in the format shown here, so just need to extract the appropriate pieces similar to other datasets (like ARC etc).

@dirkgr
Copy link
Member

dirkgr commented Feb 28, 2024

MMLU also needs to be added to the configs, right?

@OyvindTafjord OyvindTafjord merged commit 67d24f5 into main Feb 28, 2024
11 checks passed
@OyvindTafjord OyvindTafjord deleted the mmlu-downstream branch February 28, 2024 21:28
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.

2 participants