Datasets:
Commit
·
82a0b5c
1
Parent(s):
acd88c0
Update README.md
Browse files
README.md
CHANGED
|
@@ -49,8 +49,9 @@ At last, in order to use Hugging Face notebooks on fine-tuning layout models lik
|
|
| 49 |
For all these reasons, I decided to process the DocLayNet dataset:
|
| 50 |
- into 3 datasets of different sizes:
|
| 51 |
- [DocLayNet small](https://huggingface.co/datasets/pierreguillou/DocLayNet-small) < 1.000k document images (691 train, 64 val, 49 test)
|
| 52 |
-
- [DocLayNet base](https://huggingface.co/datasets/pierreguillou/DocLayNet-base) < 10.000k document images
|
| 53 |
- DocLayNet large with full dataset (to be done)
|
|
|
|
| 54 |
- and in a format facilitating their use by HF notebooks.
|
| 55 |
|
| 56 |
*Note: the layout HF notebooks will greatly help participants of the IBM [ICDAR 2023 Competition on Robust Layout Segmentation in Corporate Documents](https://ds4sd.github.io/icdar23-doclaynet/)!*
|
|
@@ -66,7 +67,20 @@ dataset_base = load_dataset("pierreguillou/DocLayNet-base")
|
|
| 66 |
|
| 67 |
# overview of dataset_base
|
| 68 |
|
| 69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
```
|
| 71 |
|
| 72 |
## Annotated bounding boxes
|
|
|
|
| 49 |
For all these reasons, I decided to process the DocLayNet dataset:
|
| 50 |
- into 3 datasets of different sizes:
|
| 51 |
- [DocLayNet small](https://huggingface.co/datasets/pierreguillou/DocLayNet-small) < 1.000k document images (691 train, 64 val, 49 test)
|
| 52 |
+
- [DocLayNet base](https://huggingface.co/datasets/pierreguillou/DocLayNet-base) < 10.000k document images (6910 train, 648 val, 499 test)
|
| 53 |
- DocLayNet large with full dataset (to be done)
|
| 54 |
+
- with associated texts,
|
| 55 |
- and in a format facilitating their use by HF notebooks.
|
| 56 |
|
| 57 |
*Note: the layout HF notebooks will greatly help participants of the IBM [ICDAR 2023 Competition on Robust Layout Segmentation in Corporate Documents](https://ds4sd.github.io/icdar23-doclaynet/)!*
|
|
|
|
| 67 |
|
| 68 |
# overview of dataset_base
|
| 69 |
|
| 70 |
+
DatasetDict({
|
| 71 |
+
train: Dataset({
|
| 72 |
+
features: ['id', 'texts', 'bboxes_block', 'bboxes_line', 'categories', 'image', 'pdf', 'page_hash', 'original_filename', 'page_no', 'num_pages', 'original_width', 'original_height', 'coco_width', 'coco_height', 'collection', 'doc_category'],
|
| 73 |
+
num_rows: 6910
|
| 74 |
+
})
|
| 75 |
+
validation: Dataset({
|
| 76 |
+
features: ['id', 'texts', 'bboxes_block', 'bboxes_line', 'categories', 'image', 'pdf', 'page_hash', 'original_filename', 'page_no', 'num_pages', 'original_width', 'original_height', 'coco_width', 'coco_height', 'collection', 'doc_category'],
|
| 77 |
+
num_rows: 648
|
| 78 |
+
})
|
| 79 |
+
test: Dataset({
|
| 80 |
+
features: ['id', 'texts', 'bboxes_block', 'bboxes_line', 'categories', 'image', 'pdf', 'page_hash', 'original_filename', 'page_no', 'num_pages', 'original_width', 'original_height', 'coco_width', 'coco_height', 'collection', 'doc_category'],
|
| 81 |
+
num_rows: 499
|
| 82 |
+
})
|
| 83 |
+
})
|
| 84 |
```
|
| 85 |
|
| 86 |
## Annotated bounding boxes
|