OpenCompass/opencompass/configs/summarizers/mmmlu.py
Bob Tsang dd0b655bd0
[Feature] Support MMMLU & MMMLU-lite Benchmark (#1565)
* rm folder

* modify format according to reviewer

* modify format according to reviewer

* modify format according to reviewer

* add some files requirement

* fix some bug

* fix bug

* change load type

* Update MMMLU Dataset

* Update MMMLU Dataset

* Add MMMLU-Lite Dataset

* update MMMMLU datast

* update MMMMLU datast

* update MMMMLU datast

---------

Co-authored-by: BobTsang <BobTsang1995@gmail.com>
Co-authored-by: liushz <qq1791167085@163.com>
2024-10-17 19:09:34 +08:00

26 lines
689 B
Python

from mmengine.config import read_base
with read_base():
from .groups.mmmlu import mmmlu_summary_groups
summarizer = dict(
dataset_abbrs=[
'openai_mmmlu_AR-XY',
'openai_mmmlu_BN-BD',
'openai_mmmlu_DE-DE',
'openai_mmmlu_ES-LA',
'openai_mmmlu_FR-FR',
'openai_mmmlu_HI-IN',
'openai_mmmlu_ID-ID',
'openai_mmmlu_IT-IT',
'openai_mmmlu_JA-JP',
'openai_mmmlu_KO-KR',
'openai_mmmlu_PT-BR',
'openai_mmmlu_SW-KE',
'openai_mmmlu_YO-NG',
'openai_mmmlu_ZH-CN',
'mmmlu',
],
summary_groups=sum([v for k, v in locals().items() if k.endswith('_summary_groups')], []),
)