Skip to content

Commit

Permalink
fixed typo: logging instead of logger (#11025)
Browse files Browse the repository at this point in the history
  • Loading branch information
versis authored Apr 2, 2021
1 parent 34e1bec commit 335c0ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def get_entailment_id(config):
for label, ind in config.label2id.items():
if label.lower().startswith("entail"):
return ind
logging.warning("Could not identify entailment dimension from teacher config label2id. Setting to -1.")
logger.warning("Could not identify entailment dimension from teacher config label2id. Setting to -1.")
return -1


Expand Down

0 comments on commit 335c0ca

Please sign in to comment.