eval-tasks / mathqa.yaml
CultriX's picture
Upload folder using huggingface_hub
6afe180 verified
raw
history blame contribute delete
804 Bytes
task: mathqa
dataset_path: CultriX/mathqa-train-100
training_split: train
validation_split: train
tag:
- math_word_problems
task: mathqa
dataset_name: main
output_type: generate_until
fewshot_split: train
test_split: test
doc_to_text: |-
Question: {{question}}
Answer:
doc_to_target: "{{answer}}"
metric_list:
- metric: exact_match
aggregation: mean
higher_is_better: true
ignore_case: true
ignore_punctuation: false
regexes_to_ignore:
- ','
- '(?s).*#### '
generation_kwargs:
until:
- 'Question:'
- </s>
- <|im_end|>
do_sample: false
temperature: 0
repeats: 1
num_fewshot: 5
filter_list:
- name: strict-match
filter:
- function: regex
regex_pattern: '#### (\-?[0-9\.\,]+)'
- function: take_first
metadata:
version: 3