boolean_expressions.yaml 614 Bytes
Newer Older
lintangsutawika's avatar
lintangsutawika committed
1
2
3
"dataset_name": "boolean_expressions"
"description": "Evaluate the result of a random Boolean expression.\n\n"
"doc_to_text": "Q: not ( ( not not True ) ) is\nA: False\n\nQ: True and False and not True and True is\nA: False\n\nQ: not not ( not ( False ) ) is\nA: True\n\nQ: {{input}}\nA:"
lintangsutawika's avatar
lintangsutawika committed
4
5
"include": "_fewshot_template_yaml"
"task": "bbh_fewshot_boolean_expressions"
6
7
8
9
10
11
12
13
14
15
filter_list:
  - name: "strict-match"
    filter:
      - function: "take_first"
  - name: "flexible-extract"
    filter:
      - function: "regex"
        group_select: 0
        regex_pattern: "\\b(True|False)\\b"
      - function: "take_first"