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

Merge branch 'main' into feature/eval_from_config

parents d0884a96 68c3a811
# Generated by utils.py
dataset_name: vai
doc_to_text: "Answer the given question with the appropriate numerical value, ensuring\
\ that the response is clear and without any supplementary information. \n\nQuestion:\
\ {{question}} \nAnswer: "
include: afrimgsm_yaml
task: afrimgsm_vai_prompt_4
# Generated by utils.py
dataset_name: wol
doc_to_text: "Answer the given question with the appropriate numerical value, ensuring\
\ that the response is clear and without any supplementary information. \n\nQuestion:\
\ {{question}} \nAnswer: "
include: afrimgsm_yaml
task: afrimgsm_wol_prompt_4
# Generated by utils.py
dataset_name: xho
doc_to_text: "Answer the given question with the appropriate numerical value, ensuring\
\ that the response is clear and without any supplementary information. \n\nQuestion:\
\ {{question}} \nAnswer: "
include: afrimgsm_yaml
task: afrimgsm_xho_prompt_4
tag:
- afrimgsm_tasks
- afrimgsm_tasks_prompt_4
dataset_path: masakhane/afrimgsm
output_type: generate_until
test_split: test
doc_to_target: '{% if answer is not none %}{{answer[21:]}}{% else %}{{answer_number|string}}{% endif %}'
target_delimiter: ""
generation_kwargs:
do_sample: false
until:
- 'Question:'
- </s>
- <|im_end|>
filter_list:
- name: remove_whitespace
filter:
- function: remove_whitespace
- function: take_first
- filter:
- function: regex
group_select: -1
regex_pattern: (-?[$0-9.,]{2,})|(-?[0-9]+)
- function: take_first
name: flexible-extract
metric_list:
- metric: exact_match
aggregation: mean
higher_is_better: true
ignore_case: true
ignore_punctuation: true
metadata:
version: 2.0
# Generated by utils.py
dataset_name: yor
doc_to_text: "Answer the given question with the appropriate numerical value, ensuring\
\ that the response is clear and without any supplementary information. \n\nQuestion:\
\ {{question}} \nAnswer: "
include: afrimgsm_yaml
task: afrimgsm_yor_prompt_4
# Generated by utils.py
dataset_name: zul
doc_to_text: "Answer the given question with the appropriate numerical value, ensuring\
\ that the response is clear and without any supplementary information. \n\nQuestion:\
\ {{question}} \nAnswer: "
include: afrimgsm_yaml
task: afrimgsm_zul_prompt_4
# Generated by utils.py
dataset_name: amh
doc_to_text: "For mathematical questions provided in Amharic language. Supply the\
\ accurate numeric answer to the provided question. \n\nQuestion: {{question}} \n\
Answer: "
include: afrimgsm_yaml
task: afrimgsm_amh_prompt_5
# Generated by utils.py
dataset_name: eng
doc_to_text: "For mathematical questions provided in English language. Supply the\
\ accurate numeric answer to the provided question. \n\nQuestion: {{question}} \n\
Answer: "
include: afrimgsm_yaml
task: afrimgsm_eng_prompt_5
# Generated by utils.py
dataset_name: ewe
doc_to_text: "For mathematical questions provided in Ewe language. Supply the accurate\
\ numeric answer to the provided question. \n\nQuestion: {{question}} \nAnswer: "
include: afrimgsm_yaml
task: afrimgsm_ewe_prompt_5
# Generated by utils.py
dataset_name: fra
doc_to_text: "For mathematical questions provided in French language. Supply the accurate\
\ numeric answer to the provided question. \n\nQuestion: {{question}} \nAnswer: "
include: afrimgsm_yaml
task: afrimgsm_fra_prompt_5
# Generated by utils.py
dataset_name: hau
doc_to_text: "For mathematical questions provided in Hausa language. Supply the accurate\
\ numeric answer to the provided question. \n\nQuestion: {{question}} \nAnswer: "
include: afrimgsm_yaml
task: afrimgsm_hau_prompt_5
# Generated by utils.py
dataset_name: ibo
doc_to_text: "For mathematical questions provided in Igbo language. Supply the accurate\
\ numeric answer to the provided question. \n\nQuestion: {{question}} \nAnswer: "
include: afrimgsm_yaml
task: afrimgsm_ibo_prompt_5
# Generated by utils.py
dataset_name: kin
doc_to_text: "For mathematical questions provided in Kinyarwanda language. Supply\
\ the accurate numeric answer to the provided question. \n\nQuestion: {{question}}\
\ \nAnswer: "
include: afrimgsm_yaml
task: afrimgsm_kin_prompt_5
# Generated by utils.py
dataset_name: lin
doc_to_text: "For mathematical questions provided in Lingala language. Supply the\
\ accurate numeric answer to the provided question. \n\nQuestion: {{question}} \n\
Answer: "
include: afrimgsm_yaml
task: afrimgsm_lin_prompt_5
# Generated by utils.py
dataset_name: lug
doc_to_text: "For mathematical questions provided in Luganda language. Supply the\
\ accurate numeric answer to the provided question. \n\nQuestion: {{question}} \n\
Answer: "
include: afrimgsm_yaml
task: afrimgsm_lug_prompt_5
# Generated by utils.py
dataset_name: orm
doc_to_text: "For mathematical questions provided in Oromo language. Supply the accurate\
\ numeric answer to the provided question. \n\nQuestion: {{question}} \nAnswer: "
include: afrimgsm_yaml
task: afrimgsm_orm_prompt_5
# Generated by utils.py
dataset_name: sna
doc_to_text: "For mathematical questions provided in chiShona language. Supply the\
\ accurate numeric answer to the provided question. \n\nQuestion: {{question}} \n\
Answer: "
include: afrimgsm_yaml
task: afrimgsm_sna_prompt_5
# Generated by utils.py
dataset_name: sot
doc_to_text: "For mathematical questions provided in Sesotho language. Supply the\
\ accurate numeric answer to the provided question. \n\nQuestion: {{question}} \n\
Answer: "
include: afrimgsm_yaml
task: afrimgsm_sot_prompt_5
# Generated by utils.py
dataset_name: swa
doc_to_text: "For mathematical questions provided in Swahili language. Supply the\
\ accurate numeric answer to the provided question. \n\nQuestion: {{question}} \n\
Answer: "
include: afrimgsm_yaml
task: afrimgsm_swa_prompt_5
# Generated by utils.py
dataset_name: twi
doc_to_text: "For mathematical questions provided in Twi language. Supply the accurate\
\ numeric answer to the provided question. \n\nQuestion: {{question}} \nAnswer: "
include: afrimgsm_yaml
task: afrimgsm_twi_prompt_5
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