Datasets:
yasumasaonoe
commited on
Update docci.py
Browse files
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
|
90 |
-
datasets.SplitGenerator(name=datasets.Split
|
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)
|