Datasets:
GEM
/

Languages:
English
Multilinguality:
unknown
Size Categories:
unknown
Language Creators:
unknown
Annotations Creators:
none
Source Datasets:
original
License:
Abinaya Mahendiran commited on
Commit
ee69481
1 Parent(s): ce90d54

Minor fix to data loader script

Browse files
Files changed (1) hide show
  1. xsum.py +1 -1
xsum.py CHANGED
@@ -93,7 +93,7 @@ class Xsum(datasets.GeneratorBasedBuilder):
93
 
94
  def _generate_examples(self, filepath, split, filepaths=None, lang=None):
95
  """Yields examples."""
96
- if "challenge" in split:
97
  if "covid" in split:
98
  with open(filepath, encoding="utf-8") as f:
99
  id_ = -1
 
93
 
94
  def _generate_examples(self, filepath, split, filepaths=None, lang=None):
95
  """Yields examples."""
96
+ if "challenge" in split:
97
  if "covid" in split:
98
  with open(filepath, encoding="utf-8") as f:
99
  id_ = -1