Update README.md
Browse files
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 |
-
|
| 22 |
-
|
| 23 |
-
|
|
| 24 |
-
|
|
| 25 |
-
|
|
| 26 |
-
|
|
| 27 |
-
|
|
| 28 |
-
|
|
| 29 |
-
|
|
| 30 |
-
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
# Data Format
|
| 33 |
|
|
|
|
|
|
|
| 34 |
```json
|
| 35 |
-
|
|
|
|
| 36 |
"images": ["path/to/image"],
|
| 37 |
"conversations": [
|
| 38 |
{
|
| 39 |
"from": "human",
|
| 40 |
-
"value": "
|
| 41 |
},
|
| 42 |
{
|
| 43 |
"from": "gpt",
|
| 44 |
"value": "ground_truth"
|
|
|
|
| 45 |
],
|
| 46 |
"attributes": {
|
| 47 |
-
|
| 48 |
-
|
| 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.
|