DrakuTheDragon commited on
Commit
c2cc12c
·
1 Parent(s): dc7e864

Update Test.py

Browse files
Files changed (1) hide show
  1. Test.py +1 -1
Test.py CHANGED
@@ -70,7 +70,7 @@ class QAHarvestingFromWikipedia(datasets.GeneratorBasedBuilder):
70
  def _split_generators(self, dl_manager):
71
  downloaded_file = dl_manager.download_and_extract(_URLS)
72
  return [datasets.SplitGenerator(name=i, gen_kwargs={"filepath": downloaded_file[str(i)]})
73
- for i in ["0_train"]]
74
 
75
  def _generate_examples(self, filepath):
76
  """This function returns the examples in the raw (text) form."""
 
70
  def _split_generators(self, dl_manager):
71
  downloaded_file = dl_manager.download_and_extract(_URLS)
72
  return [datasets.SplitGenerator(name=i, gen_kwargs={"filepath": downloaded_file[str(i)]})
73
+ for i in ["0_train","1_train","2_train","3_train","4_train","5_train","6_train","7_train","8_train","9_train"]]
74
 
75
  def _generate_examples(self, filepath):
76
  """This function returns the examples in the raw (text) form."""