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_yaml
task: afrimmlu_direct_ibo
dataset_name: kin
include: afrimmlu_common_yaml
task: afrimmlu_direct_kin
dataset_name: lin
include: afrimmlu_common_yaml
task: afrimmlu_direct_lin
dataset_name: lug
include: afrimmlu_common_yaml
task: afrimmlu_direct_lug
dataset_name: orm
include: afrimmlu_common_yaml
task: afrimmlu_direct_orm
dataset_name: sna
include: afrimmlu_common_yaml
task: afrimmlu_direct_sna
dataset_name: sot
include: afrimmlu_common_yaml
task: afrimmlu_direct_sot
dataset_name: swa
include: afrimmlu_common_yaml
task: afrimmlu_direct_swa
dataset_name: twi
include: afrimmlu_common_yaml
task: afrimmlu_direct_twi
dataset_name: wol
include: afrimmlu_common_yaml
task: afrimmlu_direct_wol
dataset_name: xho
include: afrimmlu_common_yaml
task: afrimmlu_direct_xho
dataset_name: yor
include: afrimmlu_common_yaml
task: afrimmlu_direct_yor
dataset_name: zul
include: afrimmlu_common_yaml
task: afrimmlu_direct_zul
tag:
- afrimmlu_tasks
- afrimmlu_tasks_prompt_1
- afrobench_mmlu_tasks
dataset_path: masakhane/afrimmlu
dataset_name: null
output_type: multiple_choice
validation_split: validation
test_split: test
fewshot_split: validation
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_direct
task: afrimmlu_direct_amh_prompt_1
# Generated by utils.py
dataset_name: eng
include: afrimmlu_direct
task: afrimmlu_direct_eng_prompt_1
# Generated by utils.py
dataset_name: ewe
include: afrimmlu_direct
task: afrimmlu_direct_ewe_prompt_1
# Generated by utils.py
dataset_name: fra
include: afrimmlu_direct
task: afrimmlu_direct_fra_prompt_1
# Generated by utils.py
dataset_name: hau
include: afrimmlu_direct
task: afrimmlu_direct_hau_prompt_1
# Generated by utils.py
dataset_name: ibo
include: afrimmlu_direct
task: afrimmlu_direct_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