ccdv commited on
Commit
543fb54
1 Parent(s): d86d4c7
Files changed (1) hide show
  1. arxiv-summarization.py +1 -1
arxiv-summarization.py CHANGED
@@ -117,7 +117,7 @@ class ArxivSummarizationDataset(datasets.GeneratorBasedBuilder):
117
  'section_names': List[str],
118
  'sections': List[List[str]]
119
  """
120
- if self.config.name == "section":
121
  article = data["article_text"]
122
  else:
123
  article = [item.strip() for sublist in data["sections"] for item in sublist]
 
117
  'section_names': List[str],
118
  'sections': List[List[str]]
119
  """
120
+ if self.config.name == "document":
121
  article = data["article_text"]
122
  else:
123
  article = [item.strip() for sublist in data["sections"] for item in sublist]