Update multi_document_summarization.py
Browse files
multi_document_summarization.py
CHANGED
|
@@ -91,9 +91,8 @@ class MultiDocumentSum(datasets.GeneratorBasedBuilder):
|
|
| 91 |
data = f.readlines()#json.load(f)
|
| 92 |
f.close()
|
| 93 |
print("************")
|
| 94 |
-
print(data)
|
| 95 |
for idx, el in enumerate(data):
|
| 96 |
-
print("************")
|
| 97 |
print(el)
|
| 98 |
ids = [id["id"] for id in el["docs"]]
|
| 99 |
texts = [text["text"] for text in el["docs"]]
|
|
|
|
| 91 |
data = f.readlines()#json.load(f)
|
| 92 |
f.close()
|
| 93 |
print("************")
|
| 94 |
+
print(type(data))
|
| 95 |
for idx, el in enumerate(data):
|
|
|
|
| 96 |
print(el)
|
| 97 |
ids = [id["id"] for id in el["docs"]]
|
| 98 |
texts = [text["text"] for text in el["docs"]]
|