multistep_arithmetic_two.yaml 491 Bytes
Newer Older
lintangsutawika's avatar
lintangsutawika committed
1
2
3
"dataset_name": "multistep_arithmetic_two"
"description": "Solve multi-step arithmetic problems.\n\n"
"doc_to_text": "Q: {{input}}\nA:"
lintangsutawika's avatar
lintangsutawika committed
4
5
"include": "_zeroshot_template_yaml"
"task": "bbh_zeroshot_multistep_arithmetic_two"
6
7
8
9
10
11
12
13
14
15
16

filter_list:
  - name: "strict-match"
    filter:
      - function: "take_first"
  - name: "flexible-extract"
    filter:
      - function: !function utils.NumberParseRegexFilter
        group_select: 0
        regex_pattern: "([-0-9]+)"
      - function: "take_first"