Skip to content

Commit e942e27

Browse files
authored
Update tasks.py
1 parent e74b68c commit e942e27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tasksource/tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -733,10 +733,10 @@ def _preprocess_chatgpt_detection(ex):
733733
scruples = Classification("text",labels="binarized_label",dataset_name="metaeval/scruples")
734734

735735
wouldyourather = MultipleChoice(constant(''), choices=['option_a','option_b'],
736-
labels= lambda x: int(x['votes_b']<['votes_a']),
736+
labels= lambda x: int(x['votes_a']<['votes_b']),
737737
dataset_name="metaeval/wouldyourather")
738738

739739
attempto_nli = Classification("premise","hypothesis","race_label",dataset_name="sileod/attempto-nli")
740740

741741
defeasible_nli = Classification(cat(["Premise","Hypothesis"]),"Update",labels="UpdateType",
742-
dataset_name="metaeval/defeasible-nli",config_name=['atomic', 'snli', 'social'])
742+
dataset_name="metaeval/defeasible-nli",config_name=['atomic', 'snli', 'social'])

0 commit comments

Comments
 (0)