arka0821 commited on
Commit
150c021
·
1 Parent(s): 9da5743

Update multi_document_summarization.py

Browse files
Files changed (1) hide show
  1. multi_document_summarization.py +2 -2
multi_document_summarization.py CHANGED
@@ -86,7 +86,7 @@ class MultiDocumentSum(datasets.GeneratorBasedBuilder):
86
  ),
87
  ]
88
 
89
- def _generate_examples(self, path=None):
90
  """Yields examples."""
91
  with open(path, encoding="utf-8") as f:
92
  data = json.load(f)
@@ -99,4 +99,4 @@ class MultiDocumentSum(datasets.GeneratorBasedBuilder):
99
  tmp = {"cite_N": cite_n, "mid": cite_n_mid, "abstract": cite_n_abstract}
100
  d = el.copy()
101
  d["summary"] = tmp
102
- yield idx, d
 
86
  ),
87
  ]
88
 
89
+ ''' def _generate_examples(self, path=None):
90
  """Yields examples."""
91
  with open(path, encoding="utf-8") as f:
92
  data = json.load(f)
 
99
  tmp = {"cite_N": cite_n, "mid": cite_n_mid, "abstract": cite_n_abstract}
100
  d = el.copy()
101
  d["summary"] = tmp
102
+ yield idx, d'''