Datasets:
pierreguillou
commited on
Commit
·
2d9f4ce
1
Parent(s):
a931bd8
Update DocLayNet-small.py
Browse files- DocLayNet-small.py +2 -2
DocLayNet-small.py
CHANGED
@@ -100,12 +100,12 @@ class DocLayNet(datasets.GeneratorBasedBuilder):
|
|
100 |
# data = datasets.load_dataset('my_dataset', 'first_domain')
|
101 |
# data = datasets.load_dataset('my_dataset', 'second_domain')
|
102 |
BUILDER_CONFIGS = [
|
103 |
-
DocLayNetBuilderConfig(name="
|
104 |
]
|
105 |
|
106 |
BUILDER_CONFIG_CLASS = DocLayNetBuilderConfig
|
107 |
|
108 |
-
DEFAULT_CONFIG_NAME = "
|
109 |
|
110 |
def _info(self):
|
111 |
|
|
|
100 |
# data = datasets.load_dataset('my_dataset', 'first_domain')
|
101 |
# data = datasets.load_dataset('my_dataset', 'second_domain')
|
102 |
BUILDER_CONFIGS = [
|
103 |
+
DocLayNetBuilderConfig(name="DocLayNet_2022.08_processed_on_2023.01", splits=["train", "val", "test"], version=datasets.Version("1.0.0"), description="DocLayNeT small dataset"),
|
104 |
]
|
105 |
|
106 |
BUILDER_CONFIG_CLASS = DocLayNetBuilderConfig
|
107 |
|
108 |
+
DEFAULT_CONFIG_NAME = "DocLayNet_2022.08_processed_on_2023.01" # It's not mandatory to have a default configuration. Just use one if it make sense.
|
109 |
|
110 |
def _info(self):
|
111 |
|