mgsm_es_native-cot.yaml 473 Bytes
Newer Older
lintangsutawika's avatar
lintangsutawika committed
1
2
3
4
5
6
# Generated by utils.py
dataset_name: es
doc_to_target: '{% if answer is not none %}{{answer[22+1]}}{% else %}{{answer_number|string}}{%
  endif %}'
doc_to_text: '{% if answer is not none %}{{question+"\nRespuesta paso a paso:"}}{%
  else %}{{"Pregunta: "+question+"\nRespuesta paso a paso:"}}{% 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_es_direct