Datasets:

ArXiv:
License:
suolyer commited on
Commit
f5d4452
1 Parent(s): ab8bbae

Update testb.py

Browse files
Files changed (1) hide show
  1. testb.py +3 -2
testb.py CHANGED
@@ -30,8 +30,9 @@ class TestB(datasets.GeneratorBasedBuilder):
30
  )
31
  def _split_generators(self, dl_manager):
32
  dl_dir = dl_manager.download_and_extract(self.config.data_url+'/test.json') or ""
33
- task_name = _get_task_name_from_data_url(self.config.data_url)
34
- dl_dir = os.path.join(dl_dir, task_name)
 
35
  print('dl_dir',dl_dir)
36
  return [
37
  datasets.SplitGenerator(
 
30
  )
31
  def _split_generators(self, dl_manager):
32
  dl_dir = dl_manager.download_and_extract(self.config.data_url+'/test.json') or ""
33
+ print('dl_dir',dl_dir)
34
+ # task_name = _get_task_name_from_data_url(self.config.data_url)
35
+ # dl_dir = os.path.join(dl_dir, task_name)
36
  print('dl_dir',dl_dir)
37
  return [
38
  datasets.SplitGenerator(