system HF staff commited on
Commit
8d4c5df
1 Parent(s): e3009c8

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. openwebtext.py +1 -1
openwebtext.py CHANGED
@@ -80,7 +80,7 @@ class Openwebtext(datasets.GeneratorBasedBuilder):
80
  ]
81
 
82
  def _generate_examples(self, txt_files):
83
- """ Yields examples. """
84
  for idx, filepath in enumerate(txt_files):
85
  with open(filepath, encoding="utf-8") as f:
86
  yield idx, {"text": re.sub("\n\n\n+", "\n\n", f.read()).strip()}
 
80
  ]
81
 
82
  def _generate_examples(self, txt_files):
83
+ """Yields examples."""
84
  for idx, filepath in enumerate(txt_files):
85
  with open(filepath, encoding="utf-8") as f:
86
  yield idx, {"text": re.sub("\n\n\n+", "\n\n", f.read()).strip()}