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 4a6cdc2 commit 2a61fa9Copy full SHA for 2a61fa9
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(str(path) + 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