Datasets:
Tasks:
Text Classification
Sub-tasks:
text-scoring
Languages:
English
Size:
1K<n<10K
Tags:
narrative-flow
License:
Update files from the datasets library (from 1.16.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.16.0
- hippocorpus.py +1 -3
hippocorpus.py
CHANGED
|
@@ -108,9 +108,7 @@ class Hippocorpus(datasets.GeneratorBasedBuilder):
|
|
| 108 |
|
| 109 |
if not os.path.exists(data_dir):
|
| 110 |
raise FileNotFoundError(
|
| 111 |
-
"{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('hippocorpus', data_dir=...)` that includes files unzipped from the hippocorpus zip. Manual download instructions: {}"
|
| 112 |
-
data_dir, self.manual_download_instructions
|
| 113 |
-
)
|
| 114 |
)
|
| 115 |
return [
|
| 116 |
datasets.SplitGenerator(
|
|
|
|
| 108 |
|
| 109 |
if not os.path.exists(data_dir):
|
| 110 |
raise FileNotFoundError(
|
| 111 |
+
"{data_dir} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('hippocorpus', data_dir=...)` that includes files unzipped from the hippocorpus zip. Manual download instructions: {self.manual_download_instructions}"
|
|
|
|
|
|
|
| 112 |
)
|
| 113 |
return [
|
| 114 |
datasets.SplitGenerator(
|