Datasets:
Update files from the datasets library (from 1.16.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.16.0
turkish_movie_sentiment.py
CHANGED
@@ -93,9 +93,7 @@ class TurkishMovieSentiment(datasets.GeneratorBasedBuilder):
|
|
93 |
path_to_manual_file = os.path.abspath(os.path.expanduser(dl_manager.manual_dir))
|
94 |
if not os.path.exists(path_to_manual_file):
|
95 |
raise FileNotFoundError(
|
96 |
-
"{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('turkishmoviesentiment', data_dir=...)` that includes a file name {}. Manual download instructions: {})"
|
97 |
-
path_to_manual_file, _FILENAME, self.manual_download_instructions
|
98 |
-
)
|
99 |
)
|
100 |
return [
|
101 |
datasets.SplitGenerator(
|
|
|
93 |
path_to_manual_file = os.path.abspath(os.path.expanduser(dl_manager.manual_dir))
|
94 |
if not os.path.exists(path_to_manual_file):
|
95 |
raise FileNotFoundError(
|
96 |
+
f"{path_to_manual_file} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('turkishmoviesentiment', data_dir=...)` that includes a file name {_FILENAME}. Manual download instructions: {self.manual_download_instructions})"
|
|
|
|
|
97 |
)
|
98 |
return [
|
99 |
datasets.SplitGenerator(
|