Update discevalmt.py
Browse files- 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=
|
63 |
-
datasets.SplitGenerator(name=
|
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 |
|