Datasets:

License:
Mofe commited on
Commit
5d8cb6a
·
1 Parent(s): 6ecbc21

Update config

Browse files
Files changed (1) hide show
  1. ciral.py +1 -1
ciral.py CHANGED
@@ -152,7 +152,7 @@ class CIRAL(datasets.GeneratorBasedBuilder):
152
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
153
  def _generate_examples(self, filepaths):
154
  lang = self.config.name
155
- corpus = datasets.load_dataset('ciral/ciral-corpus', lang)['dev']
156
  docid2doc = {doc['docid']: doc['text'] for doc in corpus}
157
 
158
  query_file, qrel_file, pools_file = (filepaths) if len(filepaths) == 3 else (filepaths[0], filepaths[1], None)
 
152
  # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
153
  def _generate_examples(self, filepaths):
154
  lang = self.config.name
155
+ corpus = datasets.load_dataset('ciral/ciral-corpus', lang)
156
  docid2doc = {doc['docid']: doc['text'] for doc in corpus}
157
 
158
  query_file, qrel_file, pools_file = (filepaths) if len(filepaths) == 3 else (filepaths[0], filepaths[1], None)