Datasets:
Formats:
parquet
Languages:
English
Size:
1K - 10K
ArXiv:
Tags:
document-understanding
invoice
ocr
noise-augmentation
confidence-calibration
information-extraction
License:
Add files using upload-large-folder tool
Browse files- .gitattributes +41 -0
- README.md +60 -114
- data/test-00000-of-00001.parquet +3 -0
- pdfs/033f718b16cb597c065930410752c294__archetype10.pdf +3 -0
- pdfs/033f718b16cb597c065930410752c294__archetype11.pdf +3 -0
- pdfs/033f718b16cb597c065930410752c294__archetype3.pdf +3 -0
- pdfs/033f718b16cb597c065930410752c294__archetype4.pdf +3 -0
- pdfs/033f718b16cb597c065930410752c294__archetype7.pdf +3 -0
- pdfs/033f718b16cb597c065930410752c294__archetype9.pdf +3 -0
- pdfs/033f718b16cb597c065930410752c294__custom12.pdf +3 -0
- pdfs/033f718b16cb597c065930410752c294__custom13.pdf +3 -0
- pdfs/033f718b16cb597c065930410752c294__custom14.pdf +3 -0
- pdfs/033f718b16cb597c065930410752c294__custom15.pdf +3 -0
- pdfs/033f718b16cb597c065930410752c294__custom16.pdf +3 -0
- pdfs/033f718b16cb597c065930410752c294__custom17.pdf +3 -0
- pdfs/033f718b16cb597c065930410752c294__custom18.pdf +3 -0
- pdfs/033f718b16cb597c065930410752c294__custom19.pdf +3 -0
- pdfs/033f718b16cb597c065930410752c294__custom20.pdf +3 -0
- pdfs/033f718b16cb597c065930410752c294__custom21.pdf +3 -0
- pdfs/033f718b16cb597c065930410752c294__custom22.pdf +3 -0
- pdfs/033f718b16cb597c065930410752c294__default.pdf +3 -0
- pdfs/033f718b16cb597c065930410752c294__original.pdf +0 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype10.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype11.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype2.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype3.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype4.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype7.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype9.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom12.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom13.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom14.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom15.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom16.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom17.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom18.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom19.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom20.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom21.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom23.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__default.pdf +3 -0
- pdfs/03f65053aea282ad8d5e759a9f18bdbb__original.pdf +3 -0
- pdfs/08e2649c3291ee569a116260d46e9866__archetype3.pdf +3 -0
- pdfs/08e2649c3291ee569a116260d46e9866__archetype4.pdf +3 -0
- pdfs/08e2649c3291ee569a116260d46e9866__default.pdf +3 -0
- pdfs/08e2649c3291ee569a116260d46e9866__original.pdf +0 -0
- pdfs/1b238269de30dec67297e7ad8630116e__original.pdf +0 -0
- pdfs/26372a567adab41e404cab267067d73f__original.pdf +0 -0
- pdfs/3aac2d4d386a203e8d6419043f1adfa1__original.pdf +0 -0
- pdfs/3b9f33e058641d47cf2ebe76b9382648__original.pdf +0 -0
.gitattributes
CHANGED
|
@@ -2644,3 +2644,44 @@ assets/fa565ac45dba24366c6da8b86c775691/custom19/custom19_noisy.pdf filter=lfs d
|
|
| 2644 |
assets/fa565ac45dba24366c6da8b86c775691/custom20/custom20_noisy.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2645 |
assets/fa565ac45dba24366c6da8b86c775691/custom21/custom21_noisy.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2646 |
assets/fa565ac45dba24366c6da8b86c775691/custom22/custom22_noisy.pdf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2644 |
assets/fa565ac45dba24366c6da8b86c775691/custom20/custom20_noisy.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2645 |
assets/fa565ac45dba24366c6da8b86c775691/custom21/custom21_noisy.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2646 |
assets/fa565ac45dba24366c6da8b86c775691/custom22/custom22_noisy.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2647 |
+
pdfs/033f718b16cb597c065930410752c294__default.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2648 |
+
pdfs/033f718b16cb597c065930410752c294__archetype4.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2649 |
+
pdfs/033f718b16cb597c065930410752c294__archetype3.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2650 |
+
pdfs/033f718b16cb597c065930410752c294__archetype7.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2651 |
+
pdfs/033f718b16cb597c065930410752c294__archetype9.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2652 |
+
pdfs/033f718b16cb597c065930410752c294__archetype10.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2653 |
+
pdfs/033f718b16cb597c065930410752c294__archetype11.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2654 |
+
pdfs/033f718b16cb597c065930410752c294__custom12.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2655 |
+
pdfs/033f718b16cb597c065930410752c294__custom13.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2656 |
+
pdfs/033f718b16cb597c065930410752c294__custom14.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2657 |
+
pdfs/033f718b16cb597c065930410752c294__custom16.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2658 |
+
pdfs/033f718b16cb597c065930410752c294__custom15.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2659 |
+
pdfs/033f718b16cb597c065930410752c294__custom18.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2660 |
+
pdfs/033f718b16cb597c065930410752c294__custom17.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2661 |
+
pdfs/033f718b16cb597c065930410752c294__custom19.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2662 |
+
pdfs/033f718b16cb597c065930410752c294__custom20.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2663 |
+
pdfs/033f718b16cb597c065930410752c294__custom21.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2664 |
+
pdfs/033f718b16cb597c065930410752c294__custom22.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2665 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__original.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2666 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__default.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2667 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype2.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2668 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype3.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2669 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype4.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2670 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype7.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2671 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype9.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2672 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype10.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2673 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype11.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2674 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom12.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2675 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom13.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2676 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom14.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2677 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom15.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2678 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom16.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2679 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom18.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2680 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom17.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2681 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom19.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2682 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom20.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2683 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom21.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2684 |
+
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom23.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2685 |
+
pdfs/08e2649c3291ee569a116260d46e9866__default.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2686 |
+
pdfs/08e2649c3291ee569a116260d46e9866__archetype3.pdf filter=lfs diff=lfs merge=lfs -text
|
| 2687 |
+
pdfs/08e2649c3291ee569a116260d46e9866__archetype4.pdf filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -23,50 +23,40 @@ tags:
|
|
| 23 |
- kie
|
| 24 |
dataset_info:
|
| 25 |
features:
|
| 26 |
-
- name:
|
| 27 |
dtype: string
|
| 28 |
-
- name:
|
| 29 |
dtype: string
|
| 30 |
-
- name:
|
| 31 |
-
dtype:
|
| 32 |
-
- name:
|
| 33 |
-
dtype: string
|
| 34 |
-
- name: ground_truth
|
| 35 |
dtype:
|
| 36 |
struct:
|
| 37 |
-
- name:
|
| 38 |
-
dtype:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
struct:
|
| 40 |
-
- name:
|
| 41 |
dtype: string
|
| 42 |
-
|
| 43 |
-
dtype:
|
| 44 |
-
struct:
|
| 45 |
-
- name: Agency
|
| 46 |
dtype: string
|
| 47 |
-
- name:
|
| 48 |
dtype: string
|
| 49 |
-
- name:
|
| 50 |
-
dtype: float64
|
| 51 |
-
- name: PaymentTerms
|
| 52 |
dtype: string
|
| 53 |
-
- name:
|
| 54 |
dtype: float64
|
| 55 |
-
- name: NetAmountDue
|
| 56 |
-
dtype: float64
|
| 57 |
-
- name: LineItems
|
| 58 |
-
sequence:
|
| 59 |
-
struct:
|
| 60 |
-
- name: LineItemDescription
|
| 61 |
-
dtype: string
|
| 62 |
-
- name: LineItemStartDate
|
| 63 |
-
dtype: string
|
| 64 |
-
- name: LineItemEndDate
|
| 65 |
-
dtype: string
|
| 66 |
-
- name: LineItemDays
|
| 67 |
-
dtype: string
|
| 68 |
-
- name: LineItemRate
|
| 69 |
-
dtype: float64
|
| 70 |
splits:
|
| 71 |
- name: test
|
| 72 |
num_examples: 1346
|
|
@@ -87,29 +77,42 @@ Each document has:
|
|
| 87 |
|
| 88 |
## Quick Start
|
| 89 |
|
| 90 |
-
|
| 91 |
-
from huggingface_hub import snapshot_download
|
| 92 |
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
```
|
| 96 |
|
| 97 |
-
|
| 98 |
|
| 99 |
-
|
| 100 |
-
|
|
|
|
| 101 |
```
|
| 102 |
|
| 103 |
-
|
| 104 |
|
| 105 |
```python
|
| 106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
|
| 108 |
-
|
|
|
|
| 109 |
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
```
|
| 114 |
|
| 115 |
### Dataset Summary
|
|
@@ -132,19 +135,16 @@ for sample in ds:
|
|
| 132 |
|
| 133 |
```
|
| 134 |
amazon/ConfBench/
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
├── archetype3/
|
| 143 |
-
│ └── archetype3_noisy.pdf
|
| 144 |
-
└── ... (16 more pipelines)
|
| 145 |
```
|
| 146 |
|
| 147 |
-
### Ground Truth Schema (`
|
| 148 |
|
| 149 |
```json
|
| 150 |
{
|
|
@@ -174,20 +174,6 @@ amazon/ConfBench/
|
|
| 174 |
}
|
| 175 |
```
|
| 176 |
|
| 177 |
-
### Metadata Schema (`metadata.json`)
|
| 178 |
-
|
| 179 |
-
```json
|
| 180 |
-
{
|
| 181 |
-
"doc_hash": "033f718b16cb597c065930410752c294",
|
| 182 |
-
"original_pdf": "original.pdf",
|
| 183 |
-
"ground_truth": "gt.json",
|
| 184 |
-
"pipelines": [
|
| 185 |
-
{"pipeline_name": "default", "noisy_pdf": "default/default_noisy.pdf"},
|
| 186 |
-
{"pipeline_name": "archetype3", "noisy_pdf": "archetype3/archetype3_noisy.pdf"}
|
| 187 |
-
]
|
| 188 |
-
}
|
| 189 |
-
```
|
| 190 |
-
|
| 191 |
---
|
| 192 |
|
| 193 |
## Noise Pipelines
|
|
@@ -243,46 +229,6 @@ amazon/ConfBench/
|
|
| 243 |
|
| 244 |
---
|
| 245 |
|
| 246 |
-
## Usage
|
| 247 |
-
|
| 248 |
-
### Loading with huggingface_hub
|
| 249 |
-
|
| 250 |
-
```python
|
| 251 |
-
from huggingface_hub import snapshot_download
|
| 252 |
-
import json
|
| 253 |
-
from pathlib import Path
|
| 254 |
-
|
| 255 |
-
local_dir = Path(snapshot_download(repo_id="amazon/ConfBench", repo_type="dataset"))
|
| 256 |
-
assets_dir = local_dir / "assets"
|
| 257 |
-
|
| 258 |
-
doc_ids = [p.name for p in assets_dir.iterdir() if p.is_dir()]
|
| 259 |
-
|
| 260 |
-
# Load ground truth for a single document
|
| 261 |
-
def load_gt(doc_id):
|
| 262 |
-
return json.loads((assets_dir / doc_id / "gt.json").read_text())
|
| 263 |
-
|
| 264 |
-
# List noisy PDFs for a document
|
| 265 |
-
def list_pipelines(doc_id):
|
| 266 |
-
meta = json.loads((assets_dir / doc_id / "metadata.json").read_text())
|
| 267 |
-
return meta["pipelines"]
|
| 268 |
-
```
|
| 269 |
-
|
| 270 |
-
### Using the Provided Loading Script
|
| 271 |
-
|
| 272 |
-
```python
|
| 273 |
-
# See load_dataset.py in this release
|
| 274 |
-
from load_dataset import FCCInvoicesDataset
|
| 275 |
-
|
| 276 |
-
ds = FCCInvoicesDataset(local_dir="/path/to/ConfBench")
|
| 277 |
-
|
| 278 |
-
# Iterate over all (doc, pipeline) pairs
|
| 279 |
-
for sample in ds:
|
| 280 |
-
print(sample["doc_id"], sample["pipeline_name"])
|
| 281 |
-
print(sample["ground_truth"]["inference_result"]["Agency"])
|
| 282 |
-
```
|
| 283 |
-
|
| 284 |
-
---
|
| 285 |
-
|
| 286 |
## Intended Use
|
| 287 |
|
| 288 |
This dataset is intended for:
|
|
@@ -301,7 +247,7 @@ The 75 clean FCC invoices used in this dataset are taken from [**RealKIE-FCC-Ver
|
|
| 301 |
1. **Line Item Grouping** — fields previously treated as independent entries are grouped within each individual line item, aligning annotations with real-world invoice structure.
|
| 302 |
2. **Annotation Corrections** — erroneous values in the original annotations were corrected.
|
| 303 |
|
| 304 |
-
Starting from these 75 verified documents and their corrected
|
| 305 |
|
| 306 |
---
|
| 307 |
|
|
|
|
| 23 |
- kie
|
| 24 |
dataset_info:
|
| 25 |
features:
|
| 26 |
+
- name: id
|
| 27 |
dtype: string
|
| 28 |
+
- name: noise_variant
|
| 29 |
dtype: string
|
| 30 |
+
- name: page_count
|
| 31 |
+
dtype: int32
|
| 32 |
+
- name: json_response
|
|
|
|
|
|
|
| 33 |
dtype:
|
| 34 |
struct:
|
| 35 |
+
- name: Agency
|
| 36 |
+
dtype: string
|
| 37 |
+
- name: Advertiser
|
| 38 |
+
dtype: string
|
| 39 |
+
- name: GrossTotal
|
| 40 |
+
dtype: float64
|
| 41 |
+
- name: PaymentTerms
|
| 42 |
+
dtype: string
|
| 43 |
+
- name: AgencyCommission
|
| 44 |
+
dtype: float64
|
| 45 |
+
- name: NetAmountDue
|
| 46 |
+
dtype: float64
|
| 47 |
+
- name: LineItems
|
| 48 |
+
sequence:
|
| 49 |
struct:
|
| 50 |
+
- name: LineItemDescription
|
| 51 |
dtype: string
|
| 52 |
+
- name: LineItemStartDate
|
|
|
|
|
|
|
|
|
|
| 53 |
dtype: string
|
| 54 |
+
- name: LineItemEndDate
|
| 55 |
dtype: string
|
| 56 |
+
- name: LineItemDays
|
|
|
|
|
|
|
| 57 |
dtype: string
|
| 58 |
+
- name: LineItemRate
|
| 59 |
dtype: float64
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
splits:
|
| 61 |
- name: test
|
| 62 |
num_examples: 1346
|
|
|
|
| 77 |
|
| 78 |
## Quick Start
|
| 79 |
|
| 80 |
+
**Metadata + ground truth only** (fastest, no PDFs):
|
|
|
|
| 81 |
|
| 82 |
+
```python
|
| 83 |
+
from datasets import load_dataset
|
|
|
|
| 84 |
|
| 85 |
+
ds = load_dataset("amazon/ConfBench", data_files="data/test-00000-of-00001.parquet", split="train")
|
| 86 |
|
| 87 |
+
for sample in ds:
|
| 88 |
+
print(sample["id"], sample["noise_variant"])
|
| 89 |
+
print(sample["json_response"]["Agency"])
|
| 90 |
```
|
| 91 |
|
| 92 |
+
**With PDFs** (downloads the full dataset locally):
|
| 93 |
|
| 94 |
```python
|
| 95 |
+
import pyarrow.parquet as pq
|
| 96 |
+
from huggingface_hub import snapshot_download
|
| 97 |
+
from pathlib import Path
|
| 98 |
+
|
| 99 |
+
local_dir = Path(snapshot_download(repo_id="amazon/ConfBench", repo_type="dataset"))
|
| 100 |
|
| 101 |
+
table = pq.read_table(local_dir / "data" / "test-00000-of-00001.parquet")
|
| 102 |
+
df = table.to_pandas()
|
| 103 |
|
| 104 |
+
# Access a PDF
|
| 105 |
+
pdf_path = local_dir / "pdfs" / df["id"][0]
|
| 106 |
+
|
| 107 |
+
# Access ground truth
|
| 108 |
+
gt = df["json_response"][0]
|
| 109 |
+
print(gt["Agency"], gt["GrossTotal"])
|
| 110 |
+
```
|
| 111 |
+
|
| 112 |
+
Or clone with git:
|
| 113 |
+
|
| 114 |
+
```bash
|
| 115 |
+
git clone https://huggingface.co/datasets/amazon/ConfBench
|
| 116 |
```
|
| 117 |
|
| 118 |
### Dataset Summary
|
|
|
|
| 135 |
|
| 136 |
```
|
| 137 |
amazon/ConfBench/
|
| 138 |
+
├── data/
|
| 139 |
+
│ └── test-00000-of-00001.parquet # Metadata + ground truth (all variants)
|
| 140 |
+
├── pdfs/
|
| 141 |
+
│ ├── {doc_id}__original.pdf # Original clean PDF
|
| 142 |
+
│ ├── {doc_id}__default.pdf # Default noise variant
|
| 143 |
+
│ └── {doc_id}__{noise_variant}.pdf # Other noise variants
|
| 144 |
+
|
|
|
|
|
|
|
|
|
|
| 145 |
```
|
| 146 |
|
| 147 |
+
### Ground Truth Schema (`json_response`)
|
| 148 |
|
| 149 |
```json
|
| 150 |
{
|
|
|
|
| 174 |
}
|
| 175 |
```
|
| 176 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 177 |
---
|
| 178 |
|
| 179 |
## Noise Pipelines
|
|
|
|
| 229 |
|
| 230 |
---
|
| 231 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 232 |
## Intended Use
|
| 233 |
|
| 234 |
This dataset is intended for:
|
|
|
|
| 247 |
1. **Line Item Grouping** — fields previously treated as independent entries are grouped within each individual line item, aligning annotations with real-world invoice structure.
|
| 248 |
2. **Annotation Corrections** — erroneous values in the original annotations were corrected.
|
| 249 |
|
| 250 |
+
Starting from these 75 verified documents and their corrected ground truth (`json_response`), this dataset adds noise augmentation using the [Augraphy](https://github.com/sparkfish/augraphy) library with OCR-safe parameter settings, producing up to 18 degraded variants per document for confidence calibration and OCR robustness research.
|
| 251 |
|
| 252 |
---
|
| 253 |
|
data/test-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa40c083b63cf7b556eb30bef224d24ad03a0020970f639b7d463bea7a7d3881
|
| 3 |
+
size 75917
|
pdfs/033f718b16cb597c065930410752c294__archetype10.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62a90aa21b56c43913e194dd723fe5294168d210ced14964d2e8cffee227c943
|
| 3 |
+
size 928115
|
pdfs/033f718b16cb597c065930410752c294__archetype11.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:164544a68b2fd500259cc620d877e5319204be0b18592efe4d99b4a541004c26
|
| 3 |
+
size 32353455
|
pdfs/033f718b16cb597c065930410752c294__archetype3.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9684c6c6c6da56c97dcd89f92a1b77f8a96a22ec4350d1d88153e2ae675fbbc
|
| 3 |
+
size 26032072
|
pdfs/033f718b16cb597c065930410752c294__archetype4.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f3563596fdbc69c85db6bb8344e67af51ea71e9c1b781c13ee13a0f8e4f1d0d2
|
| 3 |
+
size 578122
|
pdfs/033f718b16cb597c065930410752c294__archetype7.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a50231dabc8f27d64487c897beff6002215221a21701c8d41363ddc358b63ce7
|
| 3 |
+
size 3092438
|
pdfs/033f718b16cb597c065930410752c294__archetype9.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e83bc655ad1b5456a69bae6076482954d08d9c598dd2598ae59c8b86a5272d7
|
| 3 |
+
size 612676
|
pdfs/033f718b16cb597c065930410752c294__custom12.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5cd9038b8bcd83906d3053b2339fe37ebf7627d96139b5fd26c2798eedc8804
|
| 3 |
+
size 9822704
|
pdfs/033f718b16cb597c065930410752c294__custom13.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18c79e665130ca7ae09853e0089cb26f15f370e3d576929e2f3678ce4bc26788
|
| 3 |
+
size 5164665
|
pdfs/033f718b16cb597c065930410752c294__custom14.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:344803c8eec4874c5438e356117bb6f8e8b2bbcf40f74b51aeda09032100ecff
|
| 3 |
+
size 5727672
|
pdfs/033f718b16cb597c065930410752c294__custom15.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:98ef012334f887256e13b75349dc3f631ee2f2e2851a0e7edeaa493949b89228
|
| 3 |
+
size 35822477
|
pdfs/033f718b16cb597c065930410752c294__custom16.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91c24b1472628ae3338038c371671f4d01b91ac93ba595dc7b1931260abf8616
|
| 3 |
+
size 1905983
|
pdfs/033f718b16cb597c065930410752c294__custom17.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:496b4b0ac5a945133c922146092d000d2286371c4ab312268faadb3fff3e16d5
|
| 3 |
+
size 30694069
|
pdfs/033f718b16cb597c065930410752c294__custom18.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6bd12cac40f235ad983bf937b48b10e516fc702fb58de06c58d0e04b6c3b846f
|
| 3 |
+
size 3564792
|
pdfs/033f718b16cb597c065930410752c294__custom19.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dbd0e674c07d41f591567e7d5019f81585ef0d725d3bca8435e9d7c35a57816e
|
| 3 |
+
size 1903060
|
pdfs/033f718b16cb597c065930410752c294__custom20.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51a227568f021bb2aa40538c79bf46230e7e3be82d1906fc32cf5b4e8bab6832
|
| 3 |
+
size 9499603
|
pdfs/033f718b16cb597c065930410752c294__custom21.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c33cbb0071f331586eedd5a8d23a53be1ef77208430b83819fa8fcc0eb6d405
|
| 3 |
+
size 1708668
|
pdfs/033f718b16cb597c065930410752c294__custom22.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5b092b5a94e06c27fb9f15b2a9ae216d1c79c29d5d0d181fa71cb46884ab772
|
| 3 |
+
size 1090722
|
pdfs/033f718b16cb597c065930410752c294__default.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:87cacb2e12ba76025145d79796a558c091e4c8e03812e56da7a2dfa9490e8dae
|
| 3 |
+
size 7838076
|
pdfs/033f718b16cb597c065930410752c294__original.pdf
ADDED
|
Binary file (36.5 kB). View file
|
|
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype10.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:42a50e4cf27af849cb1746add053e6b90c6dfe2253936742240e1e4dab2efb3d
|
| 3 |
+
size 263191
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype11.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93f395ec55790c1370ea7e3607e20bbbb8e2f8b4b1baf4fc54d266ef9b2c165e
|
| 3 |
+
size 17489397
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype2.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8572b47b68f4a03cfb4a41dedf58e821fc16c8b0d386315495bca93e3173126a
|
| 3 |
+
size 7147222
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype3.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d72b8c85f61f09b7a33dfdbab2d42aab80ce947dc85507165f431ee8cedbf38f
|
| 3 |
+
size 12700504
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype4.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6606963cde8687e4ffe5fe881439f549ae9eb82b6dbcf382b17db5d94a00bc31
|
| 3 |
+
size 139435
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype7.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:163d7d7e1d7e333a38710daf7b8e0f8c657973738f51ec0bbcde3753f1cb8de6
|
| 3 |
+
size 1056088
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__archetype9.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69d821b7888b528cf7993e0993ddca9f2eda245f9579c92320878805fe005a17
|
| 3 |
+
size 179117
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom12.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ee2bb64a971de559e65dc0f9c723f3897537f05453e438d166c619fdc7173ca
|
| 3 |
+
size 2669095
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom13.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f948bfa9cb200d8d808015b504226c4cde9fc8b832fa7a2e7f804ba57b0fa823
|
| 3 |
+
size 1698827
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom14.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d3374ee481fe2ee04725f5ad09313d23d0b78ede79a4640a62cde91ec0676a9
|
| 3 |
+
size 2240463
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom15.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93ee6d0ee3439522e5680083df706931ccad2547160f0e19b00b7e42635a9f43
|
| 3 |
+
size 18182696
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom16.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cbeef349b68e93a454acf72d82a3f2c3c4513d73e13c89d8a7800302199161ad
|
| 3 |
+
size 682028
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom17.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:14ef2b505807f4fbce51369771626de5729cedbef08658fd92b9a198a30b010d
|
| 3 |
+
size 14705182
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom18.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7996461a74397ba9a8c2b9e4e645f02fe9dc420cd0dd9c06ef963e35b36a165
|
| 3 |
+
size 1221665
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom19.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39b639dd23423abc8464c824a3954b909a383ff6767ad66628aff82544abfe38
|
| 3 |
+
size 656877
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom20.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cbd76c5ee00fd30bed6ca38dd5ee629c6d1670622cb7efa3c506ab0fa2db0540
|
| 3 |
+
size 1962102
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom21.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c3434be00e23c562a34f9590b4fc53f0c15078f9de0ef37bd57e82692c94255f
|
| 3 |
+
size 532561
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__custom23.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8bf9d94db03c2863ccefd6cf5339e9764c2557be9046d0ae5635166731f68eee
|
| 3 |
+
size 948633
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__default.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7bfbe19b3c35a2caeacfed501c7645a644fea36d13d14a09c43caed7e1b19a8a
|
| 3 |
+
size 1575048
|
pdfs/03f65053aea282ad8d5e759a9f18bdbb__original.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4d46f59424a3ed786db634db058ae0ce3bf553f546d61b930c86675155af6130
|
| 3 |
+
size 105529
|
pdfs/08e2649c3291ee569a116260d46e9866__archetype3.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f26820f8d2170bb1c9de1798e45bbf9d3edde95cc9d147fbb80c456eecb6534
|
| 3 |
+
size 12669724
|
pdfs/08e2649c3291ee569a116260d46e9866__archetype4.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8561cf23d329a3267a55d9aa6b781b3da0ff300079c6534003a4fc9d4b246131
|
| 3 |
+
size 127588
|
pdfs/08e2649c3291ee569a116260d46e9866__default.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c46295483db85c7c9624661cc8d2dc8330898e80edcb6a0f245fbb9f37dbfa5d
|
| 3 |
+
size 327381
|
pdfs/08e2649c3291ee569a116260d46e9866__original.pdf
ADDED
|
Binary file (86.6 kB). View file
|
|
|
pdfs/1b238269de30dec67297e7ad8630116e__original.pdf
ADDED
|
Binary file (92.2 kB). View file
|
|
|
pdfs/26372a567adab41e404cab267067d73f__original.pdf
ADDED
|
Binary file (34.1 kB). View file
|
|
|
pdfs/3aac2d4d386a203e8d6419043f1adfa1__original.pdf
ADDED
|
Binary file (23.6 kB). View file
|
|
|
pdfs/3b9f33e058641d47cf2ebe76b9382648__original.pdf
ADDED
|
Binary file (87.6 kB). View file
|
|
|