rbawden commited on
Commit
569d348
·
verified ·
1 Parent(s): a6784b6

Update discevalmt.py

Browse files
Files changed (1) hide show
  1. discevalmt.py +2 -2
discevalmt.py CHANGED
@@ -59,7 +59,7 @@ class DiscEvalMT(datasets.GeneratorBasedBuilder):
59
  def _split_generators(self, dl_manager):
60
  downloaded_files = dl_manager.download_and_extract(_URLS)
61
 
62
- return [datasets.SplitGenerator(name="test-anaphora", gen_kwargs={'filepath': downloaded_files['test-anaphora']}),
63
- datasets.SplitGenerator(name="test-lexical_choice", gen_kwargs={'filepath': downloaded_files['test-lexical_choice']}),
64
  ]
65
 
 
59
  def _split_generators(self, dl_manager):
60
  downloaded_files = dl_manager.download_and_extract(_URLS)
61
 
62
+ return [datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={'filepath': downloaded_files['test-anaphora']}),
63
+ datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={'filepath': downloaded_files['test-lexical_choice']}),
64
  ]
65