system HF staff commited on
Commit
ff91a09
1 Parent(s): 2a7f54a

Update files from the datasets library (from 1.6.1)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.6.1

Files changed (1) hide show
  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
- """ 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)
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)