Skip to content

Commit 942d3f4

Browse files
committed
modifiy code of arc label insurance
1 parent ec4b1c6 commit 942d3f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/single_model_scripts/utils_multiple_choice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def normalize(truth):
269269
continue
270270
four_choice += 1
271271
truth = str(normalize(data_raw["answerKey"]))
272-
assert truth is not None
272+
assert truth != "None"
273273
question_choices = data_raw["question"]
274274
question = question_choices["stem"]
275275
id = data_raw["id"]

0 commit comments

Comments
 (0)