davidle7 commited on
Commit
b95dd27
·
verified ·
1 Parent(s): a33d247

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +119 -3
README.md CHANGED
@@ -9,13 +9,13 @@ dataset_info:
9
  dtype: string
10
  splits:
11
  - name: train
12
- num_bytes: 28126563.0
13
  num_examples: 149
14
  - name: test
15
- num_bytes: 10195323.0
16
  num_examples: 50
17
  download_size: 36491665
18
- dataset_size: 38321886.0
19
  configs:
20
  - config_name: default
21
  data_files:
@@ -23,4 +23,120 @@ configs:
23
  path: data/train-*
24
  - split: test
25
  path: data/test-*
 
 
 
 
 
 
 
26
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  dtype: string
10
  splits:
11
  - name: train
12
+ num_bytes: 28126563
13
  num_examples: 149
14
  - name: test
15
+ num_bytes: 10195323
16
  num_examples: 50
17
  download_size: 36491665
18
+ dataset_size: 38321886
19
  configs:
20
  - config_name: default
21
  data_files:
 
23
  path: data/train-*
24
  - split: test
25
  path: data/test-*
26
+ license: mit
27
+ task_categories:
28
+ - question-answering
29
+ language:
30
+ - en
31
+ size_categories:
32
+ - n<1K
33
  ---
34
+
35
+ # Dataset Card for FUNSD (JSON Format)
36
+
37
+ This dataset contains the preprocessed **JSON format** of the [FUNSD dataset](https://guillaumejaume.github.io/FUNSD/), designed for **form understanding in noisy scanned documents**. It includes the original structure with annotations in JSON format, as per the original FUNSD dataset. This dataset is intended for document understanding tasks such as OCR, layout parsing, and key-value extraction.
38
+
39
+ ## Dataset Details
40
+
41
+ ### Dataset Description
42
+
43
+ The **FUNSD (Form Understanding in Noisy Scanned Documents)** dataset is a collection of noisy scanned document images, designed for **OCR and form recognition tasks**. This version contains the **original JSON annotations** for training and testing models in form understanding tasks.
44
+
45
+ - **Curated by:** [David (Tan) LE](https://github.com/tanle8)
46
+ - **Language(s):** English (labels, tags)
47
+ - **License:** Apache License 2.0 (from the original FUNSD dataset)
48
+
49
+ ### Dataset Sources
50
+
51
+ - **Repository:** [Original FUNSD Dataset Repository](https://guillaumejaume.github.io/FUNSD/)
52
+ - **Paper:** [Jaume et al., 2019](https://ieeexplore.ieee.org/document/8978100)
53
+
54
+ ---
55
+
56
+ ## Uses
57
+
58
+ ### Direct Use
59
+
60
+ This dataset can be used for:
61
+ - Fine-tuning **document understanding models** such as Donut, LayoutLM, and other OCR-based models.
62
+ - Training and evaluating models for **form extraction** (questions, answers, headers).
63
+ - Research in **key-value extraction and layout parsing**.
64
+
65
+ ---
66
+
67
+ ## Dataset Structure
68
+
69
+ - **id:** Unique identifier for each document.
70
+ - **image:** The document image (RGB format).
71
+ - **text_output:** JSON annotations containing:
72
+ - `"form"`: A list of labeled fields (e.g., "question", "answer", "header").
73
+ - `"words"`: Word-level annotations with bounding boxes.
74
+ - `"linking"`: Relationships (e.g., links between "question" and "answer").
75
+
76
+ ### Splits
77
+ - **Train:** 149 examples
78
+ - **Test:** 50 examples
79
+
80
+ ---
81
+
82
+ ## Dataset Creation
83
+
84
+ ### Curation Rationale
85
+
86
+ This version retains the original JSON format of the FUNSD dataset, making it easy to use for models designed for form understanding tasks without the need to convert to XML or TEI formats.
87
+
88
+ ### Source Data
89
+
90
+ The dataset is sourced from the original **FUNSD** repository:
91
+ - **Images:** Scanned document images.
92
+ - **Annotations:** Original annotations in JSON format.
93
+
94
+ #### Data Collection and Processing
95
+
96
+ The dataset was not altered apart from formatting to maintain compatibility with the Hugging Face `datasets` library.
97
+
98
+ ---
99
+
100
+ ## Annotations
101
+
102
+ ### Annotation Process
103
+ The annotations in JSON format contain:
104
+ - **Bounding boxes** for each form element.
105
+ - **Labels** for "question", "answer", "header", and "other".
106
+ - **Linking information** to capture relationships between form elements.
107
+
108
+ ---
109
+
110
+ ## Bias, Risks, and Limitations
111
+
112
+ ### Risks and Limitations
113
+ - The dataset contains noisy, real-world scanned documents that may not generalize to synthetic or clean data.
114
+ - Some form layouts may not follow typical Western document standards, which could bias model training.
115
+
116
+ ---
117
+
118
+ ## Citation
119
+
120
+ If you use this dataset, please cite the original paper:
121
+
122
+ **BibTeX:**
123
+ ```bibtex
124
+ @article{Jaume2019FUNSDAD,
125
+ title={FUNSD: A Dataset for Form Understanding in Noisy Scanned Documents},
126
+ author={Guillaume Jaume and H. K. Ekenel and J. Thiran},
127
+ journal={2019 International Conference on Document Analysis and Recognition Workshops (ICDARW)},
128
+ year={2019},
129
+ volume={2},
130
+ pages={1-6}
131
+ }
132
+ ```
133
+
134
+ APA: Jaume, G., Ekenel, H. K., & Thiran, J. (2019). FUNSD: A dataset for form understanding in noisy scanned documents. 2019 International Conference on Document Analysis and Recognition Workshops (ICDARW), 1–6.
135
+
136
+ ## Dataset Card Authors
137
+ David (Tan) LE - [GitHub Profile](https://github.com/tanle8)
138
+
139
+ ## Dataset Card Contact
140
+ For any issues or questions about this dataset, contact me through the HuggingFace message system.
141
+
142
+