fixed typo: logging instead of logger (#11025)

This commit is contained in:
versis
2021-04-02 15:22:22 +02:00
committed by GitHub
parent 34e1bec649
commit 335c0ca35c

View File

@@ -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