ChatDOC commited on
Commit
ecb45c8
·
verified ·
1 Parent(s): ccacebd

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +41 -0
  2. data.jsonl +0 -0
  3. pdfs.tar.gz +3 -0
README.md CHANGED
@@ -1,3 +1,44 @@
1
  ---
2
  license: apache-2.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
  ---
4
+
5
+ # OCRFlux-bench-cross
6
+
7
+ PDF documents are typically paginated, which often results in tables or paragraphs being split across consecutive pages. Accurately detecting and merging such cross-page structures is crucial to avoid generating incomplete or fragmented content.
8
+
9
+ The detection task can be formulated as follows: given the Markdowns of two consecutive pages—each structured as a list of Markdown elements (e.g., paragraphs and tables)—the goal is to identify the indexes of elements that should be merged across the pages.
10
+
11
+ OCRFlux-bench-cross is a benchmark of 1000 samples that can be used to measure the performance of OCR systems in the cross-page table/paragraph detection task.
12
+
13
+ Quick links:
14
+ - 🤗 [Model](https://huggingface.co/ChatDOC/OCRFlux-3B)
15
+ - 🛠️ [Code](https://github.com/chatdoc-com/OCRFlux)
16
+
17
+ ## Data Mix
18
+
19
+ ## Table 1: Samples breakdown by language
20
+ | Language | Samples |
21
+ |--------|-------------|
22
+ | English | 500 |
23
+ | Chinese | 500 |
24
+ | **Total** | **1000** |
25
+
26
+
27
+ ## Data Format
28
+
29
+ Each row in the dataset corresponds to two consecutive pages, their corresponding Markdown element lists and the indexes of elements that need to be merged. If no tables or paragraphs require merging, the indexes in the annotation data are left empty.
30
+
31
+ ### Features:
32
+ ```python
33
+ {
34
+ 'pdf_name_1': string, # Name of the first PDF document
35
+ 'pdf_name_2': string, # Name of the second PDF document
36
+ 'language': string, # Language of the PDF document, zh or en
37
+ 'md_elem_list_1': list, # List of the first page's Markdown elements
38
+ 'md_elem_list_2': list, # List of the second page's Markdown elements
39
+ 'merging_idx_pairs': list, # Pairs of Markdown element indexes in the first and second page which should be merged, be [] if no merge is needed
40
+ }
41
+ ```
42
+
43
+ ## License
44
+ 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