group:
    - xnli
    - afrixnli
    - afrixnli-manual
dataset_path: masakhane/afrixnli
dataset_name: null
output_type: generate_until
validation_split: validation
test_split: test
fewshot_split: validation
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: !function utils.manual_accuracy_score
    higher_is_better: true
    ignore_case: true
    ignore_punctuation: true
metadata:
  version: 1.0
