shivam commited on
Commit
b9a5358
·
1 Parent(s): 772e012

Initial Commit

Browse files
Files changed (1) hide show
  1. split-test.py +1 -1
split-test.py CHANGED
@@ -145,7 +145,7 @@ class SplitTest(datasets.GeneratorBasedBuilder):
145
  # TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
146
  # The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
147
 
148
- file_path = os.path.join(data_dir, "text." + _LANGS[self.config.name])
149
 
150
  with open(filepath, encoding="utf-8") as f:
151
  for key, row in enumerate(f):
 
145
  # TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
146
  # The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
147
 
148
+ file_path = os.path.join(filepath, "text." + _LANGS[self.config.name])
149
 
150
  with open(filepath, encoding="utf-8") as f:
151
  for key, row in enumerate(f):