group:
    - xnli
    - afrixnli
    - afrixnli-manual
    - afrixnli-translate-test
dataset_path: masakhane/afrixnli-translate-test
dataset_name: null
output_type: generate_until
test_split: test
doc_to_text: !function utils.doc_to_text
doc_to_target: !function utils.doc_to_target
doc_to_choice:
  - "entailment"
  - "neutral"
  - "contradiction"
should_decontaminate: true
doc_to_decontamination_query: premise
filter_list:
  - name: "verbalizer_extract"
    filter:
      - function: verbalizer
        verbalizer_dict: {
                "entailment": ['encouragement', 'entitlement', 'entails', 'entailed', 'entailment'],
                "contradiction": ['contradictory', 'contradicts', 'contradiction'],
                "neutral": ['neutral']}
metric_list:
  - metric: f1
    aggregation: !function utils.weighted_f1_score
    average: weighted
    higher_is_better: True
    ignore_case: true
    ignore_punctuation: true
  - metric: acc
    aggregation: mean
    higher_is_better: true
    ignore_case: true
    ignore_punctuation: true
metadata:
  version: 1.0
