"src/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "628724c731024cefe03d981e5b7e09079a349cbe"
Commit 452d2024 authored by Israel Abebe Azime's avatar Israel Abebe Azime
Browse files

added transate test

parent 901ad392
dataset_name: swa
include: afrimmlu_common_yaml
task: afrimmlu_swa
\ No newline at end of file
# MathQA
### Paper
MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalisms
https://arxiv.org/pdf/1905.13319.pdf
MathQA is a large-scale dataset of 37k English multiple-choice math word problems
covering multiple math domain categories by modeling operation programs corresponding
to word problems in the AQuA dataset (Ling et al., 2017).
Homepage: https://math-qa.github.io/math-QA/
### Citation
```
@misc{amini2019mathqa,
title={MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalisms},
author={Aida Amini and Saadia Gabriel and Peter Lin and Rik Koncel-Kedziorski and Yejin Choi and Hannaneh Hajishirzi},
year={2019},
eprint={1905.13319},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
```
### Groups and Tasks
#### Groups
* `math_word_problems`
#### Tasks
* `mathqa`: The MathQA dataset, as a multiple choice dataset where the answer choices are not in context.
### Checklist
For adding novel benchmarks/datasets to the library:
* [x] Is the task an existing benchmark in the literature?
* [x] Have you referenced the original paper that introduced the task?
* [ ] If yes, does the original paper provide a reference implementation? If so, have you checked against the reference implementation and documented how to run such a test?
* The MathQA dataset predates transformer-based prompted LLMs. We should, however, return to this task to ensure equivalence to the non-CoT version of mathQA used in the Chain-of-Thought paper.
If other tasks on this dataset are already supported:
* [x] Is the "Main" variant of this task clearly denoted?
* [x] Have you provided a short sentence in a README on what each new variant adds / evaluates?
* [x] Have you noted which, if any, published evaluation setups are matched by this variant?
* [x] Checked for equivalence with v0.3.0 LM Evaluation Harness
dataset_name: amh
include: afrimmlu_common_translate_yaml
task: afrimmlu_amh_translate
group:
- mmlu
- afrimmlu_translate
task: null
dataset_path: masakhane/afrimmlu-translate-test
dataset_name: null
output_type: multiple_choice
test_split: test
doc_to_text: !function utils.doc_to_text
doc_to_target: "{{['A', 'B', 'C', 'D'].index(answer)}}"
doc_to_choice: !function utils.doc_to_choice
should_decontaminate: true
doc_to_decontamination_query: "Question: {{question}}\nAnswer:"
metric_list:
- metric: f1
aggregation: !function utils.weighted_f1_score
# aggregation: mean
average: weighted
hf_evaluate: true
higher_is_better: True
ignore_case: true
ignore_punctuation: true
regexes_to_ignore:
- ","
- "\\$"
- metric: acc
aggregation: mean
higher_is_better: true
ignore_case: true
ignore_punctuation: true
regexes_to_ignore:
- ","
- "\\$"
metadata:
version: 1.0
dataset_name: eng
include: afrimmlu_common_translate_yaml
task: afrimmlu_eng_translate
dataset_name: ewe
include: afrimmlu_common_translate_yaml
task: afrimmlu_ewe_translate
dataset_name: fra
include: afrimmlu_common_translate_yaml
task: afrimmlu_fra_translate
\ No newline at end of file
dataset_name: hau
include: afrimmlu_common_translate_yaml
task: afrimmlu_hau_translate
\ No newline at end of file
dataset_name: ibo
include: afrimmlu_common_translate_yaml
task: afrimmlu_ibo_translate
\ No newline at end of file
dataset_name: kin
include: afrimmlu_common_translate_yaml
task: afrimmlu_kin_translate
\ No newline at end of file
dataset_name: lin
include: afrimmlu_common_translate_yaml
task: afrimmlu_lin_translate
\ No newline at end of file
dataset_name: lug
include: afrimmlu_common_translate_yaml
task: afrimmlu_lug_translate
\ No newline at end of file
dataset_name: orm
include: afrimmlu_common_translate_yaml
task: afrimmlu_orm_translate
\ No newline at end of file
dataset_name: sna
include: afrimmlu_common_translate_yaml
task: afrimmlu_sna_translate
\ No newline at end of file
dataset_name: sot
include: afrimmlu_common_translate_yaml
task: afrimmlu_sot_translate
\ No newline at end of file
dataset_name: twi
include: afrimmlu_common_translate_yaml
task: afrimmlu_twi_translate
\ No newline at end of file
dataset_name: wol
include: afrimmlu_common_translate_yaml
task: afrimmlu_wol_translate
\ No newline at end of file
dataset_name: xho
include: afrimmlu_common_translate_yaml
task: afrimmlu_xho_translate
\ No newline at end of file
dataset_name: yor
include: afrimmlu_common_translate_yaml
task: afrimmlu_yor_translate
\ No newline at end of file
dataset_name: zul
include: afrimmlu_common_translate_yaml
task: afrimmlu_zul_translate
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment