Commit ·
b9425fc
0
Parent(s):
Duplicate from konfuzio/funsd_plus
Browse filesCo-authored-by: Mohamed Amine Dhiab <mohameddhiab@users.noreply.huggingface.co>
- .gitattributes +55 -0
- LICENSE +49 -0
- README.md +120 -0
- data/test-00000-of-00001-f819e99768aa3843.parquet +3 -0
- data/train-00000-of-00001-cc93c41873a1dd3c.parquet +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
# Audio files - uncompressed
|
| 38 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
# Audio files - compressed
|
| 42 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
# Image files - uncompressed
|
| 48 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
# Image files - compressed
|
| 53 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Dataset License Agreement
|
| 2 |
+
|
| 3 |
+
This License Agreement ("Agreement") is entered into between [Your Company Name], represented by Mohamed Amine Dhiab, Senior Machine Learning Engineer ("Licensor"), and Apryse.com ("Licensee"), collectively referred to as the "Parties."
|
| 4 |
+
|
| 5 |
+
1. DEFINITIONS
|
| 6 |
+
|
| 7 |
+
1.1. Dataset: Refers to any dataset provided by the Licensor. A dataset is defined as any collection of data that can be manipulated or analyzed. It often consists of a collection of documents and annotations.
|
| 8 |
+
|
| 9 |
+
1.2. Usage: Refers to any action, application, or usage of the Dataset, including but not limited to, its analysis, replication, distribution, or integration into other databases or tools.
|
| 10 |
+
|
| 11 |
+
2. GRANT OF LICENSE
|
| 12 |
+
|
| 13 |
+
2.1. The Licensor hereby grants to Licensee, a non-transferable, non-exclusive, revocable license to use the Dataset solely for Licensee's internal research and development purposes.
|
| 14 |
+
|
| 15 |
+
2.2. The Licensee acknowledges and agrees that the Dataset is exclusive to Apryse.com, and no rights are granted for any third-party usage.
|
| 16 |
+
|
| 17 |
+
3. CONFIDENTIALITY AND NON-DISCLOSURE
|
| 18 |
+
|
| 19 |
+
3.1. Licensee acknowledges that the Dataset is proprietary to the Licensor and contains valuable trade secrets. Licensee agrees to treat the Dataset as confidential and will not disclose, provide, or otherwise make available any part of the Dataset in any form to any person or entity, other than its employees who have a need to know.
|
| 20 |
+
|
| 21 |
+
3.2. Licensee agrees to prevent any unauthorized copying, distribution, or usage of the Dataset.
|
| 22 |
+
|
| 23 |
+
4. RESPONSIBILITY FOR LEAKAGE
|
| 24 |
+
|
| 25 |
+
4.1. Licensee accepts full responsibility to prevent any leakage, accidental or intentional, of the Dataset. Any leakage or unauthorized distribution of the Dataset will be deemed a material breach of this Agreement.
|
| 26 |
+
|
| 27 |
+
4.2. Licensee agrees to notify the Licensor immediately upon discovery of any unauthorized use or disclosure of the Dataset, or any other breach of this Agreement.
|
| 28 |
+
|
| 29 |
+
5. NO IMPLIED RIGHTS OR LICENSES
|
| 30 |
+
|
| 31 |
+
Nothing in this Agreement grants, by implication, waiver, estoppel, or otherwise, any rights under any patent or patent application, other than the express rights granted here.
|
| 32 |
+
|
| 33 |
+
6. DISCLAIMER OF WARRANTY
|
| 34 |
+
|
| 35 |
+
The Dataset is provided "as is" and without any warranty. Licensor disclaims all warranties, whether express or implied, including any warranty of accuracy, completeness, performance, merchantability, fitness for a particular purpose, or non-infringement.
|
| 36 |
+
|
| 37 |
+
7. TERM AND TERMINATION
|
| 38 |
+
|
| 39 |
+
This Agreement is effective from the Effective Date and will remain in effect for a period of [specific duration], unless terminated earlier by either Party for any material breach of this Agreement.
|
| 40 |
+
|
| 41 |
+
8. MISCELLANEOUS
|
| 42 |
+
|
| 43 |
+
8.1. This Agreement constitutes the entire agreement between the Parties and supersedes any prior understandings, written or oral, relating to the subject matter of this Agreement.
|
| 44 |
+
|
| 45 |
+
8.2. Modifications to this Agreement must be in writing and signed by both Parties.
|
| 46 |
+
|
| 47 |
+
8.3. This Agreement is governed by the laws of Germany, without regard to its conflict of laws principles.
|
| 48 |
+
|
| 49 |
+
Helm & Nagel GmbH, Rosenweg 5, 35614 Aßlar, Germany: Managing Directors: Christopher Helm, Florian Zyprian; Wetzlar HRB 7706
|
README.md
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
configs:
|
| 3 |
+
- config_name: default
|
| 4 |
+
data_files:
|
| 5 |
+
- split: train
|
| 6 |
+
path: data/train-*
|
| 7 |
+
- split: test
|
| 8 |
+
path: data/test-*
|
| 9 |
+
dataset_info:
|
| 10 |
+
features:
|
| 11 |
+
- name: image
|
| 12 |
+
dtype: image
|
| 13 |
+
- name: words
|
| 14 |
+
sequence: string
|
| 15 |
+
- name: bboxes
|
| 16 |
+
sequence:
|
| 17 |
+
sequence: float64
|
| 18 |
+
- name: labels
|
| 19 |
+
sequence: int64
|
| 20 |
+
- name: grouped_words
|
| 21 |
+
sequence:
|
| 22 |
+
sequence: int64
|
| 23 |
+
- name: linked_groups
|
| 24 |
+
sequence:
|
| 25 |
+
sequence: int64
|
| 26 |
+
splits:
|
| 27 |
+
- name: train
|
| 28 |
+
num_bytes: 183288640.158
|
| 29 |
+
num_examples: 1026
|
| 30 |
+
- name: test
|
| 31 |
+
num_bytes: 20706650
|
| 32 |
+
num_examples: 113
|
| 33 |
+
download_size: 195177090
|
| 34 |
+
dataset_size: 203995290.158
|
| 35 |
+
extra_gated_prompt: >-
|
| 36 |
+
You agree to not attempt to determine the identity of individuals in this
|
| 37 |
+
dataset.
|
| 38 |
+
You agree to the terms and conditions of the [FUNSD+ license](https://huggingface.co/datasets/konfuzio/funsd_plus/blob/main/LICENSE).
|
| 39 |
+
extra_gated_fields:
|
| 40 |
+
Name: text
|
| 41 |
+
Company: text
|
| 42 |
+
Country: text
|
| 43 |
+
Email: text
|
| 44 |
+
I agree to the terms and conditions of the FUNSD+ license: checkbox
|
| 45 |
+
license: other
|
| 46 |
+
language:
|
| 47 |
+
- en
|
| 48 |
+
pretty_name: FUNSD+
|
| 49 |
+
size_categories:
|
| 50 |
+
- 1K<n<10K
|
| 51 |
+
tags:
|
| 52 |
+
- funsd
|
| 53 |
+
---
|
| 54 |
+
# Dataset Card for "funsd_plus"
|
| 55 |
+
|
| 56 |
+
## Table of Contents
|
| 57 |
+
- [Dataset Description](#dataset-description)
|
| 58 |
+
- [Homepage](#homepage)
|
| 59 |
+
- [Point of Contact](#point-of-contact)
|
| 60 |
+
- [Languages](#languages)
|
| 61 |
+
- [Additional Information](#additional-information)
|
| 62 |
+
- [Licensing Information](#licensing-information)
|
| 63 |
+
- [Citation Information](#citation-information)
|
| 64 |
+
|
| 65 |
+
## Dataset Description
|
| 66 |
+
|
| 67 |
+
- **Homepage:** [FUNSD+ | A larger and revised FUNSD dataset by Konfuzio](https://konfuzio.com/en/funsd-plus/)
|
| 68 |
+
- **Point of Contact:** [https://konfuzio.com/en/contact/](https://konfuzio.com/en/contact/)
|
| 69 |
+
- **Languages:** `English`
|
| 70 |
+
|
| 71 |
+
## Additional Information
|
| 72 |
+
|
| 73 |
+
The [FUNSD dataset](https://guillaumejaume.github.io/FUNSD/) provides ground truth data for form understanding.
|
| 74 |
+
|
| 75 |
+
Following research, the [FUNSD+ dataset](https://konfuzio.com/de/en/funsd-plus/) addresses inconsistencies in labeling found in the original [FUNSD Vu and Nguyen (2020)](https://arxiv.org/abs/2010.05322), which could hinder its effectiveness for key-value extraction.
|
| 76 |
+
|
| 77 |
+
FUNSD+ significantly expands the document count from 199 to 1,113, while enhancing header, question, and answer statistics as outlined in the provided table.
|
| 78 |
+
|
| 79 |
+
Besides the increase from 199 documents to 1113 documents we summarize the characteristics of both datasets below. Statistics of the FUNSD dataset are retrieved from the Paper by Jaume et al. (2019).
|
| 80 |
+
|
| 81 |
+
| | FUNSD | FUNSD+ |
|
| 82 |
+
| --- | --- | --- |
|
| 83 |
+
| Documents | 199 | 1113 |
|
| 84 |
+
| headers | 563 | 1604 |
|
| 85 |
+
| questions | 4343 | 14695 |
|
| 86 |
+
| answers | 3623 | 12154 |
|
| 87 |
+
| questions with no answers | 720 (16.6%) | 2691 (18.3%) |
|
| 88 |
+
| answers without questions* | 0 | 114 (0.9%) |
|
| 89 |
+
|
| 90 |
+
Key differences emerge in the annotation process between FUNSD and FUNSD+.
|
| 91 |
+
|
| 92 |
+
### Visual Example
|
| 93 |
+
|
| 94 |
+

|
| 95 |
+
|
| 96 |
+
Visit [https://app.konfuzio.com/d/303962/](https://app.konfuzio.com/d/303962/) to see an example.
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
The dataset is accessible via our [Python SDK](https://github.com/konfuzio-ai/konfuzio-sdk) or can be customized through the [Konfuzio Server](https://konfuzio.com/de/dokumenten-ki/). Users are encouraged to explore additional examples relevant to various document types on the official website. The latest research can be cited as follows:
|
| 100 |
+
|
| 101 |
+
Zagami, D., & Helm, C. (2022, October 18). FUNSD+: A larger and revised FUNSD dataset. Retrieved November 5, 2022, from [https://konfuzio.com/de/en/funsd-plus/](https://konfuzio.com/de/en/funsd-plus/)
|
| 102 |
+
|
| 103 |
+
|
| 104 |
+
### Licensing Information
|
| 105 |
+
|
| 106 |
+
[FUNSD+ license](https://huggingface.co/datasets/konfuzio/funsd_plus/blob/main/LICENSE)
|
| 107 |
+
|
| 108 |
+
### Citation Information
|
| 109 |
+
|
| 110 |
+
```
|
| 111 |
+
@misc{zagami_helm_2022,
|
| 112 |
+
title = {FUNSD+: A larger and revised FUNSD dataset},
|
| 113 |
+
author = {Zagami, Davide and Helm, Christopher},
|
| 114 |
+
year = 2022,
|
| 115 |
+
month = {Oct},
|
| 116 |
+
journal = {FUNSD+ | A larger and revised FUNSD dataset},
|
| 117 |
+
publisher = {Helm & Nagel GmbH},
|
| 118 |
+
url = {http://konfuzio.com/funsd-plus/}
|
| 119 |
+
}
|
| 120 |
+
```
|
data/test-00000-of-00001-f819e99768aa3843.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4ff83f6550ac9157d79c9204390bcffb621e06e8a0f5b93f2f701206f12b66d7
|
| 3 |
+
size 19775428
|
data/train-00000-of-00001-cc93c41873a1dd3c.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:014d7588a02f482cf3133ea5b0fe400fe23b44396df409c8b896710bc7dc2e68
|
| 3 |
+
size 175401662
|