Datasets:
Tasks:
Text Classification
Sub-tasks:
multi-label-classification
Languages:
English
Size:
100K<n<1M
License:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- jigsaw_toxicity_pred.py +1 -1
jigsaw_toxicity_pred.py
CHANGED
@@ -103,7 +103,7 @@ class JigsawToxicityPred(datasets.GeneratorBasedBuilder):
|
|
103 |
]
|
104 |
|
105 |
def _generate_examples(self, split="train", train_path=None, test_text_path=None, test_labels_path=None):
|
106 |
-
"""
|
107 |
# This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
|
108 |
# It is in charge of opening the given file and yielding (key, example) tuples from the dataset
|
109 |
# The key is not important, it's more here for legacy reason (legacy from tfds)
|
|
|
103 |
]
|
104 |
|
105 |
def _generate_examples(self, split="train", train_path=None, test_text_path=None, test_labels_path=None):
|
106 |
+
"""Yields examples."""
|
107 |
# This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
|
108 |
# It is in charge of opening the given file and yielding (key, example) tuples from the dataset
|
109 |
# The key is not important, it's more here for legacy reason (legacy from tfds)
|