Datasets:

ArXiv:
License:
albertvillanova HF staff commited on
Commit
883841d
1 Parent(s): 58e2235

Fix bug in script

Browse files
Files changed (1) hide show
  1. menyo20k_mt.py +1 -1
menyo20k_mt.py CHANGED
@@ -95,7 +95,7 @@ class Menyo20kMt(datasets.GeneratorBasedBuilder):
95
 
96
  def _split_generators(self, dl_manager):
97
  """Returns SplitGenerators."""
98
- data_files = dl_manager.download(_URLs)
99
  return [
100
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": data_files["train"]}),
101
  datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepath": data_files["dev"]}),
 
95
 
96
  def _split_generators(self, dl_manager):
97
  """Returns SplitGenerators."""
98
+ data_files = dl_manager.download(_URLS)
99
  return [
100
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": data_files["train"]}),
101
  datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepath": data_files["dev"]}),