Update README.md
Browse files
README.md
CHANGED
@@ -30,7 +30,7 @@ table recognition dataset.
|
|
30 |
|
31 |
The dataset contains 16,887 Wikipedia screenshot, which are segmented to 54,032 subpages since the full screenshots are potentially long. In total, there's 159,905 tables in the dataset. The number of question-answer samples is 70,652. Each QA sample contains triplets of <question, answer, full-page screenshot filename>, and is additionally annotated with retrieval labels (which subpage, and which table). 53,698 QA samples also have SQL annotation.
|
32 |
|
33 |
-
For each subpage, OCR and table extraction annotations from two sources are available. While rendering the screenshots, the ground truth table annotation is recorded. Meanwhile, to make the dataset realistic, we also requested OCR and table extraction from [
|
34 |
### Supported Tasks and Leaderboards
|
35 |
|
36 |
[More Information Needed]
|
@@ -64,7 +64,10 @@ The WikiDT dataset has the following file structure.
|
|
64 |
| | | test_filelist.txt # index of 15989 test samples
|
65 |
| | | train_filelist.txt # index of 129980 train samples
|
66 |
| | | val_filelist.txt # index of 15991 val samples
|
67 |
-
| +--
|
|
|
|
|
|
|
68 |
| +--images # full page image
|
69 |
| +--ocr # text and bbox for the table content
|
70 |
| +--tsv # extracted table in tsv format
|
@@ -72,6 +75,8 @@ The WikiDT dataset has the following file structure.
|
|
72 |
|
73 |
### Table VQA annotation example
|
74 |
|
|
|
|
|
75 |
```
|
76 |
{'all_ocr_files_textract': ['ocr/textract/16301437_page_seg_0.json',
|
77 |
'ocr/textract/16301437_page_seg_1.json'],
|
@@ -98,6 +103,8 @@ The WikiDT dataset has the following file structure.
|
|
98 |
|
99 |
### Table Detection annotation example
|
100 |
|
|
|
|
|
101 |
```xml
|
102 |
<annotation>
|
103 |
<folder />
|
|
|
30 |
|
31 |
The dataset contains 16,887 Wikipedia screenshot, which are segmented to 54,032 subpages since the full screenshots are potentially long. In total, there's 159,905 tables in the dataset. The number of question-answer samples is 70,652. Each QA sample contains triplets of <question, answer, full-page screenshot filename>, and is additionally annotated with retrieval labels (which subpage, and which table). 53,698 QA samples also have SQL annotation.
|
32 |
|
33 |
+
For each subpage, OCR and table extraction annotations from two sources are available. While rendering the screenshots, the ground truth table annotation is recorded. Meanwhile, to make the dataset realistic, we also requested OCR and table extraction from [Amazon Textract](https://aws.amazon.com/textract/) for each subpage (results obtained during Feb.28, 2023 - Mar.6, 2023).
|
34 |
### Supported Tasks and Leaderboards
|
35 |
|
36 |
[More Information Needed]
|
|
|
64 |
| | | test_filelist.txt # index of 15989 test samples
|
65 |
| | | train_filelist.txt # index of 129980 train samples
|
66 |
| | | val_filelist.txt # index of 15991 val samples
|
67 |
+
| +--samples # TableVQA samples
|
68 |
+
| | +--train.json #
|
69 |
+
| | +--test.json #
|
70 |
+
| | +--val.json #
|
71 |
| +--images # full page image
|
72 |
| +--ocr # text and bbox for the table content
|
73 |
| +--tsv # extracted table in tsv format
|
|
|
75 |
|
76 |
### Table VQA annotation example
|
77 |
|
78 |
+
Here is an example of an xml table bbox annotation from `WikiDT-dataset/samples/[train|test|val].json/`.
|
79 |
+
|
80 |
```
|
81 |
{'all_ocr_files_textract': ['ocr/textract/16301437_page_seg_0.json',
|
82 |
'ocr/textract/16301437_page_seg_1.json'],
|
|
|
103 |
|
104 |
### Table Detection annotation example
|
105 |
|
106 |
+
Here is an example of an xml table bbox annotation from `WikiDT-dataset/WikiTableExtraction/structure/[train|test|val]/`.
|
107 |
+
|
108 |
```xml
|
109 |
<annotation>
|
110 |
<folder />
|