rbawden commited on
Commit
ad2402f
·
verified ·
1 Parent(s): 6d62743

Update discevalmt.py

Browse files
Files changed (1) hide show
  1. discevalmt.py +3 -3
discevalmt.py CHANGED
@@ -26,8 +26,8 @@ English-French hand-crafted contrastive test set to test anaphora and lexical ch
26
  '''
27
 
28
  _URLS = {
29
- 'test-lexical_choice': 'lexical_choice.json',
30
- 'test-anaphora': 'anaphora.json'
31
  }
32
 
33
 
@@ -59,5 +59,5 @@ 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=datasets.Split.TEST_ANAPHORA, gen_kwargs={'filepath': downloaded_files['test-anaphora']})]
63
 
 
26
  '''
27
 
28
  _URLS = {
29
+ 'test-lexical_choice': 'eval/lexical_choice.json',
30
+ 'test-anaphora': 'eval/anaphora.json'
31
  }
32
 
33
 
 
59
  def _split_generators(self, dl_manager):
60
  downloaded_files = dl_manager.download_and_extract(_URLS)
61
 
62
+ return [datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={'filepath': downloaded_files['eval/anaphora.json']})]
63