| task: capitals |
| dataset_path: finnianx/capitals |
| dataset_name: null |
| output_type: generate_until |
| training_split: train |
| validation_split: train |
| test_split: train |
| fewshot_split: train |
| num_fewshot: 0 |
| doc_to_text: "Question: What is the capital of {{country}}?\nAnswer:" |
| doc_to_target: "{{capital}}" |
| target_delimiter: " " |
| generation_kwargs: |
| until: |
| - "\n" |
| - "Question:" |
| do_sample: false |
| temperature: 0.0 |
| max_gen_toks: 20 |
| filter_list: |
| - name: "extract_answer" |
| filter: |
| - function: "regex" |
| regex_pattern: "([A-Z][a-zà-öø-ÿ''-]+(?: [A-Z][a-zà-öø-ÿ''-]+)*)" |
| group_select: -1 |
| - function: "take_first" |
| metric_list: |
| - metric: exact_match |
| aggregation: mean |
| higher_is_better: true |
| ignore_case: true |
| ignore_punctuation: true |
| metadata: |
| version: 1.0 |