mnemlaghi commited on
Commit
ce06684
1 Parent(s): c1da79a
Files changed (1) hide show
  1. widdd.py +3 -6
widdd.py CHANGED
@@ -83,12 +83,9 @@ class Widdd(datasets.GeneratorBasedBuilder):
83
  """Returns SplitGenerators."""
84
  downloaded_files = dl_manager.download(_URLs)
85
  return [
86
- datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath":downloaded_files["train"]},
87
- "files":_URLS["train"]),
88
- datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath":downloaded_files["test"]},,
89
- "files":_URLS["test"]),
90
- datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepath":downloaded_files["dev"]},
91
- "files":_URLS["dev"]),
92
  ]
93
 
94
  def _generate_examples(self, filepath, files):
 
83
  """Returns SplitGenerators."""
84
  downloaded_files = dl_manager.download(_URLs)
85
  return [
86
+ datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath":downloaded_files["train"], "files":_URLS["train"]}),
87
+ datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath":downloaded_files["test"], "files":_URLS["test"])},
88
+ datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepath":downloaded_files["dev"], "files":_URLS["dev"]}),
 
 
 
89
  ]
90
 
91
  def _generate_examples(self, filepath, files):