Skip to content

Commit

Permalink
fix commitmentbank labels (#1347)
Browse files Browse the repository at this point in the history
  • Loading branch information
zphang authored Feb 3, 2022
1 parent f71d0ba commit 127e021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jiant/tasks/lib/commitmentbank.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class CommitmentBankTask(SuperGlueMixin, Task):
Batch = Batch

TASK_TYPE = TaskTypes.CLASSIFICATION
LABELS = ["neutral", "entailment", "contradiction"]
LABELS = ["entailment", "contradiction", "neutral"]
LABEL_TO_ID, ID_TO_LABEL = labels_to_bimap(LABELS)

def get_train_examples(self):
Expand Down

0 comments on commit 127e021

Please sign in to comment.