Update multi_document_summarization.py
Browse files
multi_document_summarization.py
CHANGED
@@ -88,7 +88,7 @@ class MultiDocumentSum(datasets.GeneratorBasedBuilder):
|
|
88 |
def _generate_examples(self, path=None):
|
89 |
"""Yields examples."""
|
90 |
print("*********************" + path.split("/")[-1])
|
91 |
-
with open(path) as f:
|
92 |
data = json.load(f)
|
93 |
f.close()
|
94 |
|
|
|
88 |
def _generate_examples(self, path=None):
|
89 |
"""Yields examples."""
|
90 |
print("*********************" + path.split("/")[-1])
|
91 |
+
with open(path, encoding="utf-8") as f:
|
92 |
data = json.load(f)
|
93 |
f.close()
|
94 |
|