peacock-data-public-datasets-idc-cronscript
/
lm-evaluation-harness
/lm_eval
/tasks
/bbh
/cot_zeroshot
/object_counting.yaml
"dataset_name": "object_counting" | |
"description": "Questions that involve enumerating objects and asking the model to count them.\n\n" | |
"doc_to_text": "Q: {{input}}\nA: Let's think step by step." | |
"include": "_cot_zeroshot_template_yaml" | |
"task": "bbh_cot_zeroshot_object_counting" | |
filter_list: | |
- name: "flexible-extract" | |
filter: | |
- function: !function utils.NumberParseRegexFilter | |
group_select: -1 | |
regex_pattern: "([-0-9]+)" | |
- 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" | |