Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- crawl_domain.py +1 -1
crawl_domain.py
CHANGED
@@ -97,7 +97,7 @@ class CrawlDomain(datasets.GeneratorBasedBuilder):
|
|
97 |
]
|
98 |
|
99 |
def _generate_examples(self, filepath, split):
|
100 |
-
"""
|
101 |
with open(filepath, encoding="utf-8") as f:
|
102 |
for id_, row in enumerate(f):
|
103 |
yield id_, {
|
|
|
97 |
]
|
98 |
|
99 |
def _generate_examples(self, filepath, split):
|
100 |
+
"""Yields examples."""
|
101 |
with open(filepath, encoding="utf-8") as f:
|
102 |
for id_, row in enumerate(f):
|
103 |
yield id_, {
|