Datasets:

Modalities:
Image
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
Dask
zuminghuang commited on
Commit
3360b9a
·
verified ·
1 Parent(s): bfb8b19

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +45 -15
README.md CHANGED
@@ -18,38 +18,68 @@ To construct a comprehensive dataset for document parsing, we integrate both rea
18
 
19
  # Data Statistics
20
 
21
- | Document Type | Samples Number |
22
- | --- | --- |
23
- | Synthetic Documents | 6546 |
24
- | Financial Reports | 14207 |
25
- | Medical Reports | 5000 |
26
- | Academic Papers | 8856 |
27
- | Books | 12488 |
28
- | Magazines | 2969 |
29
- | Web Pages | 5000 |
30
- | All | 55066 |
 
 
31
 
32
  # Data Format
33
 
 
 
34
  ```json
35
- {
 
36
  "images": ["path/to/image"],
37
  "conversations": [
38
  {
39
  "from": "human",
40
- "value": "Please transform the document's contents into Markdown format."
41
  },
42
  {
43
  "from": "gpt",
44
  "value": "ground_truth"
 
45
  ],
46
  "attributes": {
47
- "document_type": "document_type",
48
- "task": "task"
49
  }
50
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  ```
52
 
 
 
53
  # License
54
 
55
  This dataset is licensed under cc-by-nc-sa-4.0.
 
18
 
19
  # Data Statistics
20
 
21
+ Due to company policy constraints, we can only open-source a portion of the training data. We appreciate your understanding. The statistics are as follows:
22
+
23
+ | Document Type | Samples Number | BBox and Reading Order |
24
+ | :---: | :---: | :---: |
25
+ | Synthetic Documents | 6546 | ✓ |
26
+ | Financial Reports | 2000 ||
27
+ | Medical Reports | 2000 ||
28
+ | Academic Papers | 5979 ||
29
+ | Books | 1749 ||
30
+ | Magazines | 1688 ||
31
+ | Web Pages | 2000 ||
32
+ | All | 21962 ||
33
 
34
  # Data Format
35
 
36
+ Full-page document parsing format:
37
+
38
  ```json
39
+ [
40
+ {
41
  "images": ["path/to/image"],
42
  "conversations": [
43
  {
44
  "from": "human",
45
+ "value": "prompt"
46
  },
47
  {
48
  "from": "gpt",
49
  "value": "ground_truth"
50
+ }
51
  ],
52
  "attributes": {
53
+ "document_type": "document_type",
54
+ "task": "task"
55
  }
56
+ },
57
+ ...
58
+ ]
59
+ ```
60
+
61
+ Layout analysis and reading order format:
62
+
63
+ ```json
64
+ [
65
+ {
66
+ "images": ["path/to/image"],
67
+ "form": [
68
+ {
69
+ "category": "The category is in [\"title\", \"plain_text\", \"table\", \"table_caption\", \"figure\", \"figure_caption\", \"header\", \"footer\"]"
70
+ "bbox": [x1, y1, x2, y2],
71
+ "text": "text content of title, plain_text, table_caption, figure_caption, header or footer",
72
+ "html": "table html"
73
+ },
74
+ ...
75
+ ]
76
+ },
77
+ ...
78
+ ]
79
  ```
80
 
81
+ Note that the elements in 'form' are sorted in reading order.
82
+
83
  # License
84
 
85
  This dataset is licensed under cc-by-nc-sa-4.0.