Datasets:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- hkcancor.py +1 -1
hkcancor.py
CHANGED
@@ -242,7 +242,7 @@ class Hkcancor(datasets.GeneratorBasedBuilder):
|
|
242 |
]
|
243 |
|
244 |
def _generate_examples(self, data_dir, split):
|
245 |
-
"""
|
246 |
|
247 |
downloaded_files = [os.path.join(data_dir, fn) for fn in sorted(os.listdir(data_dir))]
|
248 |
for filepath in downloaded_files:
|
|
|
242 |
]
|
243 |
|
244 |
def _generate_examples(self, data_dir, split):
|
245 |
+
"""Yields examples."""
|
246 |
|
247 |
downloaded_files = [os.path.join(data_dir, fn) for fn in sorted(os.listdir(data_dir))]
|
248 |
for filepath in downloaded_files:
|