peacock-data-public-datasets-idc-cronscript
/
lm-evaluation-harness
/lm_eval
/tasks
/cmmlu
/_default_template_yaml
group: cmmlu | |
dataset_path: haonan-li/cmmlu | |
test_split: test | |
fewshot_split: dev | |
fewshot_config: | |
sampler: first_n | |
output_type: multiple_choice | |
doc_to_text: "{{Question.strip()}}\nA. {{A}}\nB. {{B}}\nC. {{C}}\nD. {{D}}\n答案:" | |
doc_to_choice: ["A", "B", "C", "D"] | |
doc_to_target: "{{['A', 'B', 'C', 'D'].index(Answer)}}" | |
metric_list: | |
- metric: acc | |
aggregation: mean | |
higher_is_better: true | |
- metric: acc_norm | |
aggregation: mean | |
higher_is_better: true | |
metadata: | |
version: 0.0 | |