peacock-data-public-datasets-idc-cronscript
/
lm-evaluation-harness
/lm_eval
/tasks
/indiccopa
/indiccopa_hi.yaml
# This file will be included in the generated language-specific task configs. | |
# It doesn't have a yaml file extension as it is not meant to be imported directly | |
# by the harness. | |
group: ai4bharat/IndicCOPA | |
dataset_path: ai4bharat/IndicCOPA | |
dataset_name: translation-hi | |
output_type: multiple_choice | |
# training_split: train | |
# validation_split: validation | |
test_split: test | |
# doc_to_text: "Premise: {{premise}}\nGiven the premise what is the {{question}}\nPlease Choose Among following 2 choices and label them as 0 for 1st choice and 1 for 2nd choice." | |
# doc_to_target: label | |
# doc_to_choice: "{{choice1}}{{choice2}}" | |
# metric_list: | |
# - metric: acc | |
# aggregation: mean | |
# higher_is_better: true | |
# metadata: | |
# version: 1.0 | |
doc_to_text: !function utils.doc_to_text_hi | |
doc_to_target: label | |
doc_to_choice: !function utils.doc_to_choice | |
metric_list: | |
- metric: acc | |
metadata: | |
version: 1.0 | |
task: indiccopa-hi | |