From 335c0ca35c159f88d73198bdac928e61a4d480c7 Mon Sep 17 00:00:00 2001 From: versis Date: Fri, 2 Apr 2021 15:22:22 +0200 Subject: [PATCH] fixed typo: logging instead of logger (#11025) --- .../zero-shot-distillation/distill_classifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/research_projects/zero-shot-distillation/distill_classifier.py b/examples/research_projects/zero-shot-distillation/distill_classifier.py index a8ac17762d..52ce7c5e57 100644 --- a/examples/research_projects/zero-shot-distillation/distill_classifier.py +++ b/examples/research_projects/zero-shot-distillation/distill_classifier.py @@ -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