|
|
--- |
|
|
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 |
|
|
``` |
|
|
|