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 94e93a7 commit b87e460Copy full SHA for b87e460
src/nlp/load.py
@@ -578,4 +578,6 @@ def load_from_disk(dataset_path: str) -> Union[Dataset, DatasetDict]:
578
elif os.path.exists(os.path.join(dataset_path, "dataset_dict.json")):
579
return DatasetDict.load_from_disk(dataset_path)
580
else:
581
- raise FileNotFoundError("Directory {} is neither a dataset directory nor a dataset dict directory.".format(dataset_path))
+ raise FileNotFoundError(
582
+ "Directory {} is neither a dataset directory nor a dataset dict directory.".format(dataset_path)
583
+ )
0 commit comments