Renaissance Labs

Index / Social sciences / Library, information and archival studies

0322Library, information and archival studies

ExtractBench

llamaindex/ExtractBench

Extract schema-valid JSON from a full PDF document, with correct exhaustive values, nulls for absent data, and a page and bounding box as evidence.

Open on Hugging FaceHow to run it

Good for

  • schema-guided extraction evaluation
  • grounded extraction

Reward

How it is scored
Programmatic check
Signal
Graded, 0 to 1

Unified value F1 against expected output, plus word-level and page-level grounding F1 on documents with verified box ground truth.

How to run it

1. From the cardcopied from the publisher's own instructions

uv run extract-bench download          # data/<split>/<doc>.pdf + <doc>.test.json
uv run extract-bench run <pipeline>    # inference -> evaluation -> reports

2. Get the filesthe whole repository, to a local folder

hf download llamaindex/ExtractBench --repo-type dataset --local-dir ExtractBench

3. Check it with Harborcommon pattern, not from this card

# the oracle agent runs the reference solution, so no model is called
harbor run --repo https://huggingface.co/datasets/llamaindex/ExtractBench --agent oracle

If every task passes, the environment works on your machine. Then swap in your own agent and model. Some repositories keep the tasks in a subfolder; the card says where.

Framework documentation: Harbor.