From 4a7f814e341d9f80d7f8784fe46d5c8672f708d0 Mon Sep 17 00:00:00 2001 From: Alireza Moradzadeh Date: Fri, 3 Jan 2025 12:26:28 -0600 Subject: [PATCH] Update pre_training.py fix typo bug Signed-off-by: Alireza Moradzadeh --- nemo/collections/llm/gpt/data/pre_training.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nemo/collections/llm/gpt/data/pre_training.py b/nemo/collections/llm/gpt/data/pre_training.py index 34075a569500..f70c4acff961 100644 --- a/nemo/collections/llm/gpt/data/pre_training.py +++ b/nemo/collections/llm/gpt/data/pre_training.py @@ -73,7 +73,7 @@ def validate_dataset_asset_accessibility(paths): validate_dataset_asset_accessibility(p) return - if not isinstance(paths, str) and not isisntance(paths, Path): + if not isinstance(paths, str) and not isntance(paths, Path): raise ValueError("Expected path to be of string or Path type.") path = Path(paths)