Datasets:
results.parquet: every parser's verdict on every test; card wording
#2
by paulscemama - opened
- README.md +25 -7
- assets/cost.svg +1 -1
- assets/latency.svg +1 -1
- assets/weak-spots.svg +1 -1
- results.parquet +3 -0
README.md
CHANGED
|
@@ -16,6 +16,10 @@ configs:
|
|
| 16 |
data_files:
|
| 17 |
- split: test
|
| 18 |
path: manifest.parquet
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
---
|
| 20 |
|
| 21 |
# Omni Parse Bench
|
|
@@ -24,13 +28,14 @@ Choosing a document parser usually starts with a leaderboard: one number per par
|
|
| 24 |
average document, and the parser that wins on average can be the one that fails on yours. Omni Parse Bench
|
| 25 |
is built to answer the question you actually have: which parser is best on documents like mine? It is:
|
| 26 |
|
| 27 |
-
-
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
| 30 |
- explorable: every test is tagged by what its content is (a table cell, handwriting, a rotated page, Thai),
|
| 31 |
-
so any slice of the benchmark gets its own score
|
| 32 |
-
- clear about its gaps: every score comes with the number of tests and documents behind it, so a thin slice
|
| 33 |
-
says it is thin.
|
| 34 |
|
| 35 |
It has 16,288 tests on 2,937 pages from 2,343 documents over 22 suites, in
|
| 36 |
92 languages. Omni Parse Bench is developed by Datalab.
|
|
@@ -96,11 +101,23 @@ tagged pieces of content and found no wrong tag.
|
|
| 96 |
| Azure | 83.0 | 74.6 | 81.7 | 92.8 |
|
| 97 |
| Tesseract | none | 17.6 | 0.0 | unsupported |
|
| 98 |
|
| 99 |
-
\* Used in creating and verifying at least some tests
|
| 100 |
|
| 101 |
The headline is the mean of three family scores: text (`present`, `order` and `repeat` tests), tables
|
| 102 |
(`table_cell`) and layout (`layout_kind`). Tesseract returns no layout, so it has no headline.
|
| 103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |

|
| 105 |
|
| 106 |

|
|
@@ -113,6 +130,7 @@ The headline is the mean of three family scores: text (`present`, `order` and `r
|
|
| 113 |
manifest.parquet one row per page
|
| 114 |
pages/<page_id>.pdf the page that gets sent: a one-page PDF, or a .png for an image page
|
| 115 |
gold/<page_id>.json its tests: {"tests": [...]}
|
|
|
|
| 116 |
licenses/ the license, and the credit it requires, of each source
|
| 117 |
assets/ the charts on this card
|
| 118 |
```
|
|
|
|
| 16 |
data_files:
|
| 17 |
- split: test
|
| 18 |
path: manifest.parquet
|
| 19 |
+
- config_name: results
|
| 20 |
+
data_files:
|
| 21 |
+
- split: test
|
| 22 |
+
path: results.parquet
|
| 23 |
---
|
| 24 |
|
| 25 |
# Omni Parse Bench
|
|
|
|
| 28 |
average document, and the parser that wins on average can be the one that fails on yours. Omni Parse Bench
|
| 29 |
is built to answer the question you actually have: which parser is best on documents like mine? It is:
|
| 30 |
|
| 31 |
+
- clear: every test is a yes/no question about one page (is this content in the output, in this order, in a
|
| 32 |
+
table cell under these headings, in a layout block of this kind?), every score is the share of tests
|
| 33 |
+
passed, and every score comes with the number of tests and documents behind it, so a thin slice says it
|
| 34 |
+
is thin;
|
| 35 |
+
- auditable: every test records how its answer was established, and the scorer is open code with no model
|
| 36 |
+
judging the outputs; and
|
| 37 |
- explorable: every test is tagged by what its content is (a table cell, handwriting, a rotated page, Thai),
|
| 38 |
+
so any slice of the benchmark gets its own score.
|
|
|
|
|
|
|
| 39 |
|
| 40 |
It has 16,288 tests on 2,937 pages from 2,343 documents over 22 suites, in
|
| 41 |
92 languages. Omni Parse Bench is developed by Datalab.
|
|
|
|
| 101 |
| Azure | 83.0 | 74.6 | 81.7 | 92.8 |
|
| 102 |
| Tesseract | none | 17.6 | 0.0 | unsupported |
|
| 103 |
|
| 104 |
+
\* Used in creating and verifying at least some tests.
|
| 105 |
|
| 106 |
The headline is the mean of three family scores: text (`present`, `order` and `repeat` tests), tables
|
| 107 |
(`table_cell`) and layout (`layout_kind`). Tesseract returns no layout, so it has no headline.
|
| 108 |
|
| 109 |
+
Every verdict behind these numbers is in `results.parquet`: one row per parser and test, with the test's
|
| 110 |
+
page, document, suite, type, derivation and tags, its `result` (`pass`, `fail`, or `unsupported` when the
|
| 111 |
+
parser can't produce that output) and `why` it failed. Browse it as the `results` subset in the viewer
|
| 112 |
+
above, or query it; for instance, the share of handwriting tests each parser passes:
|
| 113 |
+
|
| 114 |
+
```sql
|
| 115 |
+
select system, round(100 * avg((result = 'pass')::int), 1) as score, count(*) as tests
|
| 116 |
+
from 'hf://datasets/datalab-to/omni_parse_bench/results.parquet'
|
| 117 |
+
where result in ('pass', 'fail') and list_contains(tags, 'handwriting')
|
| 118 |
+
group by system order by score desc;
|
| 119 |
+
```
|
| 120 |
+
|
| 121 |

|
| 122 |
|
| 123 |

|
|
|
|
| 130 |
manifest.parquet one row per page
|
| 131 |
pages/<page_id>.pdf the page that gets sent: a one-page PDF, or a .png for an image page
|
| 132 |
gold/<page_id>.json its tests: {"tests": [...]}
|
| 133 |
+
results.parquet every parser's verdict on every test (Results above)
|
| 134 |
licenses/ the license, and the credit it requires, of each source
|
| 135 |
assets/ the charts on this card
|
| 136 |
```
|
assets/cost.svg
CHANGED
|
|
|
|
assets/latency.svg
CHANGED
|
|
|
|
assets/weak-spots.svg
CHANGED
|
|
|
|
results.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d66a39b952cfd97f89b60fe03515d033fe0045794e953c031f6d5ae97e49c41a
|
| 3 |
+
size 1679444
|