Datasets:

Formats:
parquet
Languages:
English
Size:
< 1K
ArXiv:
Libraries:
Datasets
pandas
License:
File size: 5,114 Bytes
87abe93
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6cb31eb
 
 
87abe93
 
0cb4bfe
e0b82bb
 
0cb4bfe
e0b82bb
3252a67
 
 
 
 
 
 
 
e0b82bb
 
0cb4bfe
d410ebf
 
 
 
 
3252a67
 
 
 
e0b82bb
 
 
 
e8ce479
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
---
language:
- en
pretty_name: RealKIE-FCC-Verified
size_categories:
- n<1K
configs:
- config_name: default
  data_files:
  - split: test
    path: data/test-*
dataset_info:
  features:
  - name: id
    dtype: string
  - name: image_files
    list: string
  - name: text
    dtype: string
  - name: json_schema
    struct:
    - name: type
      dtype: string
    - name: properties
      struct:
      - name: Agency
        struct:
        - name: type
          dtype: string
        - name: description
          dtype: string
      - name: Advertiser
        struct:
        - name: type
          dtype: string
        - name: description
          dtype: string
      - name: GrossTotal
        struct:
        - name: anyOf
          list:
          - name: type
            dtype: string
          - name: description
            dtype: string
      - name: PaymentTerms
        struct:
        - name: anyOf
          list:
          - name: type
            dtype: string
          - name: description
            dtype: string
      - name: AgencyCommission
        struct:
        - name: anyOf
          list:
          - name: type
            dtype: string
          - name: description
            dtype: string
      - name: NetAmountDue
        struct:
        - name: anyOf
          list:
          - name: type
            dtype: string
          - name: description
            dtype: string
      - name: LineItems
        struct:
        - name: type
          dtype: string
        - name: description
          dtype: string
        - name: items
          struct:
          - name: type
            dtype: string
          - name: properties
            struct:
            - name: LineItemRate
              struct:
              - name: anyOf
                list:
                - name: type
                  dtype: string
                - name: description
                  dtype: string
            - name: LineItemDays
              struct:
              - name: anyOf
                list:
                - name: type
                  dtype: string
                - name: description
                  dtype: string
            - name: LineItemStartDate
              struct:
              - name: anyOf
                list:
                - name: type
                  dtype: string
                - name: description
                  dtype: string
            - name: LineItemEndDate
              struct:
              - name: anyOf
                list:
                - name: type
                  dtype: string
                - name: description
                  dtype: string
            - name: LineItemDescription
              struct:
              - name: anyOf
                list:
                - name: type
                  dtype: string
                - name: description
                  dtype: string
          - name: required
            list: string
    - name: required
      list: string
  - name: json_response
    struct:
    - name: Agency
      dtype: string
    - name: Advertiser
      dtype: string
    - name: GrossTotal
      dtype: float64
    - name: PaymentTerms
      dtype: string
    - name: AgencyCommission
      dtype: float64
    - name: NetAmountDue
      dtype: float64
    - name: LineItems
      list:
      - name: LineItemDescription
        dtype: string
      - name: LineItemStartDate
        dtype: string
      - name: LineItemEndDate
        dtype: string
      - name: LineItemDays
        dtype: string
      - name: LineItemRate
        dtype: float64
  splits:
  - name: test
    num_bytes: 1276040
    num_examples: 75
  download_size: 393330
  dataset_size: 1276040
license: cc-by-nc-4.0
license_name: cc-by-nc-4.0
license_link: https://creativecommons.org/licenses/by-nc/4.0/
---


### RealKIE-FCC-Verified 
It is a test set with single and multi-page invoices sourced from the Federal Communications Commission (FCC) to evaluate key information extraction (KIE) performance. 

### Task
Extract information from the document in JSON format given the corresponding JSON schema. It contains 75 documents, with: 

a) `image_files`: Each document has multiple pages

b) `json_schema`: A common JSON schema requiring extraction of specified information including line items in the invoices

c) `json_response`: This is the expected output from the model


### Modifications to the original dataset
This release resolves two issues present in the original evaluation set (https://arxiv.org/abs/2403.20101):

a) Line Item Grouping: Fields previously treated as independent entries are now grouped within each individual line item, aligning the annotations with real-world invoice structure.

b) Annotation Corrections: Erroneous values in the original annotations have been corrected to ensure data accuracy.

These corrections are applied to `json_schema` and `json_response`.

Note: We haven't edited the OCR (`text`) field, and instead use the original version.

### License
```
Document Source: FCC https://publicfiles.fcc.gov/
Document License: Fair use under 17 USC 107.
License: CC-BY-NC 4.0
```