Repository navigation
Add ExtractBench Pro download and evaluation support - #81
Merged
Merged
Conversation
xujustinj
marked this pull request as ready for review
October 16, 2026 00:41
Author
|
Looks like it works! xujustinj@Justins-MacBook-Pro ExtractBench % uv run extract-bench download --dataset pro
Downloading dataset from HuggingFace: llamaindex/ExtractBench
Destination: data
Downloading (incomplete total...): 0.00B [00:00, ?B/s] Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.
Fetching 402 files: 100%|█████████████████████████████████████████████████████████████| 402/402 [00:08<00:00, 46.10it/s]
Download complete: : 258MB [00:10, 24.3MB/s]
Dataset ready at: data (370 test cases, revision 51bf3a03eb7f)
ERROR: Could not consume arg: --dataset
Usage: extract-bench download - <command|value>
available commands: as_integer_ratio | bit_count | bit_length |
conjugate | from_bytes | is_integer | to_bytes
available values: denominator | imag | numerator | real
For detailed information on this command, run:
extract-bench download - --help
xujustinj@Justins-MacBook-Pro ExtractBench % git checkout codex/pro-download
branch 'codex/pro-download' set up to track 'origin/codex/pro-download'.
Switched to a new branch 'codex/pro-download'
xujustinj@Justins-MacBook-Pro ExtractBench % git pull
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 3 (delta 2), pack-reused 0 (from 0)
Unpacking objects: 100% (3/3), 671 bytes | 134.00 KiB/s, done.
From https://github.com/run-llama/ExtractBench
113d93f..f492e3f codex/pro-download -> origin/codex/pro-download
Updating 113d93f..f492e3f
Fast-forward
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
xujustinj@Justins-MacBook-Pro ExtractBench % uv run extract-bench download --dataset pro
Downloading dataset from HuggingFace: llamaindex/ExtractBenchPro
Destination: data-pro
Downloading (incomplete total...): 0.00B [00:00, ?B/s] Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.
Fetching 106 files: 100%|█████████████████████████████████████████████████████████████| 106/106 [00:17<00:00, 5.91it/s]
Download complete: : 1.31GB [00:17, 53.5MB/s] Dataset ready at: data-pro (100 test cases, revision 4ae1ffe48696)
0
Download complete: : 1.31GB [00:19, 66.4MB/s]
xujustinj@Justins-MacBook-Pro ExtractBench % uv run extract-bench status --dataset pro
Dataset: data-pro
Revision: 4ae1ffe48696
Split Test Cases
------------------------------------
charts_inside_documents 25
document_conventions 22
drawn_relations 20
house_counting_rules 12
house_vocabulary 14
long_chart_sheets 7
------------------------------------
Total 100
0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The public harness only downloads the original short/medium/long dataset. Add
--dataset proto download, status, and run so users can download all six Pro challenge splits and evaluate them with the existing scorer. The README includes copyable download, evaluation, and report commands.Pro defaults to
data-pro/andoutput-pro/, keeping it separate from original ExtractBench. Downloads preserve the resolved Hugging Face revision, reject a directory owned by the other dataset, and repair interrupted refreshes without accepting stale PDFs as ready. Pro has no--testsubset;--groupselects one challenge.Validation:
uv build.git diff --check.New regression/contract tests cover: public CLI reconstruction into loader-readable cases and missing PDFs; cross-dataset overwrite rejection in both directions; invalid selection before download/inference; routing both inference and evaluation into Pro directories; refreshed PDFs and removed documents; and interrupted refresh readiness/retry behavior.