Commit 50967725 authored by lintangsutawika's avatar lintangsutawika
Browse files

fixed style

parent 4bff76d5
......@@ -7,4 +7,4 @@ task:
- mmlu_alt_ov_05
- mmlu_alt_ov_06
- mmlu_alt_ov_07
- mmlu_alt_ov_08
\ No newline at end of file
- mmlu_alt_ov_08
......@@ -4,7 +4,7 @@ from functools import partial
def doc_to_text_base(alphabet, style, doc):
choices = doc["choices"]["text"]
choices = doc["choices"]
num = len(choices)
letter_list = [style.format(letter) for letter in alphabet[0:num]]
......@@ -26,13 +26,13 @@ def doc_to_text_base(alphabet, style, doc):
# Full continuation
def choice_A(doc):
return doc["choices"]["text"]
return doc["choices"]
# Letters only
def choice_B(alphabet, style, doc):
choices = doc["choices"]["text"]
choices = doc["choices"]
num = len(choices)
letter_list = [style.format(letter) for letter in alphabet[0:num]]
......@@ -45,7 +45,7 @@ def choice_B(alphabet, style, doc):
# Letters + Full continuation
def choice_C(alphabet, style, doc):
choices = doc["choices"]["text"]
choices = doc["choices"]
num = len(choices)
letter_list = [style.format(letter) for letter in alphabet[0:num]]
......
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