system HF staff commited on
Commit
81ae4d0
1 Parent(s): 7ce356f

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. arxiv_dataset.py +1 -1
arxiv_dataset.py CHANGED
@@ -109,7 +109,7 @@ class ArxivDataset(datasets.GeneratorBasedBuilder):
109
  return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"path": path_to_manual_file})]
110
 
111
  def _generate_examples(self, path=None, title_set=None):
112
- """ Yields examples. """
113
  with open(path, encoding="utf8") as f:
114
  for i, entry in enumerate(f):
115
  data = dict(json.loads(entry))
 
109
  return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"path": path_to_manual_file})]
110
 
111
  def _generate_examples(self, path=None, title_set=None):
112
+ """Yields examples."""
113
  with open(path, encoding="utf8") as f:
114
  for i, entry in enumerate(f):
115
  data = dict(json.loads(entry))