Skip to content

Commit

Permalink
Apply isort and black reformatting
Browse files Browse the repository at this point in the history
Signed-off-by: akoumpa <[email protected]>
  • Loading branch information
akoumpa committed Jan 6, 2025
1 parent 2f85afa commit b45e00a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nemo/collections/nlp/modules/common/tokenizer_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b45e00a

Please sign in to comment.