peacock-data-public-datasets-idc-llm_eval
/
lm-evaluation
/lm_eval
/tasks
/bbh
/cot_zeroshot
/navigate.yaml
"dataset_name": "navigate" | |
"description": "Given a series of navigation instructions, determine whether one would end up back at the starting point.\n\n" | |
"doc_to_text": "Q: {{input}}\nA: Let's think step by step." | |
"include": "_cot_zeroshot_template_yaml" | |
"task": "bbh_cot_zeroshot_navigate" | |
filter_list: | |
- name: "flexible-extract" | |
filter: | |
- function: "regex" | |
group_select: -1 | |
regex_pattern: "\\b(Yes|No|yes|no)\\b" | |
- function: "take_first" | |
- name: "strict-match" | |
filter: | |
- function: "regex" | |
regex_pattern: "((?<=The answer is )(.*)(?=.)|(?<=the answer is )(.*)(?=.)|(?<=The answer: )(.*)(?=.)|(?<=The final answer: )(.*)(?=.))" | |
- function: "take_first" | |