|
Download README.md from docling-project/performance-dataset-bo20: direct link, hf CLI and curl.
- Browser
- Download file 4.92 kB
-
https://huggingface.co/datasets/docling-project/performance-dataset-bo20/resolve/main/README.md
- Command line
-
hf download hf://datasets/docling-project/performance-dataset-bo20/README.md
-
curl -L -o README.md https://huggingface.co/datasets/docling-project/performance-dataset-bo20/resolve/main/README.md
4.92 kB
| license: apache-2.0 | |
| # Bo20 PDF performance dataset | |
| A small corpus for smoke tests and quick benchmark iterations. It contains only 20 documents and does not cover the full workloads of Bo767 or Bo10k. | |
| The document selection follows NVIDIA NeMo Retriever's **26.03** evaluation resources. | |
| PDFs come from Digital Corpora's CC-MAIN-2021-31-PDF-UNTRUNCATED collection; numeric filenames preserve the source document IDs. | |
| ## Corpus statistics | |
| | Metric | Value | | |
| |---|---:| | |
| | PDF documents | 20 | | |
| | Total pages | 496 | | |
| | PDF size | 0.359 GB (0.334 GiB) | | |
| | Mean pages/document | 24.80 | | |
| | Median pages/document | 16.50 | | |
| | Minimum / maximum pages | 1 / 116 | | |
| | 25th / 75th percentile | 2.75 / 34.25 | | |
| | 90th / 95th / 99th percentile | 54.20 / 84.65 / 109.73 | | |
| | Single-page documents | 2 | | |
| Statistics count every PDF in `pdf/`, using pypdfium2 5.14.0, on 2026-11-06. | |
| All PDFs could be opened and their pages counted; this is not a rendering or PDF-conformance check. | |
| Percentiles use linear interpolation. Sizes sum PDF file bytes and exclude Git/LFS storage. | |
| ## Document length and page distribution | |
| | Pages/document | Documents | Document share | Pages | Page share | | |
| |---|---:|---:|---:|---:| | |
| | 1 | 2 | 10.0% | 2 | 0.4% | | |
| | 2-10 | 7 | 35.0% | 26 | 5.2% | | |
| | 11-50 | 8 | 40.0% | 218 | 44.0% | | |
| | 51-100 | 2 | 10.0% | 134 | 27.0% | | |
| | 101-500 | 1 | 5.0% | 116 | 23.4% | | |
| | 501-1000 | 0 | 0.0% | 0 | 0.0% | | |
| | 1001+ | 0 | 0.0% | 0 | 0.0% | | |
|  | |
| The left panel compares the share of documents with the share of pages in each length range. | |
| The right panel orders documents from longest to shortest and shows their cumulative share of all pages. | |
| The diagonal represents equal page counts per document. | |
| Documents with more than 100 pages: 1, containing 23.4% of all pages. | |
| The ten longest documents account for 91.3% of all pages. | |
| Page counts describe corpus size; images, fonts and page content also affect parsing and rendering time. | |
| ## Longest documents | |
| | PDF | Pages | Size (MB) | | |
| |---|---:|---:| | |
| | [2062555.pdf](pdf/2062555.pdf) | 116 | 283.82 | | |
| | [1598224.pdf](pdf/1598224.pdf) | 83 | 0.90 | | |
| | [1375277.pdf](pdf/1375277.pdf) | 51 | 52.61 | | |
| | [2049749.pdf](pdf/2049749.pdf) | 47 | 2.33 | | |
| | [1061225.pdf](pdf/1061225.pdf) | 44 | 0.89 | | |
| ## Documents | |
| - [1016445.pdf](pdf/1016445.pdf): 2 pages | |
| - [1037700.pdf](pdf/1037700.pdf): 24 pages | |
| - [1043219.pdf](pdf/1043219.pdf): 2 pages | |
| - [1061225.pdf](pdf/1061225.pdf): 44 pages | |
| - [1177640.pdf](pdf/1177640.pdf): 18 pages | |
| - [1238975.pdf](pdf/1238975.pdf): 5 pages | |
| - [1375277.pdf](pdf/1375277.pdf): 51 pages | |
| - [1422550.pdf](pdf/1422550.pdf): 19 pages | |
| - [1479052.pdf](pdf/1479052.pdf): 3 pages | |
| - [1598224.pdf](pdf/1598224.pdf): 83 pages | |
| - [1620834.pdf](pdf/1620834.pdf): 15 pages | |
| - [1666072.pdf](pdf/1666072.pdf): 1 page | |
| - [1690009.pdf](pdf/1690009.pdf): 31 pages | |
| - [2049749.pdf](pdf/2049749.pdf): 47 pages | |
| - [2062555.pdf](pdf/2062555.pdf): 116 pages | |
| - [2127440.pdf](pdf/2127440.pdf): 9 pages | |
| - [2132230.pdf](pdf/2132230.pdf): 2 pages | |
| - [2151932.pdf](pdf/2151932.pdf): 20 pages | |
| - [2189929.pdf](pdf/2189929.pdf): 3 pages | |
| - [2399488.pdf](pdf/2399488.pdf): 1 page | |
| ## Source and evaluation context | |
| - [NeMo Retriever 26.3.0 extraction notebooks](https://docs.nvidia.com/nemo/retriever/26.3.0/extraction/notebooks/) introduce Bo20, Bo767 and Bo10k. | |
| - [The 26.03 download notebook](https://github.com/NVIDIA/NeMo-Retriever/blob/26.03/evaluation/digital_corpora_download.ipynb) defines Bo20's IDs and downloads the selected PDFs. | |
| - [Bo767 IDs](https://github.com/NVIDIA/NeMo-Retriever/blob/26.03/evaluation/bo767_ids.txt) and [Bo10k IDs](https://github.com/NVIDIA/NeMo-Retriever/blob/26.03/evaluation/bo10k_ids.txt) define the larger selections. | |
| - [Digital Corpora source archives](https://corp.digitalcorpora.org/corpora/files/CC-MAIN-2021-31-PDF-UNTRUNCATED/zipfiles/) contain the original PDF files. | |
| - [The Bo767 retrieval notebook](https://github.com/NVIDIA/NeMo-Retriever/blob/26.03/evaluation/bo767_recall.ipynb) evaluates retrieval after extraction and embedding, using queries and ground truth beyond these PDFs. Parser throughput measurements do not reproduce that retrieval evaluation. | |
| For reproducible performance comparisons, record the dataset commit, exact PDF filenames, page counts and file hashes alongside the parser version and benchmark configuration. | |
| The generated `statistics.json` contains these descriptive statistics and per-document page counts and sizes. | |
| ## Adding PDFs with Git LFS | |
| PDFs must match `*.pdf filter=lfs diff=lfs merge=lfs -text` in `.gitattributes` before staging. | |
| ```sh | |
| git lfs install --local | |
| git lfs track "*.pdf" | |
| cp /path/to/new.pdf pdf/ | |
| git add .gitattributes pdf/new.pdf | |
| git lfs status | |
| git commit -s -m "Add PDF" | |
| git lfs push origin main | |
| git push origin main | |
| ``` | |
| Recompute the statistics, figures and this README whenever the corpus changes. | |