Datasets:
GEM
/

Languages:
English
Multilinguality:
unknown
Size Categories:
unknown
Language Creators:
unknown
Annotations Creators:
none
Source Datasets:
original
ArXiv:
Tags:
data-to-text
License:
Abinaya Mahendiran commited on
Commit
ca65b5a
1 Parent(s): 7e08b55

Fixed indentation in data loader script

Browse files
Files changed (1) hide show
  1. totto.py +1 -1
totto.py CHANGED
@@ -118,7 +118,7 @@ class Mlsum(datasets.GeneratorBasedBuilder):
118
 
119
  def _generate_examples(self, filepath, split, filepaths=None, lang=None):
120
  """Yields examples."""
121
- if "challenge" in split:
122
  exples = json.load(open(filepath, encoding="utf-8"))
123
  if isinstance(exples, dict):
124
  assert len(exples) == 1, "multiple entries found"
 
118
 
119
  def _generate_examples(self, filepath, split, filepaths=None, lang=None):
120
  """Yields examples."""
121
+ if "challenge" in split:
122
  exples = json.load(open(filepath, encoding="utf-8"))
123
  if isinstance(exples, dict):
124
  assert len(exples) == 1, "multiple entries found"