From b45e00a04f0e64fce85a7c61bd6cfae9a3461b8d Mon Sep 17 00:00:00 2001 From: akoumpa Date: Mon, 6 Jan 2025 22:15:24 +0000 Subject: [PATCH] Apply isort and black reformatting Signed-off-by: akoumpa --- nemo/collections/nlp/modules/common/tokenizer_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nemo/collections/nlp/modules/common/tokenizer_utils.py b/nemo/collections/nlp/modules/common/tokenizer_utils.py index 2f43aac2edd8..f066ade86811 100644 --- a/nemo/collections/nlp/modules/common/tokenizer_utils.py +++ b/nemo/collections/nlp/modules/common/tokenizer_utils.py @@ -171,6 +171,7 @@ def get_nmt_tokenizer( """ import omegaconf from omegaconf import OmegaConf + if isinstance(special_tokens, omegaconf.listconfig.ListConfig): special_tokens = OmegaConf.to_container(special_tokens) if special_tokens is None: