Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
pretty_name: "Arxiv-tables Dataset"
|
5 |
+
tags:
|
6 |
+
- scientific-tables
|
7 |
+
- document-understanding
|
8 |
+
- arxiv
|
9 |
+
license: cc-by-4.0
|
10 |
+
task_categories:
|
11 |
+
- table-to-text
|
12 |
+
- image-to-text
|
13 |
+
---
|
14 |
+
|
15 |
+
# Arxiv-tables Dataset
|
16 |
+
|
17 |
+
## Dataset Summary
|
18 |
+
|
19 |
+
The Arxiv-tables dataset is a collection of tables extracted from scientific papers published on arXiv, primarily focused on ML papers. It includes both the LaTeX source of the tables and their corresponding rendered images from the PDF versions of the papers.
|
20 |
+
|
21 |
+
## Supported Tasks
|
22 |
+
|
23 |
+
This dataset can support several tasks, including but not limited to:
|
24 |
+
|
25 |
+
- Table structure recognition
|
26 |
+
- LaTeX to image generation for tables
|
27 |
+
- Image-to-LaTeX conversion for tables
|
28 |
+
- Table information retrieval
|
29 |
+
|
30 |
+
## Dataset Structure
|
31 |
+
|
32 |
+
The dataset is organized as follows:
|
33 |
+
```bash
|
34 |
+
arxiv_tables/
|
35 |
+
βββ images/
|
36 |
+
β βββ [arxiv_id]/
|
37 |
+
β βββ table_0.png
|
38 |
+
β βββ table_1.png
|
39 |
+
β βββ ...
|
40 |
+
βββ pages/
|
41 |
+
β βββ [arxiv_id]/
|
42 |
+
β βββ page_0.png
|
43 |
+
β βββ page_1.png
|
44 |
+
β βββ ...
|
45 |
+
βββ gt.json
|
46 |
+
```
|
47 |
+
|
48 |
+
Each arXiv paper has its own directory containing:
|
49 |
+
- Individual table images
|
50 |
+
- Full page images
|
51 |
+
- A ground truth JSON file with table information
|
52 |
+
|
53 |
+
### Data Instances
|
54 |
+
|
55 |
+
Each instance in the dataset corresponds to a table and includes:
|
56 |
+
|
57 |
+
- Table image
|
58 |
+
- Full page image containing the table
|
59 |
+
- LaTeX source of the table
|
60 |
+
- Extracted content from the PDF
|
61 |
+
- Bounding box coordinates
|
62 |
+
- Page number
|
63 |
+
- Similarity score between LaTeX and extracted content
|
64 |
+
|
65 |
+
### Data Fields
|
66 |
+
|
67 |
+
The `gt.json` file contains the following fields for each table:
|
68 |
+
|
69 |
+
- `id`: Unique identifier for the table
|
70 |
+
- `page`: Page number where the table appears
|
71 |
+
- `bounding_box`: Coordinates of the table in the PDF
|
72 |
+
- `latex_content`: Original LaTeX code of the table
|
73 |
+
- `extracted_content`: Content extracted from the PDF version
|
74 |
+
- `similarity_score`: Similarity between LaTeX and extracted content
|
75 |
+
- `table_image`: Path to the cropped table image
|
76 |
+
- `page_image`: Path to the full page image
|
77 |
+
|
78 |
+
## Dataset Creation
|
79 |
+
|
80 |
+
### Curation Rationale
|
81 |
+
|
82 |
+
This dataset was created to provide a large-scale resource for researchers working on table understanding in scientific documents.
|
83 |
+
|
84 |
+
### Source Data
|
85 |
+
|
86 |
+
The source data comes from arXiv, a free distribution service and open-access archive for scholarly articles. The dataset focuses on papers in the biology domain.
|
87 |
+
|
88 |
+
### Annotations
|
89 |
+
|
90 |
+
The dataset does not contain manual annotations. The ground truth is automatically generated by matching LaTeX source code to the rendered PDF content.
|
91 |
+
|
92 |
+
### Other Known Limitations
|
93 |
+
|
94 |
+
- The matching between LaTeX source and PDF content is based on similarity scores and may not be perfect.
|
95 |
+
- Some tables may be missed or incorrectly extracted due to limitations in the extraction process.
|
96 |
+
- The dataset is limited to papers that have both LaTeX source and PDF versions available on arXiv.
|