fix keys
Browse files- pubmed-summarization.py +2 -2
pubmed-summarization.py
CHANGED
@@ -128,6 +128,6 @@ class PubMedSummarizationDataset(datasets.GeneratorBasedBuilder):
|
|
128 |
'section_names': List[str],
|
129 |
'sections': List[List[str]]
|
130 |
"""
|
131 |
-
article = data["
|
132 |
-
abstract = data["
|
133 |
yield id_, {"article": ' '.join(article), "abstract": ' '.join(abstract)}
|
|
|
128 |
'section_names': List[str],
|
129 |
'sections': List[List[str]]
|
130 |
"""
|
131 |
+
article = data["article_text"]
|
132 |
+
abstract = data["abstract_text"]
|
133 |
yield id_, {"article": ' '.join(article), "abstract": ' '.join(abstract)}
|