copa_es.yaml 493 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
task: copa_es
dataset_path: BSC-LT/COPA-es
dataset_name: null
output_type: multiple_choice
validation_split: validation
test_split: test
process_docs: !function utils.process_docs_copa_es
doc_to_text: '{{premise[:-1].strip() + " " + {"cause": "porque", "effect": "y por lo tanto"}[question]}}'
doc_to_target: '{{choice1 if label == 0 else choice2}}'
doc_to_choice: '{{[choice1, choice2]}}'
metric_list:
  - metric: acc
    aggregation: mean
    higher_is_better: true
metadata:
  version: 1.0