Update multi_document_summarization.py
Browse files
multi_document_summarization.py
CHANGED
@@ -96,6 +96,6 @@ class MultiDocumentSum(datasets.GeneratorBasedBuilder):
|
|
96 |
#ids = [id["id"] for id in json.loads(el["docs"])]
|
97 |
#texts = [text["text"] for text in el["docs"]]
|
98 |
#tmp = {"id": ids, "text": texts}
|
99 |
-
d = el
|
100 |
-
d["docs"] = tmp
|
101 |
yield idx, d
|
|
|
96 |
#ids = [id["id"] for id in json.loads(el["docs"])]
|
97 |
#texts = [text["text"] for text in el["docs"]]
|
98 |
#tmp = {"id": ids, "text": texts}
|
99 |
+
d = el#.copy()
|
100 |
+
#d["docs"] = tmp
|
101 |
yield idx, d
|