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: