Skip to content

Commit

Permalink
fix group args of mmlu and mmlu_pro (EleutherAI#2245)
Browse files Browse the repository at this point in the history
  • Loading branch information
eyuansu62 authored and jmercat committed Sep 25, 2024
1 parent e47557e commit d452d58
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lm_eval/tasks/mmlu/generative/_mmlu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ task:
- metric: acc
weight_by_size: True
aggregate_metric_list:
- metric: acc
- aggregation: mean
metric: exact_match
weight_by_size: True
metadata:
version: 2
23 changes: 23 additions & 0 deletions lm_eval/tasks/mmlu_pro/_mmlu_pro.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
group: mmlu_pro
task:
- mmlu_pro_biology
- mmlu_pro_business
- mmlu_pro_chemistry
- mmlu_pro_computer_science
- mmlu_pro_economics
- mmlu_pro_engineering
- mmlu_pro_health
- mmlu_pro_history
- mmlu_pro_law
- mmlu_pro_math
- mmlu_pro_other
- mmlu_pro_philosophy
- mmlu_pro_physics
- mmlu_pro_psychology
aggregate_metric_list:
- aggregation: mean
metric: exact_match
weight_by_size: true
filter_list: custom-extract
metadata:
version: 1.0

0 comments on commit d452d58

Please sign in to comment.