Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- xsum_factuality.py +1 -1
xsum_factuality.py
CHANGED
@@ -142,7 +142,7 @@ class XsumFactuality(datasets.GeneratorBasedBuilder):
|
|
142 |
]
|
143 |
|
144 |
def _generate_examples(self, filepath, split):
|
145 |
-
"""
|
146 |
|
147 |
with open(filepath, encoding="utf-8") as f:
|
148 |
f_csv = csv.reader(f, delimiter=",", quotechar='"')
|
|
|
142 |
]
|
143 |
|
144 |
def _generate_examples(self, filepath, split):
|
145 |
+
"""Yields examples."""
|
146 |
|
147 |
with open(filepath, encoding="utf-8") as f:
|
148 |
f_csv = csv.reader(f, delimiter=",", quotechar='"')
|