Commit 601be343 authored by Baber's avatar Baber
Browse files

Merge branch 'main' into feature/eval_from_config

parents d0884a96 68c3a811
dataset_name: ibo
include: afrimmlu_common_translate_yaml
task: afrimmlu_translate_ibo
dataset_name: kin
include: afrimmlu_common_translate_yaml
task: afrimmlu_translate_kin
dataset_name: lin
include: afrimmlu_common_translate_yaml
task: afrimmlu_translate_lin
dataset_name: lug
include: afrimmlu_common_translate_yaml
task: afrimmlu_translate_lug
dataset_name: orm
include: afrimmlu_common_translate_yaml
task: afrimmlu_translate_orm
dataset_name: sna
include: afrimmlu_common_translate_yaml
task: afrimmlu_translate_sna
dataset_name: sot
include: afrimmlu_common_translate_yaml
task: afrimmlu_translate_sot
dataset_name: swa
include: afrimmlu_common_translate_yaml
task: afrimmlu_translate_swa
dataset_name: twi
include: afrimmlu_common_translate_yaml
task: afrimmlu_translate_twi
dataset_name: wol
include: afrimmlu_common_translate_yaml
task: afrimmlu_translate_wol
dataset_name: xho
include: afrimmlu_common_translate_yaml
task: afrimmlu_translate_xho
dataset_name: yor
include: afrimmlu_common_translate_yaml
task: afrimmlu_translate_yor
dataset_name: zul
include: afrimmlu_common_translate_yaml
task: afrimmlu_translate_zul
group: afrimmlu_tt-irokobench
task:
- afrimmlu_tt_tasks
aggregate_metric_list:
- metric: acc
aggregation: mean
weight_by_size: true
metadata:
version: 2
tag: afrimmlu_tt_tasks
dataset_path: masakhane/afrimmlu-translate-test
dataset_name: null
output_type: multiple_choice
test_split: test
doc_to_text: !function utils.doc_to_text
doc_to_target: "{{['A', 'B', 'C', 'D'].index(answer)}}"
doc_to_choice: !function utils.doc_to_choice
should_decontaminate: true
doc_to_decontamination_query: "Question: {{question}}\nAnswer:"
metric_list:
- metric: f1
aggregation: !function utils.weighted_f1_score
# aggregation: mean
average: weighted
hf_evaluate: true
higher_is_better: True
ignore_case: true
ignore_punctuation: true
regexes_to_ignore:
- ","
- "\\$"
- metric: acc
aggregation: mean
higher_is_better: true
ignore_case: true
ignore_punctuation: true
regexes_to_ignore:
- ","
- "\\$"
metadata:
version: 1.0
# Generated by utils.py
dataset_name: amh
include: afrimmlu_translate
task: afrimmlu_translate_amh_prompt_1
# Generated by utils.py
dataset_name: ewe
include: afrimmlu_translate
task: afrimmlu_translate_ewe_prompt_1
# Generated by utils.py
dataset_name: fra
include: afrimmlu_translate
task: afrimmlu_translate_fra_prompt_1
# Generated by utils.py
dataset_name: hau
include: afrimmlu_translate
task: afrimmlu_translate_hau_prompt_1
# Generated by utils.py
dataset_name: ibo
include: afrimmlu_translate
task: afrimmlu_translate_ibo_prompt_1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment