initial commit
Browse files- NOTICES.md +33 -0
- README.md +105 -0
- data/ocb_qna_data.parquet +3 -0
- data/ocb_source_urls.parquet +3 -0
NOTICES.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# OCB Third-Party Notices
|
| 2 |
+
|
| 3 |
+
This file documents third-party content redistributed in the OCB
|
| 4 |
+
public release and the licenses under which it is redistributed.
|
| 5 |
+
|
| 6 |
+
## Hosted reference files from Kaggle
|
| 7 |
+
|
| 8 |
+
The following file is redistributed under the MIT License. The
|
| 9 |
+
original MIT license notice is preserved here per MIT terms.
|
| 10 |
+
|
| 11 |
+
- `games_may2024_cleaned_sampled.csv`
|
| 12 |
+
Source: https://www.kaggle.com/datasets/artermiloff/steam-games-dataset
|
| 13 |
+
License: MIT
|
| 14 |
+
Original copyright notice: [paste the MIT notice from the Kaggle dataset's LICENSE file]
|
| 15 |
+
|
| 16 |
+
The following file is redistributed under CC0 1.0 (no attribution
|
| 17 |
+
required, included here for transparency):
|
| 18 |
+
|
| 19 |
+
- `fraud_detection_bank_dataset.csv`
|
| 20 |
+
Source: https://www.kaggle.com/datasets/volodymyrgavrysh/fraud-detection-bank-dataset-20
|
| 21 |
+
License: CC0 1.0
|
| 22 |
+
|
| 23 |
+
## Hosted reference files from U.S. government open-data portals
|
| 24 |
+
|
| 25 |
+
Files from these sources are U.S. Government Work / Public Domain
|
| 26 |
+
or are released under open-data terms permitting redistribution.
|
| 27 |
+
No attribution is legally required; the URL manifest preserves source
|
| 28 |
+
attribution for transparency.
|
| 29 |
+
|
| 30 |
+
## URL-referenced files
|
| 31 |
+
|
| 32 |
+
Files referenced via the URL manifest retain their original licenses.
|
| 33 |
+
OCB does not assert a license over these files.
|
README.md
CHANGED
|
@@ -1,3 +1,108 @@
|
|
| 1 |
---
|
| 2 |
license: cdla-permissive-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: cdla-permissive-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- benchmark
|
| 7 |
+
- document-comprehension
|
| 8 |
+
- office-documents
|
| 9 |
+
- question-answering
|
| 10 |
+
- llm-evaluation
|
| 11 |
+
pretty_name: OfficeComprehensionBenchmark (OCB)
|
| 12 |
+
size_categories:
|
| 13 |
+
- 1K<n<10K
|
| 14 |
+
configs:
|
| 15 |
+
- config_name: ocb_qna_data
|
| 16 |
+
data_files:
|
| 17 |
+
- split: train
|
| 18 |
+
path: "data/ocb_qna_data.parquet"
|
| 19 |
+
- config_name: ocb_source_urls
|
| 20 |
+
data_files:
|
| 21 |
+
- split: train
|
| 22 |
+
path: "data/ocb_source_urls.parquet"
|
| 23 |
---
|
| 24 |
+
|
| 25 |
+
# OfficeComprehensionBenchmark (OCB)
|
| 26 |
+
|
| 27 |
+
OCB is a benchmark for evaluating document comprehension and grounded reasoning over Microsoft Office files (Word, Excel, PowerPoint). It comprises two tracks:
|
| 28 |
+
|
| 29 |
+
- **File Fidelity Q&A** — measures structural and visual perception of document artifacts (text, tables, charts, formulas, formatting, embedded objects).
|
| 30 |
+
- **Domain Q&A** — measures expert-level reasoning over real-world business documents across 12 industries.
|
| 31 |
+
|
| 32 |
+
## Companion repository
|
| 33 |
+
|
| 34 |
+
Evaluation prompts, judge scripts, file-download utilities, and PDF→Office conversion scripts are maintained in the companion GitHub repository:
|
| 35 |
+
|
| 36 |
+
**https://github.com/microsoft/OfficeComprehensionBench**
|
| 37 |
+
|
| 38 |
+
This Hugging Face dataset hosts the questions, reference answers, atomic assertion rubrics, the URL manifest for externally-hosted reference files, and the redistributable subset of reference files. Most reproduction tasks (running judges, fetching URL-referenced files, converting source PDFs to native Office formats) require the GitHub repository.
|
| 39 |
+
|
| 40 |
+
## Benchmark size
|
| 41 |
+
|
| 42 |
+
- **File Fidelity track:** 244 files, 922 queries
|
| 43 |
+
- **Domain Q&A track:** 124 files, 120 queries, 8,450 atomic assertions across 12 industries
|
| 44 |
+
|
| 45 |
+
These numbers reflect the full evaluation set reported in the accompanying paper. See the *May 07 Update* note below for the relationship between the evaluated set and the publicly released artifact.
|
| 46 |
+
|
| 47 |
+
## Distribution model
|
| 48 |
+
|
| 49 |
+
OCB uses a hybrid distribution model driven by source licensing:
|
| 50 |
+
|
| 51 |
+
- **Hosted directly on Hugging Face** — reference files whose source license permits redistribution under CDLA-Permissive-2.0, plus all questions, reference answers, and assertion rubrics.
|
| 52 |
+
- **Referenced via URL manifest** — reference files whose source licensing does not permit redistribution. The manifest is shipped with this dataset; the GitHub repository contains a release script that downloads each file from its original public source and, where required, converts it from its source format (e.g., PDF) into the native Office format (.docx, .xlsx, .pptx) used by the benchmark.
|
| 53 |
+
|
| 54 |
+
## May 07 Update
|
| 55 |
+
|
| 56 |
+
Three Excel files originally included in the evaluation set are **excluded from this public release for licensing reasons**:
|
| 57 |
+
|
| 58 |
+
- `winemag-data-130k-v2_sampled.csv`
|
| 59 |
+
- `Banking_Call_Data.csv`
|
| 60 |
+
- `brazilian_ecommerce_cleaned.csv`
|
| 61 |
+
|
| 62 |
+
These files are sourced from Kaggle datasets published under CC BY-NC-SA 4.0, which is incompatible with the CDLA-Permissive-2.0 release license. The associated File Fidelity queries that target these files are also excluded from the public release.
|
| 63 |
+
|
| 64 |
+
**Reported benchmark numbers in the paper reflect the full evaluation set including these files.** Users wishing to reproduce the full evaluation can obtain the three source datasets directly from Kaggle under the original publishers' terms; URLs are listed in the URL manifest alongside the other externally-referenced files.
|
| 65 |
+
|
| 66 |
+
## License
|
| 67 |
+
|
| 68 |
+
This dataset is released under the **Community Data License Agreement – Permissive, Version 2.0 (CDLA-Permissive-2.0)** — https://cdla.dev/permissive-2-0/.
|
| 69 |
+
|
| 70 |
+
Sub-components carry the following licenses:
|
| 71 |
+
|
| 72 |
+
- **OCB-authored content** (questions, reference answers, atomic assertions, expert-authored reference files): CDLA-Permissive-2.0.
|
| 73 |
+
- **Hosted reference files from U.S. government open-data portals**: U.S. Government Work / Public Domain (federal sources) or open-data terms permitting redistribution (state/local sources). Redistributed under CDLA-Permissive-2.0.
|
| 74 |
+
- **Hosted reference files from Kaggle**: only files under CC0 1.0 or MIT are redistributed. Attribution and notice obligations of MIT-licensed sources are preserved in the `NOTICES.md` file in this repository.
|
| 75 |
+
- **URL-referenced files**: retain their original licenses; OCB does not assert a license over these files. Users fetch them directly from the original publishers under those publishers' terms.
|
| 76 |
+
|
| 77 |
+
See `NOTICES.md` in this repository for per-source attribution and notice details.
|
| 78 |
+
|
| 79 |
+
## Intended use
|
| 80 |
+
|
| 81 |
+
OCB is intended for evaluation, not training. Validated use cases include:
|
| 82 |
+
|
| 83 |
+
- Benchmarking model accuracy on grounded question answering over structured and semi-structured Office files
|
| 84 |
+
- Comparing models on cross-format reasoning (e.g., Word + Excel inputs)
|
| 85 |
+
- Evaluating fidelity of structural and visual document perception
|
| 86 |
+
- Ablation studies on retrieval and grounding components for Office-document pipelines
|
| 87 |
+
|
| 88 |
+
Not validated, and not recommended:
|
| 89 |
+
|
| 90 |
+
- Use as training data
|
| 91 |
+
- Evaluation on file formats outside .docx / .xlsx / .pptx
|
| 92 |
+
- High-stakes deployment decisions in regulated domains (medical, legal, financial advice) on the basis of OCB scores alone
|
| 93 |
+
|
| 94 |
+
## Citation
|
| 95 |
+
|
| 96 |
+
```bibtex
|
| 97 |
+
@misc{ocb2026,
|
| 98 |
+
title = {OfficeComprehensionBenchmark},
|
| 99 |
+
author = {Anonymous},
|
| 100 |
+
year = {2026}
|
| 101 |
+
}
|
| 102 |
+
```
|
| 103 |
+
|
| 104 |
+
## Maintenance
|
| 105 |
+
|
| 106 |
+
Versioned releases are maintained on Hugging Face under this repository. Issues, corrections, and erratum requests are tracked through the dataset repository's discussion page. We commit to maintaining the dataset for at least 3 years post-publication.
|
| 107 |
+
|
| 108 |
+
If an externally-hosted file becomes unavailable from its original source, we will either replace it with an equivalent example or document the removal in the errata.
|
data/ocb_qna_data.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:099ef42b6ba1af99c0f2cf84cd09051b4c47a7f7855ebfa932a9ad4d89450394
|
| 3 |
+
size 472425
|
data/ocb_source_urls.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4b717e0b15725ca356b21c6c6804a770b6596002b1f4aae1592483d69e863d8
|
| 3 |
+
size 30861
|