Datasets:
Tasks:
Text Classification
Sub-tasks:
multi-label-classification
Languages:
English
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
- jigsaw_toxicity_pred.py +1 -3
jigsaw_toxicity_pred.py
CHANGED
@@ -80,9 +80,7 @@ class JigsawToxicityPred(datasets.GeneratorBasedBuilder):
|
|
80 |
|
81 |
if not os.path.exists(data_dir):
|
82 |
raise FileNotFoundError(
|
83 |
-
"{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('jigsaw_toxicity_pred', data_dir=...)`. Manual download instructions: {}"
|
84 |
-
data_dir, self.manual_download_instructions
|
85 |
-
)
|
86 |
)
|
87 |
|
88 |
return [
|
|
|
80 |
|
81 |
if not os.path.exists(data_dir):
|
82 |
raise FileNotFoundError(
|
83 |
+
f"{data_dir} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('jigsaw_toxicity_pred', data_dir=...)`. Manual download instructions: {self.manual_download_instructions}"
|
|
|
|
|
84 |
)
|
85 |
|
86 |
return [
|