fixed typo: logging instead of logger (#11025)
This commit is contained in:
@@ -152,7 +152,7 @@ def get_entailment_id(config):
|
|||||||
for label, ind in config.label2id.items():
|
for label, ind in config.label2id.items():
|
||||||
if label.lower().startswith("entail"):
|
if label.lower().startswith("entail"):
|
||||||
return ind
|
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
|
return -1
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user