Update multi_document_summarization.py
Browse files
multi_document_summarization.py
CHANGED
@@ -92,7 +92,7 @@ class MultiDocumentSum(datasets.GeneratorBasedBuilder):
|
|
92 |
data = json.load(f)
|
93 |
f.close()
|
94 |
for idx, el in enumerate(data):
|
95 |
-
ids = [id["id"] for id in
|
96 |
texts = [text["text"] for text in el["docs"]]
|
97 |
tmp = {"id": ids, "text": texts}
|
98 |
d = el.copy()
|
|
|
92 |
data = json.load(f)
|
93 |
f.close()
|
94 |
for idx, el in enumerate(data):
|
95 |
+
ids = [id["id"] for id in el["docs"]]
|
96 |
texts = [text["text"] for text in el["docs"]]
|
97 |
tmp = {"id": ids, "text": texts}
|
98 |
d = el.copy()
|