mgsm_fr_native-cot.yaml 486 Bytes
Newer Older
lintangsutawika's avatar
lintangsutawika committed
1
2
3
4
5
6
# Generated by utils.py
dataset_name: fr
doc_to_target: '{% if answer is not none %}{{answer[25+1]}}{% else %}{{answer_number|string}}{%
  endif %}'
doc_to_text: '{% if answer is not none %}{{question+"\nRéponse étape par étape :"}}{%
  else %}{{"Question : "+question+"\nRéponse étape par étape :"}}{% endif %}'
lintangsutawika's avatar
lintangsutawika committed
7
8
9
10
11
12
13
14
filter:
- function: regex
  regex_pattern: The answer is (\-?[0-9\.\,]+)
- function: take_first
filter_list:
- name: get-answer
include: cot_yaml
task: mgsm_fr_direct