ccdv commited on
Commit
6cd65c2
1 Parent(s): d73e1f3
Files changed (1) hide show
  1. 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["article"]
132
- abstract = data["abstract"]
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)}