gsm8k-cot-zeroshot.yaml 587 Bytes
Newer Older
Lintang Sutawika's avatar
Lintang Sutawika committed
1
tag:
2
3
4
5
6
7
8
9
  - math_word_problems
task: gsm8k_cot_zeroshot
dataset_path: gsm8k
dataset_name: main
output_type: generate_until
training_split: train
fewshot_split: train
test_split: test
Baber's avatar
Baber committed
10
process_results: !function utils.process_results
11
12
13
doc_to_text: "Q: {{question}}\nA: Let's think step by step."
doc_to_target: "{{answer}}" #" {{answer.split('### ')[-1].rstrip()}}"
metric_list:
Baber's avatar
Baber committed
14
  - metric: math_verify
15
16
17
18
19
20
21
22
23
24
25
26
    aggregation: mean
    higher_is_better: true
generation_kwargs:
  until:
    - "Q:"
    - "</s>"
    - "<|im_end|>"
  do_sample: false
repeats: 1
num_fewshot: 0
metadata:
  version: 3.0