From 4f22933878a56bb0175e3b23ae6fbf5c3074f4be Mon Sep 17 00:00:00 2001 From: Huiying Li Date: Wed, 30 Oct 2024 16:53:27 -0700 Subject: [PATCH] minor fix Signed-off-by: Huiying Li --- scripts/checkpoint_converters/convert_nemo1_to_nemo2.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/checkpoint_converters/convert_nemo1_to_nemo2.py b/scripts/checkpoint_converters/convert_nemo1_to_nemo2.py index baebd47fc7ba..dd79c2ec18f0 100644 --- a/scripts/checkpoint_converters/convert_nemo1_to_nemo2.py +++ b/scripts/checkpoint_converters/convert_nemo1_to_nemo2.py @@ -128,7 +128,6 @@ def get_tokenizer(input_path: Path, tokenizer_tmp_dir: Path) -> AutoTokenizer: def main() -> None: - args = get_args() tokenizer_tmp_dir = Path("/tmp/nemo_tokenizer") tokenizer_tmp_dir.mkdir(parents=True, exist_ok=True) tokenizer = get_tokenizer(Path(args.input_path), tokenizer_tmp_dir)