Update PubLayNet dataset card
Browse files
README.md
CHANGED
|
@@ -1,43 +1,34 @@
|
|
| 1 |
---
|
| 2 |
annotations_creators:
|
| 3 |
-
- machine-generated
|
| 4 |
-
language_creators:
|
| 5 |
-
- found
|
| 6 |
language:
|
| 7 |
-
- en
|
|
|
|
|
|
|
| 8 |
license:
|
| 9 |
-
- cdla-permissive-1.0
|
| 10 |
-
multilinguality:
|
| 11 |
-
- monolingual
|
| 12 |
-
size_categories: []
|
| 13 |
-
source_datasets:
|
| 14 |
-
- original
|
| 15 |
-
task_categories:
|
| 16 |
-
- image-classification
|
| 17 |
-
- image-segmentation
|
| 18 |
-
- image-to-text
|
| 19 |
-
- question-answering
|
| 20 |
-
- other
|
| 21 |
-
- multiple-choice
|
| 22 |
-
- token-classification
|
| 23 |
-
- tabular-to-text
|
| 24 |
-
- object-detection
|
| 25 |
-
- table-question-answering
|
| 26 |
-
- text-classification
|
| 27 |
-
- table-to-text
|
| 28 |
-
task_ids:
|
| 29 |
-
- multi-label-image-classification
|
| 30 |
-
- multi-class-image-classification
|
| 31 |
-
- semantic-segmentation
|
| 32 |
-
- image-captioning
|
| 33 |
-
- extractive-qa
|
| 34 |
-
- closed-domain-qa
|
| 35 |
-
- multiple-choice-qa
|
| 36 |
-
- named-entity-recognition
|
| 37 |
pretty_name: PubLayNet
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
tags:
|
| 39 |
-
-
|
| 40 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
dataset_info:
|
| 42 |
features:
|
| 43 |
- name: image_id
|
|
@@ -94,163 +85,69 @@ dataset_info:
|
|
| 94 |
num_examples: 11405
|
| 95 |
download_size: 107597638930
|
| 96 |
dataset_size: 106047207966.15099
|
| 97 |
-
configs:
|
| 98 |
-
- config_name: default
|
| 99 |
-
data_files:
|
| 100 |
-
- split: train
|
| 101 |
-
path: data/train-*
|
| 102 |
-
- split: validation
|
| 103 |
-
path: data/validation-*
|
| 104 |
-
- split: test
|
| 105 |
-
path: data/test-*
|
| 106 |
---
|
| 107 |
|
| 108 |
# Dataset Card for PubLayNet
|
| 109 |
|
| 110 |
-
[
|
| 114 |
-
- [Table of Contents](#table-of-contents)
|
| 115 |
-
- [Dataset Description](#dataset-description)
|
| 116 |
-
- [Dataset Summary](#dataset-summary)
|
| 117 |
-
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
| 118 |
-
- [Languages](#languages)
|
| 119 |
-
- [Dataset Structure](#dataset-structure)
|
| 120 |
-
- [Data Instances](#data-instances)
|
| 121 |
-
- [Data Fields](#data-fields)
|
| 122 |
-
- [Data Splits](#data-splits)
|
| 123 |
-
- [Dataset Creation](#dataset-creation)
|
| 124 |
-
- [Curation Rationale](#curation-rationale)
|
| 125 |
-
- [Source Data](#source-data)
|
| 126 |
-
- [Initial Data Collection and Normalization](#initial-data-collection-and-normalization)
|
| 127 |
-
- [Who are the source language producers?](#who-are-the-source-language-producers)
|
| 128 |
-
- [Annotations](#annotations)
|
| 129 |
-
- [Annotation process](#annotation-process)
|
| 130 |
-
- [Who are the annotators?](#who-are-the-annotators)
|
| 131 |
-
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
| 132 |
-
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
| 133 |
-
- [Social Impact of Dataset](#social-impact-of-dataset)
|
| 134 |
-
- [Discussion of Biases](#discussion-of-biases)
|
| 135 |
-
- [Other Known Limitations](#other-known-limitations)
|
| 136 |
-
- [Additional Information](#additional-information)
|
| 137 |
-
- [Dataset Curators](#dataset-curators)
|
| 138 |
-
- [Licensing Information](#licensing-information)
|
| 139 |
-
- [Citation Information](#citation-information)
|
| 140 |
-
- [Contributions](#contributions)
|
| 141 |
|
| 142 |
## Dataset Description
|
| 143 |
|
| 144 |
- **Homepage:** https://developer.ibm.com/exchanges/data/all/publaynet/
|
| 145 |
-
- **Repository:** https://github.com/
|
| 146 |
-
- **
|
| 147 |
-
- **Paper (
|
|
|
|
| 148 |
|
| 149 |
### Dataset Summary
|
| 150 |
|
| 151 |
-
PubLayNet is a
|
| 152 |
|
| 153 |
### Supported Tasks and Leaderboards
|
| 154 |
|
| 155 |
-
|
| 156 |
|
| 157 |
### Languages
|
| 158 |
|
| 159 |
-
|
| 160 |
|
| 161 |
## Dataset Structure
|
| 162 |
|
| 163 |
-
### Data Instances
|
| 164 |
-
|
| 165 |
-
```python
|
| 166 |
-
import datasets as ds
|
| 167 |
-
|
| 168 |
-
dataset = ds.load_dataset(
|
| 169 |
-
path="shunk031/PubLayNet",
|
| 170 |
-
decode_rle=True, # True if Run-length Encoding (RLE) is to be decoded and converted to binary mask.
|
| 171 |
-
)
|
| 172 |
-
```
|
| 173 |
-
|
| 174 |
### Data Fields
|
| 175 |
|
| 176 |
-
|
| 177 |
|
| 178 |
### Data Splits
|
| 179 |
|
| 180 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 181 |
|
| 182 |
## Dataset Creation
|
| 183 |
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
[More Information Needed]
|
| 187 |
-
|
| 188 |
-
### Source Data
|
| 189 |
-
|
| 190 |
-
[More Information Needed]
|
| 191 |
-
|
| 192 |
-
#### Initial Data Collection and Normalization
|
| 193 |
-
|
| 194 |
-
[More Information Needed]
|
| 195 |
-
|
| 196 |
-
#### Who are the source language producers?
|
| 197 |
-
|
| 198 |
-
[More Information Needed]
|
| 199 |
-
|
| 200 |
-
### Annotations
|
| 201 |
-
|
| 202 |
-
[More Information Needed]
|
| 203 |
-
|
| 204 |
-
#### Annotation process
|
| 205 |
-
|
| 206 |
-
[More Information Needed]
|
| 207 |
-
|
| 208 |
-
#### Who are the annotators?
|
| 209 |
-
|
| 210 |
-
[More Information Needed]
|
| 211 |
-
|
| 212 |
-
### Personal and Sensitive Information
|
| 213 |
-
|
| 214 |
-
[More Information Needed]
|
| 215 |
|
| 216 |
## Considerations for Using the Data
|
| 217 |
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
[More Information Needed]
|
| 221 |
-
|
| 222 |
-
### Discussion of Biases
|
| 223 |
-
|
| 224 |
-
[More Information Needed]
|
| 225 |
-
|
| 226 |
-
### Other Known Limitations
|
| 227 |
-
|
| 228 |
-
[More Information Needed]
|
| 229 |
|
| 230 |
## Additional Information
|
| 231 |
|
| 232 |
-
### Dataset Curators
|
| 233 |
-
|
| 234 |
-
[More Information Needed]
|
| 235 |
-
|
| 236 |
### Licensing Information
|
| 237 |
|
| 238 |
-
|
| 239 |
|
| 240 |
### Citation Information
|
| 241 |
|
| 242 |
-
|
| 243 |
```bibtex
|
| 244 |
@inproceedings{zhong2019publaynet,
|
| 245 |
title={Publaynet: largest dataset ever for document layout analysis},
|
| 246 |
author={Zhong, Xu and Tang, Jianbin and Yepes, Antonio Jimeno},
|
| 247 |
booktitle={2019 International Conference on Document Analysis and Recognition (ICDAR)},
|
| 248 |
pages={1015--1022},
|
| 249 |
-
year={2019}
|
| 250 |
-
organization={IEEE}
|
| 251 |
}
|
| 252 |
```
|
| 253 |
-
|
| 254 |
-
### Contributions
|
| 255 |
-
|
| 256 |
-
Thanks to [ibm-aur-nlp/PubLayNet](https://github.com/ibm-aur-nlp/PubLayNet) for creating this dataset.
|
|
|
|
| 1 |
---
|
| 2 |
annotations_creators:
|
| 3 |
+
- machine-generated
|
|
|
|
|
|
|
| 4 |
language:
|
| 5 |
+
- en
|
| 6 |
+
language_creators:
|
| 7 |
+
- found
|
| 8 |
license:
|
| 9 |
+
- cdla-permissive-1.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
pretty_name: PubLayNet
|
| 11 |
+
size_categories:
|
| 12 |
+
- 100K<n<1M
|
| 13 |
+
source_datasets:
|
| 14 |
+
- original
|
| 15 |
tags:
|
| 16 |
+
- document-layout-analysis
|
| 17 |
+
- object-detection
|
| 18 |
+
- segmentation
|
| 19 |
+
task_categories:
|
| 20 |
+
- object-detection
|
| 21 |
+
- image-segmentation
|
| 22 |
+
task_ids: []
|
| 23 |
+
configs:
|
| 24 |
+
- config_name: default
|
| 25 |
+
data_files:
|
| 26 |
+
- split: train
|
| 27 |
+
path: data/train-*
|
| 28 |
+
- split: validation
|
| 29 |
+
path: data/validation-*
|
| 30 |
+
- split: test
|
| 31 |
+
path: data/test-*
|
| 32 |
dataset_info:
|
| 33 |
features:
|
| 34 |
- name: image_id
|
|
|
|
| 85 |
num_examples: 11405
|
| 86 |
download_size: 107597638930
|
| 87 |
dataset_size: 106047207966.15099
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
---
|
| 89 |
|
| 90 |
# Dataset Card for PubLayNet
|
| 91 |
|
| 92 |
+
[](https://github.com/creative-graphic-design/huggingface-datasets/actions/workflows/ci.yaml)
|
| 93 |
+
[](https://github.com/creative-graphic-design/huggingface-datasets/actions/workflows/push_to_hub.yaml)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
|
| 95 |
## Dataset Description
|
| 96 |
|
| 97 |
- **Homepage:** https://developer.ibm.com/exchanges/data/all/publaynet/
|
| 98 |
+
- **Repository:** https://github.com/creative-graphic-design/huggingface-datasets/tree/main/datasets/PubLayNet
|
| 99 |
+
- **Hugging Face Dataset:** https://huggingface.co/datasets/creative-graphic-design/PubLayNet
|
| 100 |
+
- **Paper (arXiv):** https://arxiv.org/abs/1908.07836
|
| 101 |
+
- **Paper (ICDAR 2019):** https://ieeexplore.ieee.org/document/8977963
|
| 102 |
|
| 103 |
### Dataset Summary
|
| 104 |
|
| 105 |
+
PubLayNet is a large document layout analysis dataset built by automatically matching XML representations and PDF content from more than one million PubMed Central Open Access articles. It contains more than 360,000 document images with COCO-style annotations for common layout elements such as text, title, list, table, and figure regions.
|
| 106 |
|
| 107 |
### Supported Tasks and Leaderboards
|
| 108 |
|
| 109 |
+
The dataset supports document layout object detection and segmentation. No leaderboard is bundled with this Hugging Face packaging.
|
| 110 |
|
| 111 |
### Languages
|
| 112 |
|
| 113 |
+
Document content is primarily English (`en`), but the task is visual document layout analysis.
|
| 114 |
|
| 115 |
## Dataset Structure
|
| 116 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
### Data Fields
|
| 118 |
|
| 119 |
+
Rows contain `image_id`, `file_name`, `width`, `height`, `image`, and COCO-style `annotations`.
|
| 120 |
|
| 121 |
### Data Splits
|
| 122 |
|
| 123 |
+
| Split | Rows |
|
| 124 |
+
| --- | ---: |
|
| 125 |
+
| train | 335,703 |
|
| 126 |
+
| validation | 11,245 |
|
| 127 |
+
| test | 11,405 |
|
| 128 |
|
| 129 |
## Dataset Creation
|
| 130 |
|
| 131 |
+
PubLayNet was created from automatically parsed document layouts and released for large-scale document layout analysis.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
|
| 133 |
## Considerations for Using the Data
|
| 134 |
|
| 135 |
+
The dataset is document-centric and may not represent all document domains or non-English layout conventions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 136 |
|
| 137 |
## Additional Information
|
| 138 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 139 |
### Licensing Information
|
| 140 |
|
| 141 |
+
This dataset card uses the CDLA Permissive 1.0 license metadata from the local loader.
|
| 142 |
|
| 143 |
### Citation Information
|
| 144 |
|
|
|
|
| 145 |
```bibtex
|
| 146 |
@inproceedings{zhong2019publaynet,
|
| 147 |
title={Publaynet: largest dataset ever for document layout analysis},
|
| 148 |
author={Zhong, Xu and Tang, Jianbin and Yepes, Antonio Jimeno},
|
| 149 |
booktitle={2019 International Conference on Document Analysis and Recognition (ICDAR)},
|
| 150 |
pages={1015--1022},
|
| 151 |
+
year={2019}
|
|
|
|
| 152 |
}
|
| 153 |
```
|
|
|
|
|
|
|
|
|
|
|
|