Skip to content

Commit

Permalink
file->folder
Browse files Browse the repository at this point in the history
  • Loading branch information
milocress committed Sep 19, 2024
1 parent a439f01 commit f026bff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llmfoundry/command_utils/data_prep/convert_text_to_mds.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
from llmfoundry.utils.exceptions import (
CannotUnicodeDecodeFile,
DatasetTooSmallError,
InputFileNotFound,
InputFolderMissingDataError,
InputFolderNotFound,
OutputFolderNotEmptyError,
)

Expand Down Expand Up @@ -133,7 +133,7 @@ def get_object_names(input_folder: str) -> list[str]:
]
log.info(f'Found {len(names)} text files in remote storage')
except FileNotFoundError:
raise InputFileNotFound(folder_prefix)
raise InputFolderNotFound(folder_prefix)

else:
# input_folder is a local folder
Expand Down

0 comments on commit f026bff

Please sign in to comment.