mmiakashs commited on
Commit
f318801
·
verified ·
1 Parent(s): b5176dd

Update dataset_info.json to reference HF hosting

Browse files
Files changed (1) hide show
  1. dataset_info.json +216 -0
dataset_info.json ADDED
@@ -0,0 +1,216 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_name": "fcc-invoices-verified-augmented",
3
+ "version": "1.0.0",
4
+ "description": "75 FCC invoice documents each augmented with up to 18 noise pipelines, with verified ground-truth entity annotations.",
5
+ "homepage": "https://huggingface.co/datasets/amazon/ConfBench",
6
+ "license": "cc-by-nc-4.0",
7
+ "statistics": {
8
+ "num_documents": 75,
9
+ "num_pipelines": 18,
10
+ "num_samples": 1346,
11
+ "document_type": "FCC Invoice (multi-page PDF)",
12
+ "avg_pages_per_document": 2,
13
+ "num_noisy_pdfs": 1271,
14
+ "num_original_pdfs": 75
15
+ },
16
+ "pipelines": [
17
+ {
18
+ "name": "default",
19
+ "type": "archetype",
20
+ "description": "Balanced general-purpose degradation"
21
+ },
22
+ {
23
+ "name": "archetype3",
24
+ "type": "archetype",
25
+ "description": "Heavy post-processing effects"
26
+ },
27
+ {
28
+ "name": "archetype4",
29
+ "type": "archetype",
30
+ "description": "Minimal geometric distortions"
31
+ },
32
+ {
33
+ "name": "archetype7",
34
+ "type": "archetype",
35
+ "description": "Color and lighting variations"
36
+ },
37
+ {
38
+ "name": "archetype9",
39
+ "type": "archetype",
40
+ "description": "Texture-based degradations"
41
+ },
42
+ {
43
+ "name": "archetype10",
44
+ "type": "archetype",
45
+ "description": "Scanner artifact simulation"
46
+ },
47
+ {
48
+ "name": "archetype11",
49
+ "type": "archetype",
50
+ "description": "Complex multi-phase pipeline"
51
+ },
52
+ {
53
+ "name": "custom12",
54
+ "type": "custom",
55
+ "description": "DirtyDrum + DirtyRollers (scanner roller artifacts)"
56
+ },
57
+ {
58
+ "name": "custom13",
59
+ "type": "custom",
60
+ "description": "Stains + Folding (physical document damage)"
61
+ },
62
+ {
63
+ "name": "custom14",
64
+ "type": "custom",
65
+ "description": "BleedThrough + InkMottling (ink issues)"
66
+ },
67
+ {
68
+ "name": "custom15",
69
+ "type": "custom",
70
+ "description": "Moire + ColorPaper (scanning/aging effects)"
71
+ },
72
+ {
73
+ "name": "custom16",
74
+ "type": "custom",
75
+ "description": "ShadowCast + LightingGradient (uneven lighting)"
76
+ },
77
+ {
78
+ "name": "custom17",
79
+ "type": "custom",
80
+ "description": "Jpeg + SubtleNoise (compression artifacts)"
81
+ },
82
+ {
83
+ "name": "custom18",
84
+ "type": "custom",
85
+ "description": "Geometric + PageBorder (alignment issues)"
86
+ },
87
+ {
88
+ "name": "custom19",
89
+ "type": "custom",
90
+ "description": "BindingsAndFasteners + Letterpress (binding shadows)"
91
+ },
92
+ {
93
+ "name": "custom20",
94
+ "type": "custom",
95
+ "description": "Brightness + BadPhotoCopy (photocopy quality)"
96
+ },
97
+ {
98
+ "name": "custom21",
99
+ "type": "custom",
100
+ "description": "WaterMark + NoisyLines (overlaid artifacts)"
101
+ },
102
+ {
103
+ "name": "custom22",
104
+ "type": "custom",
105
+ "description": "Dithering + DotMatrix (dot-matrix printing)"
106
+ }
107
+ ],
108
+ "features": {
109
+ "doc_id": {
110
+ "dtype": "string",
111
+ "description": "MD5 hash uniquely identifying the source document"
112
+ },
113
+ "pipeline_name": {
114
+ "dtype": "string",
115
+ "description": "Name of the noise pipeline applied"
116
+ },
117
+ "pipeline_type": {
118
+ "dtype": "string",
119
+ "description": "Pipeline category: 'archetype' (Augraphy built-in) or 'custom' (research-designed)"
120
+ },
121
+ "original_pdf": {
122
+ "dtype": "string",
123
+ "description": "Relative repo path to the original clean PDF"
124
+ },
125
+ "noisy_pdf": {
126
+ "dtype": "string",
127
+ "description": "Relative repo path to the degraded noisy PDF"
128
+ },
129
+ "ground_truth": {
130
+ "dtype": "dict",
131
+ "description": "Verified entity annotations",
132
+ "fields": {
133
+ "document_class.type": {
134
+ "dtype": "string",
135
+ "description": "Document type, always 'Invoice'"
136
+ },
137
+ "split_document.page_indices": {
138
+ "dtype": "list[int]",
139
+ "description": "Zero-based page indices included in this document"
140
+ },
141
+ "inference_result.Agency": {
142
+ "dtype": "string",
143
+ "description": "Name of the advertising agency"
144
+ },
145
+ "inference_result.Advertiser": {
146
+ "dtype": "string",
147
+ "description": "Name of the advertiser/client"
148
+ },
149
+ "inference_result.GrossTotal": {
150
+ "dtype": "float",
151
+ "description": "Total invoice amount in USD"
152
+ },
153
+ "inference_result.PaymentTerms": {
154
+ "dtype": "string",
155
+ "description": "Payment terms string (e.g., '30 Days')"
156
+ },
157
+ "inference_result.AgencyCommission": {
158
+ "dtype": "float",
159
+ "description": "Agency commission amount in USD"
160
+ },
161
+ "inference_result.NetAmountDue": {
162
+ "dtype": "float",
163
+ "description": "Net amount due after commission in USD"
164
+ },
165
+ "inference_result.LineItems": {
166
+ "dtype": "list[dict]",
167
+ "description": "Individual advertising line items",
168
+ "item_fields": {
169
+ "LineItemDescription": {
170
+ "dtype": "string",
171
+ "description": "Program or time slot description"
172
+ },
173
+ "LineItemStartDate": {
174
+ "dtype": "string",
175
+ "description": "Airing start date (MM/DD/YY)"
176
+ },
177
+ "LineItemEndDate": {
178
+ "dtype": "string",
179
+ "description": "Airing end date (MM/DD/YY)"
180
+ },
181
+ "LineItemDays": {
182
+ "dtype": "string",
183
+ "description": "Days-of-week bitmask, e.g. '-T-----' for Tuesday"
184
+ },
185
+ "LineItemRate": {
186
+ "dtype": "float",
187
+ "description": "Cost for this line item in USD"
188
+ }
189
+ }
190
+ }
191
+ }
192
+ }
193
+ },
194
+ "repo": {
195
+ "repo_id": "amazon/ConfBench",
196
+ "repo_type": "dataset",
197
+ "path_patterns": {
198
+ "original_pdf": "{doc_id}/original.pdf",
199
+ "ground_truth": "{doc_id}/gt.json",
200
+ "metadata": "{doc_id}/metadata.json",
201
+ "noisy_pdf": "{doc_id}/{pipeline_name}/{pipeline_name}_noisy.pdf"
202
+ }
203
+ },
204
+ "source": {
205
+ "name": "RealKIE FCC Invoices (Verified subset)",
206
+ "url": "https://indicodatasolutions.github.io/RealKIE/",
207
+ "augmentation_library": "augraphy",
208
+ "augmentation_library_url": "https://github.com/sparkfish/augraphy"
209
+ },
210
+ "annotations_creators": [
211
+ "expert-generated"
212
+ ],
213
+ "source_datasets": [
214
+ "https://indicodatasolutions.github.io/RealKIE/"
215
+ ]
216
+ }