Skip to content

Public eval sets

16 public sets of documents with true values, by document type. Each is scored by code against its answer key, never by a model, and is pinned to a fixed revision of its source so a score can be reproduced.

readanydoc evals list                         # these sets, and your own
readanydoc evals run tax-forms --limit 10     # downloads on first use, shows the cost, asks, then scores
readanydoc evals run tax-forms --outputs ./my_parser_results    # score any parser's saved results, no model call

The same documents (the first 50 of the larger sets), in one format, are on Hugging Face as ReadAnyDoc Evals for use without ReadAnyDoc:

from datasets import load_dataset
ds = load_dataset("arpitpatel25/readanydoc-evals", "tax-forms", split="test")

These sets were made by the people credited below; ReadAnyDoc adds a schema per document type, one format and the scorer. Each keeps its own licence, and several allow research or non-commercial use only: check before you use one. To build a set from your own documents instead, see Eval sets from your own documents; for how runs, costs and reports work, see Test it yourself.

Set Document type Documents Licence
invoices invoices and credit notes 181 CC-BY-4.0
receipts receipts 100 CC-BY-4.0
financial-reports financial filings 7 MIT
credit-agreements legal contracts 10 MIT
research-papers academic papers 6 MIT
resumes resumes and CVs 7 MIT
sports-results result tables 5 MIT
long-documents long reports 50 CC-BY-4.0
contracts commercial contracts 510 CC-BY-4.0
sec-filings financial filings 16 CC-BY-NC-4.0 (PDFs); public domain (answers)
sec-10k financial filings 20 CC-BY-NC-4.0 (PDFs); public domain (answers)
forms forms 50 Non-commercial research use (FUNSD)
forms-multilingual forms 350 CC-BY-NC-SA-4.0
registration-forms government forms 300 CC-BY-4.0
ad-buy-forms invoices and contracts 300 CC-BY-4.0
tax-forms tax forms 60 Public domain (IRS); invented values

The sets

invoices

Invoices. digital PDFs in US/UK/EU/ZA formats, 6 currencies, VAT, credit notes, multi-page, freight, scans, phone photos, handwritten invoice books, several invoices in one file

  • Documents: 181 (invoices and credit notes)
  • Made by: InvoiceParser Pro (invoice-extraction-benchmark)
  • Licence: CC-BY-4.0 (made by InvoiceParser Pro, a vendor; synthetic documents)
  • Run it: readanydoc evals run invoices (a sample of 20 by default; --limit for more)
  • On Hugging Face: invoices.
  • Note: Our field-by-field grader with the set's rules (credit notes compare magnitudes), not its own scorer.

receipts

Restaurant and shop receipts (CORD). photographed Indonesian receipts: items, quantities, prices, subtotal, tax, total

  • Documents: 100 (receipts)
  • Made by: NAVER CLOVA (CORD v2)
  • Licence: CC-BY-4.0
  • Run it: readanydoc evals run receipts (a sample of 20 by default; --limit for more)
  • On Hugging Face: receipts.

financial-reports

Quarterly and annual reports (10-Q, 10-K). income statement, balance sheet and cash-flow values with periods, units and scales, by segment

  • Documents: 7 (financial filings)
  • Made by: Contextual AI (ExtractBench)
  • Licence: MIT (ExtractBench)
  • Run it: readanydoc evals run financial-reports (a sample of 2 by default; --limit for more)
  • On Hugging Face: financial-reports.
  • Note: Long documents (40-100+ pages); a schema the API cannot enforce in one call.

credit-agreements

Credit agreements. parties, facilities, amounts, rates and key terms from corporate credit agreements

  • Documents: 10 (legal contracts)
  • Made by: Contextual AI (ExtractBench)
  • Licence: MIT (ExtractBench)
  • Run it: readanydoc evals run credit-agreements (a sample of 2 by default; --limit for more)
  • On Hugging Face: credit-agreements.
  • Note: Very long documents (often 100+ pages).

research-papers

Research papers. title, authors, affiliations, abstract, identifiers and references

  • Documents: 6 (academic papers)
  • Made by: Contextual AI (ExtractBench)
  • Licence: MIT (ExtractBench)
  • Run it: readanydoc evals run research-papers (a sample of 3 by default; --limit for more)
  • On Hugging Face: research-papers.

resumes

Resumes. experience, education, skills and certifications

  • Documents: 7 (resumes and CVs)
  • Made by: Contextual AI (ExtractBench)
  • Licence: MIT (ExtractBench)
  • Run it: readanydoc evals run resumes (a sample of 3 by default; --limit for more)
  • On Hugging Face: resumes.

sports-results

Championship results. rankings, times, records and athlete details from long result tables

  • Documents: 5 (result tables)
  • Made by: Contextual AI (ExtractBench)
  • Licence: MIT (ExtractBench)
  • Run it: readanydoc evals run sports-results (a sample of 2 by default; --limit for more)
  • On Hugging Face: sports-results.

long-documents

Long government and business reports (LongExtract). every row of long repeated tables across many pages (statistics, budgets, utilisation reports)

  • Documents: 50 (long reports)
  • Made by: micro1 (LongExtract-Bench)
  • Licence: CC-BY-4.0
  • Run it: readanydoc evals run long-documents (a sample of 2 by default; --limit for more)
  • On Hugging Face: long-documents.
  • Note: Some documents run to thousands of pages; samples take the shortest first.

contracts

Commercial contracts (CUAD). title, parties, agreement, effective and expiry dates, governing law, and whether 12 kinds of clause are present (non-compete, exclusivity, termination for convenience, change of control, caps on liability...), against lawyers' answers

  • Documents: 510 (commercial contracts)
  • Made by: The Atticus Project (CUAD)
  • Licence: CC-BY-4.0 (The Atticus Project)
  • Run it: readanydoc evals run contracts (a sample of 10 by default; --limit for more)
  • On Hugging Face: contracts.
  • Note: Answer key: CUAD's master_clauses.csv. Fields whose answer is not a plain value are not scored.

sec-filings

10-Q filings checked against SEC data. income statement, balance sheet and cash-flow values of 16 companies' 10-Qs (40-100 pages), against the numbers each company tagged itself in its SEC filing (XBRL): no hand-made answer key

  • Documents: 16 (financial filings)
  • Made by: Patronus AI (PDFs) and the US SEC (answer key) (FinanceBench + SEC XBRL company facts)
  • Licence: PDFs: FinanceBench (CC-BY-NC-4.0, research use); answer key: SEC data, public domain
  • Run it: readanydoc evals run sec-filings (a sample of 3 by default; --limit for more)
  • On Hugging Face: sec-filings.
  • Note: Recall = tagged values found; precision = extracted company values the company also tagged (a lower bound: untagged sub-lines count as wrong). Scorer: readanydoc/bench/sec.py.

sec-10k

10-K annual reports checked against SEC data. income statement, balance sheet and cash-flow values (three years of results) of 20 companies' fiscal 2022 10-Ks (80-500 pages), against the numbers each company tagged itself in its SEC filing (XBRL)

  • Documents: 20 (financial filings)
  • Made by: Patronus AI (PDFs) and the US SEC (answer key) (FinanceBench + SEC XBRL company facts)
  • Licence: PDFs: FinanceBench (CC-BY-NC-4.0, research use); answer key: SEC data, public domain
  • Run it: readanydoc evals run sec-10k (a sample of 2 by default; --limit for more)
  • On Hugging Face: sec-10k.
  • Note: Same scorer as sec-filings (readanydoc/bench/sec.py). Shortest first; PepsiCo's runs to 503 pages.

forms

Scanned forms (FUNSD). question/answer pairs of noisy scanned business forms (1980s-90s, typed and handwritten entries, checkboxes), against the human-labelled links

  • Documents: 50 (forms)
  • Made by: Jaume, Ekenel and Thiran (EPFL) (FUNSD)
  • Licence: FUNSD licence: non-commercial, research and educational use only (EPFL)
  • Run it: readanydoc evals run forms (a sample of 10 by default; --limit for more)
  • Not on Hugging Face (FUNSD's licence (non-commercial, research and educational use) does not clearly allow re-hosting); it runs from its source.
  • Note: The 50 forms of FUNSD's test part. Answer key: every labelled question -> answer link; a printed option list linked to its question counts as values too.

forms-multilingual

Forms in seven languages (XFUND). question/answer pairs of filled forms in Chinese, Japanese, Spanish, French, Italian, German and Portuguese (typed and handwritten), copied in the form's language

  • Documents: 350 (forms)
  • Made by: Microsoft Research Asia (XFUND)
  • Licence: CC-BY-NC-SA-4.0 (Microsoft; non-commercial)
  • Run it: readanydoc evals run forms-multilingual (a sample of 14 by default; --limit for more)
  • On Hugging Face: forms-multilingual.
  • Note: The 7 x 50 validation forms (XFUND's test part). Images are taken one by one out of the release archives, not downloaded whole. Same answer-key rules as forms.

registration-forms

Foreign-agent registration filings (VRDU). registration number, registrant, foreign principal, signer, title and date from US Justice Department FARA filings, 1940s typewritten scans to recent PDFs

  • Documents: 300 (government forms)
  • Made by: Google Research (VRDU)
  • Licence: CC-BY-4.0 (Google Research)
  • Run it: readanydoc evals run registration-forms (a sample of 10 by default; --limit for more)
  • On Hugging Face: registration-forms.
  • Note: VRDU's mixed-template test split. Answer key: annotators' spans of the OCR text, so a few carry OCR errors; dates that cannot be read as a date are left out of the key.

ad-buy-forms

Political TV ad contracts and invoices (VRDU). advertiser, agency, contract number, flight dates, station, gross amount and every line item (program, dates, cost) of TV stations' political ad orders, dozens of layouts

  • Documents: 300 (invoices and contracts)
  • Made by: Google Research (VRDU)
  • Licence: CC-BY-4.0 (Google Research)
  • Run it: readanydoc evals run ad-buy-forms (a sample of 10 by default; --limit for more)
  • On Hugging Face: ad-buy-forms.
  • Note: VRDU's mixed-template test split (from FCC public files, as DeepForm). Answer key: annotators' spans of the OCR text, so a few carry OCR errors.

tax-forms

US tax forms filled with known values. every box of W-2, 1099-NEC and W-9 forms, including checkboxes, half of them made to look scanned; the answer key is the values the form was filled with

  • Documents: 60 (tax forms)
  • Made by: US Internal Revenue Service (blank forms); values invented by ReadAnyDoc (IRS forms W-2, 1099-NEC, W-9)
  • Licence: Blank forms: IRS (US government work, public domain); values: invented by ReadAnyDoc
  • Run it: readanydoc evals run tax-forms (a sample of 6 by default; --limit for more)
  • On Hugging Face: tax-forms.
  • Note: Made on your machine from the IRS's fillable PDFs (checked by hash), so no answer key is labelled by hand. Generator: readanydoc/bench/taxforms.py.