jakep-allenai commited on
Commit
70098ef
·
verified ·
1 Parent(s): 3464199

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +39 -6
README.md CHANGED
@@ -1,6 +1,39 @@
1
- ---
2
- license: apache-2.0
3
- ---
4
- This dataset represents the source PDFs and rules used in olmOCR-bench.
5
-
6
- This benchmark is meant to easily evaluate OCR quality across a variety of models.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+
5
+ # olmOCR-bench
6
+
7
+ olmOCR-bench is a dataset of 1,403 PDF files, plus 7,010 unit test cases that capture properties of the output that a good OCR system should have.
8
+
9
+ Quick links:
10
+ - 📃 [Paper](https://olmocr.allenai.org/papers/olmocr.pdf)
11
+ - 🛠️ [Code](https://github.com/allenai/olmocr)
12
+ - 🎮 [Demo](https://olmocr.allenai.org/)
13
+
14
+ ## Table 1. Distribution of Test Classes by Document Source
15
+
16
+ | Document Source | Text Present | Text Absent | Reading Order | Table | Math | Total |
17
+ |----------------|--------------|-------------|---------------|-------|------|-------|
18
+ | arXiv Math | - | - | - | - | 2,927| 2,927 |
19
+ | Headers Footers| - | 753 | - | - | - | 753 |
20
+ | Long Tiny Text | 442 | - | - | - | - | 442 |
21
+ | Multi Column | - | - | 884 | - | - | 884 |
22
+ | Old Scans | 279 | 70 | 177 | - | - | 526 |
23
+ | Old Scans Math | - | - | - | - | 458 | 458 |
24
+ | Table Tests | - | - | - | 1,020 | - | 1,020 |
25
+ | **Total** | 721 | 823 | 1,061 | 1,020 | 3,385| 7,010 |
26
+
27
+
28
+ ## Table 2. Document source category breakdown
29
+
30
+ | **Category** | **PDFs** | **Tests** | **Source** | **Extraction Method** |
31
+ |--------------|----------|-----------|------------|------------------------|
32
+ | arXiv_math | 522 | 2,927 | arXiv | Dynamic programming alignment |
33
+ | old_scans_math | 36 | 458 | Internet Archive | Script-generated + manual rules |
34
+ | tables_tests | 188 | 1,020 | Internal repository | `gemini-flash-2.0` |
35
+ | old_scans | 98 | 526 | Library of Congress | Manual rules |
36
+ | headers_footers | 266 | 753 | Internal repository | DocLayout-YOLO + `gemini-flash-2.0` |
37
+ | multi_column | 231 | 884 | Internal repository | `claude-sonnet-3.7` + HTML rendering |
38
+ | long_tiny_text | 62 | 442 | Internet Archive | `gemini-flash-2.0` |
39
+ | **Total** | 1,403 | 7,010 | Multiple sources | |