Datasets:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- orange_sum.py +1 -1
orange_sum.py
CHANGED
|
@@ -100,7 +100,7 @@ class OrangeSum(datasets.GeneratorBasedBuilder):
|
|
| 100 |
]
|
| 101 |
|
| 102 |
def _generate_examples(self, filepath, split):
|
| 103 |
-
"""
|
| 104 |
with open(
|
| 105 |
os.path.join(filepath, self.config.name, "{}.source".format(split)), encoding="utf-8"
|
| 106 |
) as f_source, open(
|
|
|
|
| 100 |
]
|
| 101 |
|
| 102 |
def _generate_examples(self, filepath, split):
|
| 103 |
+
"""Yields examples."""
|
| 104 |
with open(
|
| 105 |
os.path.join(filepath, self.config.name, "{}.source".format(split)), encoding="utf-8"
|
| 106 |
) as f_source, open(
|