peacock-data-public-datasets-idc-llm_eval
/
lm-evaluation
/build
/lib
/lm_eval
/tasks
/mathqa
/mathqa.yaml
group: | |
- math_word_problems | |
task: mathqa | |
dataset_path: math_qa | |
output_type: multiple_choice | |
training_split: train | |
validation_split: validation | |
test_split: test | |
doc_to_text: "Question: {{Problem}}\nAnswer:" | |
doc_to_target: "{{['a', 'b', 'c', 'd', 'e'].index(correct)}}" | |
doc_to_choice: !function utils.doc_to_choice | |
should_decontaminate: true | |
doc_to_decontamination_query: "Question: {{Problem}}\nAnswer:" | |
metric_list: | |
- metric: acc | |
aggregation: mean | |
higher_is_better: true | |
- metric: acc_norm | |
aggregation: mean | |
higher_is_better: true | |
metadata: | |
version: 1.0 | |