Download index.html from hyperbots-inc/document-ai-failure-gallery: direct link, hf CLI and curl.
- Browser
- Download file 27.7 kB
-
https://huggingface.co/spaces/hyperbots-inc/document-ai-failure-gallery/resolve/main/index.html
- Command line
-
hf download hf://spaces/hyperbots-inc/document-ai-failure-gallery/index.html
-
curl -L -o index.html https://huggingface.co/spaces/hyperbots-inc/document-ai-failure-gallery/resolve/main/index.html
27.7 kB
| <html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Document AI Failure Gallery</title><style> | |
| :root{--bg:#0c161c;--card:#13222b;--ink:#ecf1f3;--mut:#96a6ad;--acc:#2ecc71;--amb:#ffb03b;--line:#24404d} | |
| *{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Helvetica,Arial,sans-serif} | |
| .wrap{max-width:1180px;margin:0 auto;padding:40px 24px}header h1{font-size:40px;line-height:1.15;margin:0 0 12px}header h1 span{color:var(--acc)}header p{color:var(--mut);max-width:760px;margin:0 0 8px} | |
| .cta{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 8px}.cta a{padding:10px 16px;border-radius:10px;text-decoration:none;font-weight:600;border:1px solid var(--line);color:var(--ink)}.cta a.p{background:var(--acc);color:#06210f;border-color:var(--acc)} | |
| .card{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:28px;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:22px;margin:22px 0} | |
| @media(max-width:860px){.card{grid-template-columns:1fr}} | |
| .media img{width:100%;border-radius:10px;background:#fff;display:block}.media figure{margin:0 0 12px}.media iframe{width:100%;height:380px;border:0;border-radius:10px;background:#fff}.media figcaption{color:var(--mut);font-size:13px;margin-top:4px} | |
| .num{color:var(--amb);font-weight:800;font-size:15px;letter-spacing:.08em}h2{margin:4px 0 10px;font-size:24px;line-height:1.25}h3{margin:18px 0 6px;font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--mut)} | |
| .kv{width:100%;border-collapse:collapse;font:13.5px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace}.kv td{border-top:1px solid var(--line);padding:6px 8px;vertical-align:top}.kv td:first-child{color:#7dd3fc;white-space:nowrap;width:1%} | |
| .note{border-left:3px solid var(--acc);padding:6px 12px;background:rgba(46,204,113,.08);border-radius:6px}.links a{color:var(--acc)}footer{color:var(--mut);font-size:14px;border-top:1px solid var(--line);margin-top:36px;padding-top:20px}footer a{color:var(--mut)} | |
| </style></head><body><div class="wrap"><header><h1>Document AI <span>Failure Gallery</span></h1> | |
| <p>Twelve pages that break OCR and document AI pipelines, one from each of our open synthetic benchmarks. Every page is generated, so the answer key is exact and there's no customer data anywhere.</p> | |
| <p>For each one: what the page looks like, why pipelines fail on it, and an excerpt of the answer key.</p> | |
| <div class="cta"><a class="p" href="https://huggingface.co/spaces/nchhaya/hyperapi-demo" target="_blank" rel="noopener">▶ Run these in the live demo</a><a href="https://huggingface.co/collections/hyperbots-inc/hyperapi-enterprise-document-intelligence-6af6c8764547d894d4e1a3c4" target="_blank" rel="noopener">All datasets</a><a href="https://huggingface.co/blog/nchhaya/benchmark-document-ai-synthetic-datasets" target="_blank" rel="noopener">How to score your pipeline</a></div></header> | |
| <section class="card"><div class="media"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-stamped-documents/resolve/main/data/test/stamp-0099.jpg" target="_blank" rel="noopener"><img loading="lazy" src="https://huggingface.co/datasets/hyperbots-inc/synthetic-stamped-documents/resolve/main/data/test/stamp-0099.jpg" alt="A stamp lands on the customer name"></a></div><div class="body"><div class="num">01</div><h2>A stamp lands on the customer name</h2><p>A rotated APPROVED stamp sits on top of the bill-to name and address. OCR merges stamp ink with the text underneath, so the name comes out garbled, or the stamp text ends up inside the field.</p><h3>Answer key (excerpt)</h3><table class="kv"><tr><td>bill_to_name</td><td>Juniper Healthcare Systems Corp.</td></tr><tr><td>bill_to_address</td><td>5984 Station Lane, Calgary, AB T2P 4Q6, Canada</td></tr><tr><td>total_amount</td><td>CA$3,813.33</td></tr></table><p class="note">HyperAPI extract returned all 10 fields and all 5 line items correctly on this page, including both fields under the stamp.</p><p class="links"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-stamped-documents" target="_blank" rel="noopener">Open the dataset</a> · <a href="https://huggingface.co/spaces/nchhaya/hyperapi-demo" target="_blank" rel="noopener">Try it in the live demo</a></p></div></section><section class="card"><div class="media"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-handwritten-forms/resolve/main/data/test/hw-0023.jpg" target="_blank" rel="noopener"><img loading="lazy" src="https://huggingface.co/datasets/hyperbots-inc/synthetic-handwritten-forms/resolve/main/data/test/hw-0023.jpg" alt="Handwriting in boxes built for print"></a></div><div class="body"><div class="num">02</div><h2>Handwriting in boxes built for print</h2><p>Twelve fields filled in by hand on a printed claim form, plus margin notes ("verified ID", "see attached") that belong to no field. Digits like 1/7 and 0/6 are where extraction usually slips.</p><h3>Answer key (excerpt)</h3><table class="kv"><tr><td>claim_number</td><td>CLM-060721934</td></tr><tr><td>policy_number</td><td>POL-56941089</td></tr><tr><td>date_of_birth</td><td>10/13/1982</td></tr></table><p class="links"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-handwritten-forms" target="_blank" rel="noopener">Open the dataset</a> · <a href="https://huggingface.co/spaces/nchhaya/hyperapi-demo" target="_blank" rel="noopener">Try it in the live demo</a></p></div></section><section class="card"><div class="media"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-bad-scans/resolve/main/data/test/scan-0003.jpg" target="_blank" rel="noopener"><img loading="lazy" src="https://huggingface.co/datasets/hyperbots-inc/synthetic-bad-scans/resolve/main/data/test/scan-0003.jpg" alt="A fax-quality scan at 51 DPI"></a></div><div class="body"><div class="num">03</div><h2>A fax-quality scan at 51 DPI</h2><p>Severe degradation: scaled to about 51 effective DPI, blurred, noisy, low contrast, heavy JPEG compression, around 2,000 dust specks and a stamp on top. The answer key is unchanged from the clean page.</p><h3>Answer key (excerpt)</h3><table class="kv"><tr><td>po_number</td><td>PO-57717</td></tr><tr><td>date</td><td>14/02/2025</td></tr><tr><td>supplier_name</td><td>Cedar Lab Supplies Co.</td></tr></table><p class="links"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-bad-scans" target="_blank" rel="noopener">Open the dataset</a> · <a href="https://huggingface.co/spaces/nchhaya/hyperapi-demo" target="_blank" rel="noopener">Try it in the live demo</a></p></div></section><section class="card"><div class="media"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-dense-documents/resolve/main/data/test/dense-0001.jpg" target="_blank" rel="noopener"><img loading="lazy" src="https://huggingface.co/datasets/hyperbots-inc/synthetic-dense-documents/resolve/main/data/test/dense-0001.jpg" alt="A 1939-style business directory"></a></div><div class="body"><div class="num">04</div><h2>A 1939-style business directory</h2><p>Three dense columns of abbreviated listings in small serif type on aged paper. Read straight across the page and every listing merges with its neighbours, with no error to warn you.</p><h3>Answer key (excerpt)</h3><table class="kv"><tr><td>kind</td><td>directory_listing</td></tr><tr><td>reading order</td><td>column by column, top to bottom</td></tr><tr><td>labels</td><td>every block with its bbox and order</td></tr></table><p class="links"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-dense-documents" target="_blank" rel="noopener">Open the dataset</a> · <a href="https://huggingface.co/spaces/nchhaya/hyperapi-demo" target="_blank" rel="noopener">Try it in the live demo</a></p></div></section><section class="card"><div class="media"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-pii-redaction/resolve/main/data/test/pii-0002.jpg" target="_blank" rel="noopener"><img loading="lazy" src="https://huggingface.co/datasets/hyperbots-inc/synthetic-pii-redaction/resolve/main/data/test/pii-0002.jpg" alt="Six kinds of PII on one intake form"></a></div><div class="body"><div class="num">05</div><h2>Six kinds of PII on one intake form</h2><p>Nine PII spans of six types (name, date of birth, address, phone, email, account number) spread across a patient intake form. A redactor that misses one leaves the page non-compliant, so the metric that matters is the leak rate.</p><h3>Answer key (excerpt)</h3><table class="kv"><tr><td>PII spans</td><td>9</td></tr><tr><td>types</td><td>PERSON_NAME, DATE_OF_BIRTH, ADDRESS, PHONE, EMAIL, ACCOUNT_NUMBER</td></tr><tr><td>boxes</td><td>pixel boxes for every span</td></tr></table><p class="links"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-pii-redaction" target="_blank" rel="noopener">Open the dataset</a> · <a href="https://huggingface.co/spaces/nchhaya/hyperapi-demo" target="_blank" rel="noopener">Try it in the live demo</a></p></div></section><section class="card"><div class="media"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-doc-parsing/resolve/main/data/test/parse-0083.jpg" target="_blank" rel="noopener"><img loading="lazy" src="https://huggingface.co/datasets/hyperbots-inc/synthetic-doc-parsing/resolve/main/data/test/parse-0083.jpg" alt="A balance sheet with five tables"></a></div><div class="body"><div class="num">06</div><h2>A balance sheet with five tables</h2><p>Five tables and 17 layout blocks on one page, with comparative-year columns. Parsers drop rows, merge adjacent tables or lose the column alignment between years.</p><h3>Answer key (excerpt)</h3><table class="kv"><tr><td>tables</td><td>5, each with HTML ground truth</td></tr><tr><td>blocks</td><td>17, with reading order</td></tr><tr><td>scoring</td><td>CER, TEDS and Kendall tau</td></tr></table><p class="links"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-doc-parsing" target="_blank" rel="noopener">Open the dataset</a> · <a href="https://huggingface.co/spaces/nchhaya/hyperapi-demo" target="_blank" rel="noopener">Try it in the live demo</a></p></div></section><section class="card"><div class="media"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-doc-classification/resolve/main/data/test/cls-0020.jpg" target="_blank" rel="noopener"><img loading="lazy" src="https://huggingface.co/datasets/hyperbots-inc/synthetic-doc-classification/resolve/main/data/test/cls-0020.jpg" alt="The title doesn't name the class"></a></div><div class="body"><div class="num">07</div><h2>The title doesn't name the class</h2><p>The page is titled "Aging Statement", but its class is statement of account, and the scan is degraded. A classifier that keys on the title gets it wrong.</p><h3>Answer key (excerpt)</h3><table class="kv"><tr><td>label</td><td>statement_of_account</td></tr><tr><td>title_on_page</td><td>Aging Statement</td></tr><tr><td>variant</td><td>degraded</td></tr></table><p class="links"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-doc-classification" target="_blank" rel="noopener">Open the dataset</a> · <a href="https://huggingface.co/spaces/nchhaya/hyperapi-demo" target="_blank" rel="noopener">Try it in the live demo</a></p></div></section><section class="card"><div class="media"><figure><iframe sandbox="" srcdoc="<!DOCTYPE html><html><head><meta charset="utf-8"><title></title><style>body{font-family:Arial,sans-serif;max-width:800px;margin:24px auto;font-size:14px}dl{display:grid;grid-template-columns:max-content 1fr;gap:2px 12px}dt{font-weight:bold}footer{color:#666;font-size:12px;margin-top:24px}</style></head><body><header><h2>Apex Hospitality Ltd</h2><p>887 Industrial Pkwy, Raleigh, NC 27650, USA<br>+1 (269) 555-0109 · ap@apexhospitalit.example.com</p><h1>PROFIT &amp; LOSS STATEMENT</h1></header> | |
| <p>For the year ended 31 December 2023. Amounts in USD (in thousands).</p> | |
| <h3>Revenue</h3> | |
| <table border="1" cellpadding="4" style="border-collapse:collapse"><thead><tr><th></th><th>2023</th><th>2022</th></tr></thead><tbody><tr><td>Product revenue</td><td>1,905</td><td>2,127</td></tr><tr><td>Service revenue</td><td>8,346</td><td>8,077</td></tr><tr><td>Other operating income</td><td>5,515</td><td>5,252</td></tr><tr><td>Total revenue</td><td>15,766</td><td>15,456</td></tr></tbody></table> | |
| <h3>Cost of sales</h3> | |
| <table border="1" cellpadding="4" style="border-collapse:collapse"><thead><tr><th></th><th>2023</th><th>2022</th></tr></thead><tbody><tr><td>Materials</td><td>5,163</td><td>4,780</td></tr><tr><td>Direct labour</td><td>5,216</td><td>5,302</td></tr><tr><td>Manufacturing overhead</td><td>5,514</td><td>6,148</td></tr><tr><td>Total cost of sales</td><td>15,893</td><td>16,230</td></tr></tbody></table> | |
| <h3>Operating expenses</h3> | |
| <table border="1" cellpadding="4" style="border-collapse:collapse"><thead><tr><th></th><th>2023</th><th>2022</th></tr></thead><tbody><tr><td>Selling and marketing</td><td>3,794</td><td>3,239</td></tr><tr><td>General and administrative</td><td>5,911</td><td>6,702</td></tr><tr><td>Research and development</td><td>1,347</td><td>1,503</td></tr><tr><td>Depreciation and amortisation</td><td>7,334</td><td>7,959</td></tr><tr><td>Total operating expenses</td><td>18,386</td><td>19,403</td></tr></tbody></table> | |
| <h3>Finance and tax</h3> | |
| <table border="1" cellpadding="4" style="border-collapse:collapse"><thead><tr><th></th><th>2023</th><th>2022</th></tr></thead><tbody><tr><td>Finance costs</td><td>3,911</td><td>3,794</td></tr><tr><td>Interest income</td><td>5,975</td><td>5,255</td></tr><tr><td>Income tax expense</td><td>8,253</td><td>6,631</td></tr><tr><td>Total finance and tax</td><td>18,139</td><td>15,680</td></tr></tbody></table> | |
| <p>The accompanying notes form an integral part of these financial statements.</p> | |
| <section class="card"><div class="media"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-rotated-text/resolve/main/data/test/rot-0002.jpg" target="_blank" rel="noopener"><img loading="lazy" src="https://huggingface.co/datasets/hyperbots-inc/synthetic-rotated-text/resolve/main/data/test/rot-0002.jpg" alt="A sideways tax invoice"></a></div><div class="body"><div class="num">11</div><h2>Scanned sideways, with text running up the margin</h2><p>A tax invoice fed into the scanner on its side, so the whole page is turned 90° clockwise. A form code runs up one margin and a scan ID down the other, and a CANCELLED stamp sits on the page. Upright-only OCR returns noise, and even systems that fix the orientation tend to skip the vertical margin text.</p><h3>Answer key (excerpt)</h3><table class="kv"><tr><td>page_rotation</td><td>90 (turned clockwise)</td></tr><tr><td>invoice_number</td><td>TI/45420</td></tr><tr><td>form_code</td><td>PRC-471 (vertical, reads bottom to top)</td></tr><tr><td>scan_id</td><td>2021-08-22-534842 (vertical, reads top to bottom)</td></tr></table><p class="links"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-rotated-text" target="_blank" rel="noopener">Open the dataset</a> · <a href="https://huggingface.co/spaces/nchhaya/hyperapi-demo" target="_blank" rel="noopener">Try it in the live demo</a></p></div></section> | |
| <section class="card"><div class="media"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-logo-vendor-names/resolve/main/data/test/logo-0008.jpg" target="_blank" rel="noopener"><img loading="lazy" src="https://huggingface.co/datasets/hyperbots-inc/synthetic-logo-vendor-names/resolve/main/data/test/logo-0008.jpg" alt="A bill of lading with the carrier name only in a seal logo"></a></div><div class="body"><div class="num">12</div><h2>The vendor name is only in the logo</h2><p>A bill of lading whose carrier name appears only as small capitals around a circular seal. There is no plain-text name line and no footer repeating it. Text-only pipelines come back with an empty vendor field, or grab the shipper or consignee name instead, and the vendor name is what accounts payable matches on.</p><h3>Answer key (excerpt)</h3><table class="kv"><tr><td>vendor_name (carrier)</td><td>Pinecrest Freight Corp. (only in the seal)</td></tr><tr><td>logo.style</td><td>seal</td></tr><tr><td>b/l number</td><td>HPCP2101254</td></tr></table><p class="links"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-logo-vendor-names" target="_blank" rel="noopener">Open the dataset</a> · <a href="https://huggingface.co/spaces/nchhaya/hyperapi-demo" target="_blank" rel="noopener">Try it in the live demo</a></p></div></section> | |
| <footer>Apex Hospitality Ltd · Unaudited management accounts</footer></body></html>"></iframe><figcaption>Page 2</figcaption></figure><figure><iframe sandbox="" srcdoc="<!DOCTYPE html><html><head><meta charset="utf-8"><title></title><style>body{font-family:Arial,sans-serif;max-width:800px;margin:24px auto;font-size:14px}dl{display:grid;grid-template-columns:max-content 1fr;gap:2px 12px}dt{font-weight:bold}footer{color:#666;font-size:12px;margin-top:24px}</style></head><body><header><h2>Redstone Apparel LLP</h2><p>1865 Market St, Denver, CO 80232, USA<br>+1 (921) 555-0169 · orders@redstoneappare.example.com</p><h1>Income Statement</h1></header> | |
| <p>For the year ended 31 December 2025. Amounts in USD.</p> | |
| <h3>Revenue</h3> | |
| <table border="1" cellpadding="4" style="border-collapse:collapse"><thead><tr><th></th><th>2025</th><th>2024</th></tr></thead><tbody><tr><td>Product revenue</td><td>7,631,575</td><td>7,588,320</td></tr><tr><td>Service revenue</td><td>1,403,810</td><td>1,251,448</td></tr><tr><td>Other operating income</td><td>3,304,180</td><td>2,862,176</td></tr><tr><td>Total revenue</td><td>12,339,565</td><td>11,701,944</td></tr></tbody></table> | |
| <h3>Cost of sales</h3> | |
| <table border="1" cellpadding="4" style="border-collapse:collapse"><thead><tr><th></th><th>2025</th><th>2024</th></tr></thead><tbody><tr><td>Materials</td><td>8,629,072</td><td>7,960,427</td></tr><tr><td>Direct labour</td><td>6,857,606</td><td>5,679,814</td></tr><tr><td>Manufacturing overhead</td><td>8,060,963</td><td>8,456,617</td></tr><tr><td>Total cost of sales</td><td>23,547,641</td><td>22,096,858</td></tr></tbody></table> | |
| <h3>Operating expenses</h3> | |
| <table border="1" cellpadding="4" style="border-collapse:collapse"><thead><tr><th></th><th>2025</th><th>2024</th></tr></thead><tbody><tr><td>Selling and marketing</td><td>2,323,325</td><td>2,317,767</td></tr><tr><td>General and administrative</td><td>7,917,043</td><td>8,243,381</td></tr><tr><td>Research and development</td><td>6,575,998</td><td>5,366,402</td></tr><tr><td>Depreciation and amortisation</td><td>5,191,529</td><td>4,243,093</td></tr><tr><td>Total operating expenses</td><td>22,007,895</td><td>20,170,643</td></tr></tbody></table> | |
| <h3>Finance and tax</h3> | |
| <table border="1" cellpadding="4" style="border-collapse:collapse"><thead><tr><th></th><th>2025</th><th>2024</th></tr></thead><tbody><tr><td>Finance costs</td><td>4,115,969</td><td>4,701,612</td></tr><tr><td>Interest income</td><td>5,957,850</td><td>6,680,786</td></tr><tr><td>Income tax expense</td><td>2,299,351</td><td>2,353,385</td></tr><tr><td>Total finance and tax</td><td>12,373,170</td><td>13,735,783</td></tr></tbody></table> | |
| <p>The accompanying notes form an integral part of these financial statements.</p> | |
| <footer>Redstone Apparel LLP · Unaudited management accounts</footer></body></html>"></iframe><figcaption>Page 3 (a new document)</figcaption></figure></div><div class="body"><div class="num">08</div><h2>Two P&L statements back to back</h2><p>A 9-page bundle holding 7 documents. Pages 2 and 3 are both profit and loss statements, but they are different documents. Splitters that compare one page with the next see "same type" and merge them.</p><h3>Answer key (excerpt)</h3><table class="kv"><tr><td>documents</td><td>7 in 9 pages</td></tr><tr><td>segments</td><td>cover_sheet 1 · profit_and_loss 2 · profit_and_loss 3-4 · credit_application 5 · nda 6-7 · profit_and_loss 8 · patient_intake_form 9</td></tr><tr><td>scoring</td><td>boundary F1 and document F1</td></tr></table><p class="links"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-doc-splitting" target="_blank" rel="noopener">Open the dataset</a></p></div></section><section class="card"><div class="media"><figure><iframe sandbox="" srcdoc="<!DOCTYPE html><html><head><meta charset="utf-8"></head><body style="font-family:'Courier New',monospace;color:#000;max-width:780px;margin:32px auto;padding:24px"><h1>Invoice</h1><h2>Pinecrest Lab Supplies LLC</h2><p>8709 Market St, Leeds BS1 7AB, UK</p><p>Invoice No.: <b>INV-2025-68021</b><br>Date of Issue: 2025-06-30<br>Payment Due: 2025-08-14<br>Terms: Net 45</p><h3>Sold To</h3><p>Foxglove Facility Services Ltd<br>Attn: Ravi Hart<br>2698 Elm Street, Denver, CO 61014, US</p><table style="width:100%;border-collapse:collapse" border="1" cellpadding="6"><thead><tr><th>Description</th><th>Qty</th><th>Unit Price</th><th>Amount</th></tr></thead><tbody><tr><td>Calibration service</td><td style="text-align:right">4</td><td style="text-align:right">316.16</td><td style="text-align:right">1,264.64</td></tr><tr><td>Printer toner cartridge</td><td style="text-align:right">1</td><td style="text-align:right">59.50</td><td style="text-align:right">59.50</td></tr><tr><td>Cat6 patch cable 3m</td><td style="text-align:right">51</td><td style="text-align:right">6.60</td><td style="text-align:right">336.60</td></tr><tr><td>Ergonomic office chair</td><td style="text-align:right">1</td><td style="text-align:right">356.06</td><td style="text-align:right">356.06</td></tr><tr><td>Forklift rental, per day</td><td style="text-align:right">7</td><td style="text-align:right">261.34</td><td style="text-align:right">1,829.38</td></tr><tr><td>Corrugated shipping box 18x12x10</td><td style="text-align:right">70</td><td style="text-align:right">2.48</td><td style="text-align:right">173.60</td></tr><tr><td>Nitrile gloves, box of 100</td><td style="text-align:right">19</td><td style="text-align:right">11.59</td><td style="text-align:right">220.21</td></tr><tr><td>Pallet wrap film 500mm</td><td style="text-align:right">60</td><td style="text-align:right">15.23</td><td style="text-align:right">913.80</td></tr><tr><td>Corrugated shipping box 18x12x10</td><td style="text-align:right">105</td><td style="text-align:right">3.29</td><td style="text-align:right">345.45</td></tr><tr><td>Laptop docking station</td><td style="text-align:right">2</td><td style="text-align:right">102.79</td><td style="text-align:right">205.58</td></tr><tr><td>Cloud backup subscription, monthly</td><td style="text-align:right">3</td><td style="text-align:right">100.17</td><td style="text-align:right">300.51</td></tr><tr><td>Cloud backup subscription, monthly</td><td style="text-align:right">2</td><td style="text-align:right">99.95</td><td style="text-align:right">199.90</td></tr></tbody></table><p style="text-align:right">Subtotal: £6,205.23<br>VAT (20%): £1,241.05<br><b>Total Due: £7,446.28</b></p><p>Thank you for your business.</p></body></html>"></iframe><figcaption>Invoice</figcaption></figure></div><div class="body"><div class="num">09</div><h2>A ledger-style invoice with 12 lines</h2><p>A UK ledger layout with 12 line items in GBP. Line items are where extraction falls apart: rows split, descriptions wrap, and quantity × unit price has to match the line total.</p><h3>Answer key (excerpt)</h3><table class="kv"><tr><td>invoice_number</td><td>INV-2025-68021</td></tr><tr><td>line 1</td><td>Calibration service · 4 × 316.16 = 1,264.64</td></tr><tr><td>total</td><td>GBP 7,446.28</td></tr></table><p class="links"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-invoice-extraction" target="_blank" rel="noopener">Open the dataset</a></p></div></section><section class="card"><div class="media"><figure><iframe sandbox="" srcdoc="<!DOCTYPE html><html><head><meta charset="utf-8"><title>Pathology Report</title><style>body{font-family:Arial,sans-serif;max-width:800px;margin:24px auto;font-size:14px}dl{display:grid;grid-template-columns:max-content 1fr;gap:2px 12px}dt{font-weight:bold}footer{color:#666;font-size:12px;margin-top:24px}</style></head><body><header><h2>Valemont Diagnostics GmbH</h2><p>568 Maple Ave, Austin, TX 78705, USA<br>+1 (858) 555-0127 · billing@valemontdiagno.example.com</p><h1>Pathology Report</h1></header> | |
| <dl class="kv"><dt>Patient Name</dt><dd>Victor Reddy</dd><dt>Date of Birth</dt><dd>07/05/1962</dd><dt>Patient ID</dt><dd>MRN-7035481</dd><dt>Collected</dt><dd>03/05/2025</dd><dt>Referring Physician</dt><dd>Dr. Olivia Silva</dd><dt>Specimen</dt><dd>Serum</dd></dl> | |
| <table border="1" cellpadding="4" style="border-collapse:collapse"><thead><tr><th>Test</th><th>Result</th><th>Units</th><th>Reference Range</th></tr></thead><tbody><tr><td>HbA1c</td><td>7.5</td><td>%</td><td>&lt; 5.7</td></tr><tr><td>TSH</td><td>5.3</td><td>mIU/L</td><td>0.4 - 4.0</td></tr><tr><td>Hemoglobin</td><td>11.8</td><td>g/dL</td><td>13.0 - 17.0</td></tr><tr><td>LDL Cholesterol</td><td>149.3</td><td>mg/dL</td><td>&lt; 100</td></tr><tr><td>WBC Count</td><td>8.5</td><td>x10^9/L</td><td>4.0 - 11.0</td></tr><tr><td>Total Cholesterol</td><td>217.1</td><td>mg/dL</td><td>&lt; 200</td></tr></tbody></table> | |
| <p>Results should be interpreted in conjunction with clinical findings. Values outside the reference range are not necessarily abnormal for every patient.</p> | |
| <div class="signatures"><p>Verified by (Pathologist): <i>Dr. Rohan Hart</i></p></div></body></html>"></iframe><figcaption>Lab report</figcaption></figure></div><div class="body"><div class="num">10</div><h2>Not every document is a finance document</h2><p>A pathology report from the enterprise set, which spans 31 document types. Nested results tables (test, result, units, reference range) need a schema, not a flat key-value list.</p><h3>Answer key (excerpt)</h3><table class="kv"><tr><td>lab_name</td><td>Valemont Diagnostics GmbH</td></tr><tr><td>results[0]</td><td>HbA1c · 7.5 % · ref < 5.7</td></tr><tr><td>results</td><td>6 rows</td></tr></table><p class="links"><a href="https://huggingface.co/datasets/hyperbots-inc/synthetic-enterprise-doc-extraction" target="_blank" rel="noopener">Open the dataset</a></p></div></section> | |
| <footer><p>All documents, names, companies and numbers are synthetic. Datasets are CC BY 4.0 and the generator code is MIT. Built by <a href="https://huggingface.co/hyperbots-inc" target="_blank" rel="noopener">Hyperbots</a>. Want to run HyperAPI on them? Starter is $1 a month, and code <b>HYPRAPI1K</b> adds 1,000 extra pages in your first month: <a href="https://apis.hyperbots.com/pricing?utm_source=huggingface&utm_medium=gallery&utm_campaign=hyperapi_hf&utm_content=promo_1k" target="_blank" rel="noopener">pricing</a>.</p></footer></div></body></html> |