ConfBench / dataset_info.json
mmiakashs's picture
Update path_patterns for assets/ layout
6b4f61b verified
Raw
History Blame Contribute Delete
6.69 kB
{
"dataset_name": "fcc-invoices-verified-augmented",
"version": "1.0.0",
"description": "75 FCC invoice documents each augmented with up to 18 noise pipelines, with verified ground-truth entity annotations.",
"homepage": "https://huggingface.co/datasets/amazon/ConfBench",
"license": "cc-by-nc-4.0",
"statistics": {
"num_documents": 75,
"num_pipelines": 18,
"num_samples": 1346,
"document_type": "FCC Invoice (multi-page PDF)",
"avg_pages_per_document": 2,
"num_noisy_pdfs": 1271,
"num_original_pdfs": 75
},
"pipelines": [
{
"name": "default",
"type": "archetype",
"description": "Balanced general-purpose degradation"
},
{
"name": "archetype3",
"type": "archetype",
"description": "Heavy post-processing effects"
},
{
"name": "archetype4",
"type": "archetype",
"description": "Minimal geometric distortions"
},
{
"name": "archetype7",
"type": "archetype",
"description": "Color and lighting variations"
},
{
"name": "archetype9",
"type": "archetype",
"description": "Texture-based degradations"
},
{
"name": "archetype10",
"type": "archetype",
"description": "Scanner artifact simulation"
},
{
"name": "archetype11",
"type": "archetype",
"description": "Complex multi-phase pipeline"
},
{
"name": "custom12",
"type": "custom",
"description": "DirtyDrum + DirtyRollers (scanner roller artifacts)"
},
{
"name": "custom13",
"type": "custom",
"description": "Stains + Folding (physical document damage)"
},
{
"name": "custom14",
"type": "custom",
"description": "BleedThrough + InkMottling (ink issues)"
},
{
"name": "custom15",
"type": "custom",
"description": "Moire + ColorPaper (scanning/aging effects)"
},
{
"name": "custom16",
"type": "custom",
"description": "ShadowCast + LightingGradient (uneven lighting)"
},
{
"name": "custom17",
"type": "custom",
"description": "Jpeg + SubtleNoise (compression artifacts)"
},
{
"name": "custom18",
"type": "custom",
"description": "Geometric + PageBorder (alignment issues)"
},
{
"name": "custom19",
"type": "custom",
"description": "BindingsAndFasteners + Letterpress (binding shadows)"
},
{
"name": "custom20",
"type": "custom",
"description": "Brightness + BadPhotoCopy (photocopy quality)"
},
{
"name": "custom21",
"type": "custom",
"description": "WaterMark + NoisyLines (overlaid artifacts)"
},
{
"name": "custom22",
"type": "custom",
"description": "Dithering + DotMatrix (dot-matrix printing)"
}
],
"features": {
"doc_id": {
"dtype": "string",
"description": "MD5 hash uniquely identifying the source document"
},
"pipeline_name": {
"dtype": "string",
"description": "Name of the noise pipeline applied"
},
"pipeline_type": {
"dtype": "string",
"description": "Pipeline category: 'archetype' (Augraphy built-in) or 'custom' (research-designed)"
},
"original_pdf": {
"dtype": "string",
"description": "Relative repo path to the original clean PDF"
},
"noisy_pdf": {
"dtype": "string",
"description": "Relative repo path to the degraded noisy PDF"
},
"ground_truth": {
"dtype": "dict",
"description": "Verified entity annotations",
"fields": {
"document_class.type": {
"dtype": "string",
"description": "Document type, always 'Invoice'"
},
"split_document.page_indices": {
"dtype": "list[int]",
"description": "Zero-based page indices included in this document"
},
"inference_result.Agency": {
"dtype": "string",
"description": "Name of the advertising agency"
},
"inference_result.Advertiser": {
"dtype": "string",
"description": "Name of the advertiser/client"
},
"inference_result.GrossTotal": {
"dtype": "float",
"description": "Total invoice amount in USD"
},
"inference_result.PaymentTerms": {
"dtype": "string",
"description": "Payment terms string (e.g., '30 Days')"
},
"inference_result.AgencyCommission": {
"dtype": "float",
"description": "Agency commission amount in USD"
},
"inference_result.NetAmountDue": {
"dtype": "float",
"description": "Net amount due after commission in USD"
},
"inference_result.LineItems": {
"dtype": "list[dict]",
"description": "Individual advertising line items",
"item_fields": {
"LineItemDescription": {
"dtype": "string",
"description": "Program or time slot description"
},
"LineItemStartDate": {
"dtype": "string",
"description": "Airing start date (MM/DD/YY)"
},
"LineItemEndDate": {
"dtype": "string",
"description": "Airing end date (MM/DD/YY)"
},
"LineItemDays": {
"dtype": "string",
"description": "Days-of-week bitmask, e.g. '-T-----' for Tuesday"
},
"LineItemRate": {
"dtype": "float",
"description": "Cost for this line item in USD"
}
}
}
}
}
},
"repo": {
"repo_id": "amazon/ConfBench",
"repo_type": "dataset",
"path_patterns": {
"original_pdf": "assets/{doc_id}/original.pdf",
"ground_truth": "assets/{doc_id}/gt.json",
"metadata": "assets/{doc_id}/metadata.json",
"noisy_pdf": "assets/{doc_id}/{pipeline_name}/{pipeline_name}_noisy.pdf"
}
},
"source": {
"name": "RealKIE-FCC-Verified",
"url": "https://huggingface.co/datasets/amazon-agi/RealKIE-FCC-Verified",
"derived_from": {
"name": "RealKIE (FCC Invoices subset)",
"url": "https://indicodatasolutions.github.io/RealKIE/",
"paper": "https://arxiv.org/abs/2403.20101"
},
"augmentation_library": "augraphy",
"augmentation_library_url": "https://github.com/sparkfish/augraphy"
},
"annotations_creators": [
"expert-generated"
],
"source_datasets": [
"https://indicodatasolutions.github.io/RealKIE/",
"https://huggingface.co/datasets/amazon-agi/RealKIE-FCC-Verified"
]
}