File size: 499 Bytes
ed9f38e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # Shared by the letter-choice tasks: generate a short reply, score the first standalone A-D against the gold letter.
output_type: generate_until
num_fewshot: 0
generation_kwargs:
until: []
do_sample: false
temperature: 0.0
max_gen_toks: 16
filter_list:
- name: first-letter
filter:
- function: regex
regex_pattern: "\\b([A-D])\\b"
- function: take_first
metric_list:
- metric: exact_match
aggregation: mean
higher_is_better: true
metadata:
version: 1.0
|