ChatDOC commited on
Commit
2ef2080
·
verified ·
1 Parent(s): a176c6f

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +39 -0
  2. data.jsonl +0 -0
  3. pdfs.tar.gz +3 -0
README.md CHANGED
@@ -1,3 +1,42 @@
1
  ---
2
  license: apache-2.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
  ---
4
+
5
+ # OCRFlux-bench-single
6
+ OCRFlux-bench-single is a benchmark of 2000 PDF pages and their ground-truth Markdowns sampled from our private document datasets, which are labeled manually with multi-round checking.
7
+
8
+ This dataset can be used to measure the performance of OCR systems in single-page parsing.
9
+
10
+ Quick links:
11
+ - 🤗 [Model](https://huggingface.co/ChatDOC/OCRFlux-3B)
12
+ - 🛠️ [Code](https://github.com/chatdoc-com/OCRFlux)
13
+
14
+ ## Data Mix
15
+
16
+ ## Table 1: Pages breakdown by language
17
+ | Language | Pages |
18
+ |--------|-------------|
19
+ | English | 1000 |
20
+ | Chinese | 1000 |
21
+ | **Total** | **2000** |
22
+
23
+
24
+ ## Data Format
25
+
26
+ Each row in the dataset corresponds to a single page and its ground-truth Markdown.
27
+
28
+ Since in our private dataset, all titles and headings of documents are annotated without their heading levels. So in the Markdown, all titles and headings are labeled with H1 level with '# '.
29
+
30
+ To better represent tables with rowspan or colspan cells, we use HTML format to represent tables instead of the raw Markdown table format in the Markdown strings. Notice that we do not distinguish cells in the table header and table body, which means there are no other tags except `<tr>` and `<td>` in the HTML table.
31
+
32
+ ### Features:
33
+ ```python
34
+ {
35
+ 'pdf_name': string, # Name of the PDF document
36
+ 'language': string, # Language of the PDF document, zh or en
37
+ 'markdown': string, # Ground-truth Markdown
38
+ }
39
+ ```
40
+
41
+ ## License
42
+ This dataset is licensed under Apache-2.0.
data.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
pdfs.tar.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cd5b1815cc59c69a64038c7dde7bef418f60e00c4b6e512c9b0dd445f28c95f
3
+ size 655152927