system HF staff commited on
Commit
22dd838
1 Parent(s): 1f7ae72

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. asset.py +1 -1
asset.py CHANGED
@@ -140,7 +140,7 @@ class Asset(datasets.GeneratorBasedBuilder):
140
  ]
141
 
142
  def _generate_examples(self, filepaths, split):
143
- """ Yields examples. """
144
  if self.config.name == "simplification":
145
  files = [open(filepaths[f"asset.{split}.orig"], encoding="utf-8")] + [
146
  open(filepaths[f"asset.{split}.simp.{i}"], encoding="utf-8") for i in range(10)
 
140
  ]
141
 
142
  def _generate_examples(self, filepaths, split):
143
+ """Yields examples."""
144
  if self.config.name == "simplification":
145
  files = [open(filepaths[f"asset.{split}.orig"], encoding="utf-8")] + [
146
  open(filepaths[f"asset.{split}.simp.{i}"], encoding="utf-8") for i in range(10)