Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
flozi00 committed Jun 14, 2020
1 parent 4c624a0 commit 95aa829
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ def evaluate(self, eval_data, output_dir, verbose_logging=False):
"token_type_ids": batch[2],
}

if self.args["model_type"] in ["xlm", "roberta", "distilbert", "camembert", "electra", "xlmroberta","bart]:
if self.args["model_type"] in ["xlm", "roberta", "distilbert", "camembert", "electra", "xlmroberta","bart"]:
del inputs["token_type_ids"]

example_indices = batch[3]
Expand Down

0 comments on commit 95aa829

Please sign in to comment.