Datasets:
Tasks:
Text Classification
Sub-tasks:
text-scoring
Languages:
English
Size:
1M<n<10M
Tags:
toxicity-prediction
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_unintended_bias.py
CHANGED
|
@@ -117,9 +117,7 @@ class JigsawUnintendedBias(datasets.GeneratorBasedBuilder):
|
|
| 117 |
|
| 118 |
if not os.path.exists(data_dir):
|
| 119 |
raise FileNotFoundError(
|
| 120 |
-
"{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('jigsaw_unintended_bias', data_dir=...)`. Manual download instructions: {}"
|
| 121 |
-
data_dir, self.manual_download_instructions
|
| 122 |
-
)
|
| 123 |
)
|
| 124 |
|
| 125 |
return [
|
|
|
|
| 117 |
|
| 118 |
if not os.path.exists(data_dir):
|
| 119 |
raise FileNotFoundError(
|
| 120 |
+
f"{data_dir} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('jigsaw_unintended_bias', data_dir=...)`. Manual download instructions: {self.manual_download_instructions}"
|
|
|
|
|
|
|
| 121 |
)
|
| 122 |
|
| 123 |
return [
|