We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31515da commit f5892f8Copy full SHA for f5892f8
nemo/collections/llm/gpt/data/pre_training.py
@@ -103,7 +103,7 @@ def validate_dataset_asset_accessibility(paths):
103
raise PermissionError(f"Expected {str(path)} to be readable.")
104
return
105
for suffix in suffices:
106
- file_path = path.with_suffix(suffix)
+ file_path = path.with_name(path.name + suffix)
107
if not file_path.exists():
108
raise FileNotFoundError(f"Expected {str(file_path)} to exist.")
109
if not os.access(file_path, os.R_OK):
0 commit comments