Datasets:
Tasks:
Token Classification
Sub-tasks:
named-entity-recognition
Languages:
Turkish
Size:
100K<n<1M
License:
Update files from the datasets library (from 1.16.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.16.0
- turkish_shrinked_ner.py +1 -5
turkish_shrinked_ner.py
CHANGED
@@ -180,11 +180,7 @@ class TurkishShrinkedNER(datasets.GeneratorBasedBuilder):
|
|
180 |
path_to_manual_file = os.path.abspath(os.path.expanduser(dl_manager.manual_dir))
|
181 |
if not os.path.exists(path_to_manual_file):
|
182 |
raise FileNotFoundError(
|
183 |
-
"{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('turkish_shrinked_ner', data_dir=...)` that includes file name {}. Manual download instructions: {}"
|
184 |
-
path_to_manual_file,
|
185 |
-
_FILENAME,
|
186 |
-
self.manual_download_instructions,
|
187 |
-
)
|
188 |
)
|
189 |
return [
|
190 |
datasets.SplitGenerator(
|
|
|
180 |
path_to_manual_file = os.path.abspath(os.path.expanduser(dl_manager.manual_dir))
|
181 |
if not os.path.exists(path_to_manual_file):
|
182 |
raise FileNotFoundError(
|
183 |
+
"{path_to_manual_file} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('turkish_shrinked_ner', data_dir=...)` that includes file name {_FILENAME}. Manual download instructions: {self.manual_download_instructions}"
|
|
|
|
|
|
|
|
|
184 |
)
|
185 |
return [
|
186 |
datasets.SplitGenerator(
|