Commit 573d1401 authored by lintangsutawika's avatar lintangsutawika
Browse files

precommit format

parent 1cee9303
dataset_name: fra dataset_name: fra
<<<<<<< HEAD
include: _translate_yaml include: _translate_yaml
=======
include: afrimmlu_common_translate_yaml
>>>>>>> 0571eeb14d4e48aac51956a726c62cd8b382b3d8
task: afrimmlu_translate_fra task: afrimmlu_translate_fra
dataset_name: hau dataset_name: hau
<<<<<<< HEAD
include: _translate_yaml include: _translate_yaml
=======
include: afrimmlu_common_translate_yaml
>>>>>>> 0571eeb14d4e48aac51956a726c62cd8b382b3d8
task: afrimmlu_translate_hau task: afrimmlu_translate_hau
dataset_name: ibo dataset_name: ibo
<<<<<<< HEAD
include: _translate_yaml include: _translate_yaml
=======
include: afrimmlu_common_translate_yaml
>>>>>>> 0571eeb14d4e48aac51956a726c62cd8b382b3d8
task: afrimmlu_translate_ibo task: afrimmlu_translate_ibo
dataset_name: kin dataset_name: kin
<<<<<<< HEAD
include: _translate_yaml include: _translate_yaml
=======
include: afrimmlu_common_translate_yaml
>>>>>>> 0571eeb14d4e48aac51956a726c62cd8b382b3d8
task: afrimmlu_translate_kin task: afrimmlu_translate_kin
dataset_name: lin dataset_name: lin
<<<<<<< HEAD
include: _translate_yaml include: _translate_yaml
=======
include: afrimmlu_common_translate_yaml
>>>>>>> 0571eeb14d4e48aac51956a726c62cd8b382b3d8
task: afrimmlu_translate_lin task: afrimmlu_translate_lin
dataset_name: lug dataset_name: lug
<<<<<<< HEAD
include: _translate_yaml include: _translate_yaml
=======
include: afrimmlu_common_translate_yaml
>>>>>>> 0571eeb14d4e48aac51956a726c62cd8b382b3d8
task: afrimmlu_translate_lug task: afrimmlu_translate_lug
dataset_name: orm dataset_name: orm
<<<<<<< HEAD
include: _translate_yaml include: _translate_yaml
=======
include: afrimmlu_common_translate_yaml
>>>>>>> 0571eeb14d4e48aac51956a726c62cd8b382b3d8
task: afrimmlu_translate_orm task: afrimmlu_translate_orm
dataset_name: sna dataset_name: sna
<<<<<<< HEAD
include: _translate_yaml include: _translate_yaml
=======
include: afrimmlu_common_translate_yaml
>>>>>>> 0571eeb14d4e48aac51956a726c62cd8b382b3d8
task: afrimmlu_translate_sna task: afrimmlu_translate_sna
dataset_name: sot dataset_name: sot
<<<<<<< HEAD
include: _translate_yaml include: _translate_yaml
=======
include: afrimmlu_common_translate_yaml
>>>>>>> 0571eeb14d4e48aac51956a726c62cd8b382b3d8
task: afrimmlu_translate_sot task: afrimmlu_translate_sot
dataset_name: swa dataset_name: swa
<<<<<<< HEAD
include: _translate_yaml include: _translate_yaml
=======
include: afrimmlu_common_translate_yaml
>>>>>>> 0571eeb14d4e48aac51956a726c62cd8b382b3d8
task: afrimmlu_translate_swa task: afrimmlu_translate_swa
dataset_name: twi dataset_name: twi
<<<<<<< HEAD
include: _translate_yaml include: _translate_yaml
=======
include: afrimmlu_common_translate_yaml
>>>>>>> 0571eeb14d4e48aac51956a726c62cd8b382b3d8
task: afrimmlu_translate_twi task: afrimmlu_translate_twi
dataset_name: wol dataset_name: wol
<<<<<<< HEAD
include: _translate_yaml include: _translate_yaml
=======
include: afrimmlu_common_translate_yaml
>>>>>>> 0571eeb14d4e48aac51956a726c62cd8b382b3d8
task: afrimmlu_translate_wol task: afrimmlu_translate_wol
dataset_name: xho dataset_name: xho
<<<<<<< HEAD
include: _translate_yaml include: _translate_yaml
=======
include: afrimmlu_common_translate_yaml
>>>>>>> 0571eeb14d4e48aac51956a726c62cd8b382b3d8
task: afrimmlu_translate_xho task: afrimmlu_translate_xho
dataset_name: yor dataset_name: yor
<<<<<<< HEAD
include: _translate_yaml include: _translate_yaml
=======
include: afrimmlu_common_translate_yaml
>>>>>>> 0571eeb14d4e48aac51956a726c62cd8b382b3d8
task: afrimmlu_translate_yor task: afrimmlu_translate_yor
dataset_name: zul dataset_name: zul
<<<<<<< HEAD
include: _translate_yaml include: _translate_yaml
=======
include: afrimmlu_common_translate_yaml
>>>>>>> 0571eeb14d4e48aac51956a726c62cd8b382b3d8
task: afrimmlu_translate_zul task: afrimmlu_translate_zul
...@@ -30,14 +30,3 @@ def doc_to_text(doc): ...@@ -30,14 +30,3 @@ def doc_to_text(doc):
choice4=choices[3], choice4=choices[3],
) )
return text return text
<<<<<<< HEAD
def weighted_f1_score(items):
unzipped_list = list(zip(*items))
golds = unzipped_list[0]
preds = unzipped_list[1]
fscore = f1_score(golds, preds, average="weighted")
return fscore
=======
>>>>>>> 0571eeb14d4e48aac51956a726c62cd8b382b3d8
...@@ -30,14 +30,3 @@ def doc_to_text(doc): ...@@ -30,14 +30,3 @@ def doc_to_text(doc):
choice4=choices[3], choice4=choices[3],
) )
return text return text
<<<<<<< HEAD
def weighted_f1_score(items):
unzipped_list = list(zip(*items))
golds = unzipped_list[0]
preds = unzipped_list[1]
fscore = f1_score(golds, preds, average="weighted")
return fscore
=======
>>>>>>> 0571eeb14d4e48aac51956a726c62cd8b382b3d8
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