Datasets:

Languages:
English
ArXiv:
License:
yasumasaonoe commited on
Commit
e1d29f7
·
verified ·
1 Parent(s): bd1e3d6

Update docci.py

Browse files
Files changed (1) hide show
  1. docci.py +3 -2
docci.py CHANGED
@@ -53,6 +53,7 @@ _FEATURES_DOCCI_AAR = datasets.Features(
53
  }
54
  )
55
 
 
56
  class DOCCI(datasets.GeneratorBasedBuilder):
57
  """DOCCI"""
58
 
@@ -86,8 +87,8 @@ class DOCCI(datasets.GeneratorBasedBuilder):
86
  return [
87
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={'data': data, 'split': 'train'}),
88
  datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={'data': data, 'split': 'test'}),
89
- datasets.SplitGenerator(name=datasets.Split.QUAL_DEV, gen_kwargs={'data': data, 'split': 'qual_dev'}),
90
- datasets.SplitGenerator(name=datasets.Split.QUAL_TEST, gen_kwargs={'data': data, 'split': 'qual_test'}),
91
  ]
92
  elif self.config.name == 'docci_aar':
93
  data = dl_manager.download_and_extract(_URLS_AAR)
 
53
  }
54
  )
55
 
56
+
57
  class DOCCI(datasets.GeneratorBasedBuilder):
58
  """DOCCI"""
59
 
 
87
  return [
88
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={'data': data, 'split': 'train'}),
89
  datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={'data': data, 'split': 'test'}),
90
+ datasets.SplitGenerator(name=datasets.Split("qual_dev"), gen_kwargs={'data': data, 'split': 'qual_dev'}),
91
+ datasets.SplitGenerator(name=datasets.Split("qual_test"), gen_kwargs={'data': data, 'split': 'qual_test'}),
92
  ]
93
  elif self.config.name == 'docci_aar':
94
  data = dl_manager.download_and_extract(_URLS_AAR)