hheiden-roots commited on
Commit
dae336e
·
verified ·
1 Parent(s): e0dabb0

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +90 -74
README.md CHANGED
@@ -1,76 +1,92 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: table_id
5
- dtype: string
6
- - name: paper_id
7
- dtype: string
8
- - name: paper_title
9
- dtype: string
10
- - name: paper_authors
11
- list: string
12
- - name: paper_license
13
- dtype: string
14
- - name: split
15
- dtype: string
16
- - name: is_comp
17
- dtype: bool
18
- - name: image
19
- dtype: image
20
- - name: pdf
21
- dtype: binary
22
- - name: chunks
23
- list:
24
- - name: text
25
- dtype: string
26
- - name: x1
27
- dtype: float32
28
- - name: x2
29
- dtype: float32
30
- - name: y1
31
- dtype: float32
32
- - name: y2
33
- dtype: float32
34
- - name: cells
35
- list:
36
- - name: id
37
- dtype: int32
38
- - name: tex
39
- dtype: string
40
- - name: content
41
- list: string
42
- - name: start_row
43
- dtype: int32
44
- - name: end_row
45
- dtype: int32
46
- - name: start_col
47
- dtype: int32
48
- - name: end_col
49
- dtype: int32
50
- - name: relations
51
- list:
52
- - name: chunk_id_1
53
- dtype: int32
54
- - name: chunk_id_2
55
- dtype: int32
56
- - name: relation
57
- dtype: int32
58
- - name: num_blank
59
- dtype: int32
60
- splits:
61
- - name: train
62
- num_bytes: 5224197
63
- num_examples: 89
64
- - name: test
65
- num_bytes: 1062686
66
- num_examples: 19
67
- download_size: 6251183
68
- dataset_size: 6286883
69
- configs:
70
- - config_name: default
71
- data_files:
72
- - split: train
73
- path: data/train-*
74
- - split: test
75
- path: data/test-*
76
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: cc0-1.0
3
+ language:
4
+ - en
5
+ pretty_name: SciTSR-PD
6
+ size_categories:
7
+ - n<1K
8
+ task_categories:
9
+ - image-to-text
10
+ - object-detection
11
+ tags:
12
+ - table-structure-recognition
13
+ - document-understanding
14
+ - scientific-tables
15
+ - pdf
16
+ - public-domain
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  ---
18
+
19
+ # SciTSR-PD
20
+
21
+ A public-domain subset of [SciTSR](https://github.com/Academic-Labeling/SciTSR), a large-scale table structure recognition dataset of scientific tables extracted from arXiv LaTeX source files.
22
+
23
+ This subset contains only tables whose source papers carry a **CC0 or equivalent public domain dedication** — no attribution required, no restrictions on commercial or derivative use.
24
+
25
+ ## Dataset Details
26
+
27
+ | Split | Tables | Papers |
28
+ |-------|-------:|-------:|
29
+ | train | 89 | — |
30
+ | test | 19 | — |
31
+ | **total** | **108** | **52** |
32
+
33
+ Source paper licenses present: `CC0`, `other:http://creativecommons.org/licenses/publicdomain/` (old CC public domain dedication, functionally equivalent to CC0).
34
+
35
+ ## Why This Subset Exists
36
+
37
+ The full SciTSR dataset (15,000 tables) was crawled from arXiv without license filtering. ~90% of those papers use the arXiv non-exclusive license, which retains full author copyright and is not permissive for use in commercial training pipelines.
38
+
39
+ This subset was produced by querying the arXiv OAI-PMH API for the license of each source paper and retaining only those with no conditions on downstream use. See [SciTSR-CC-BY-NC-SA](https://huggingface.co/datasets/rootsautomation/SciTSR-cc-by-nc-sa) for a larger subset suitable for non-commercial open-weight model releases.
40
+
41
+ ## Dataset Structure
42
+
43
+ Each row represents one table extracted from a scientific PDF.
44
+
45
+ | Column | Type | Description |
46
+ |--------|------|-------------|
47
+ | `table_id` | `string` | Unique identifier, format `{arxiv_id}v{version}.{table_index}` |
48
+ | `paper_id` | `string` | arXiv paper ID |
49
+ | `paper_title` | `string` | Paper title from arXiv metadata |
50
+ | `paper_authors` | `list[string]` | Author names from arXiv metadata |
51
+ | `paper_license` | `string` | License of the source paper |
52
+ | `split` | `string` | `train` or `test` |
53
+ | `is_comp` | `bool` | Whether this table is in the SciTSR-COMP subset (tables with at least one spanning cell) |
54
+ | `image` | `Image` | PNG render of the table (150 DPI) |
55
+ | `pdf` | `binary` | Raw PDF of the isolated table |
56
+ | `chunks` | `list[dict]` | Pre-extracted text spans with bounding box coordinates `{text, x1, x2, y1, y2}` (PDF coordinate space, bottom-left origin) |
57
+ | `cells` | `list[dict]` | Structure annotation: `{id, tex, content, start_row, end_row, start_col, end_col}` |
58
+ | `relations` | `list[dict]` | Chunk adjacency labels `{chunk_id_1, chunk_id_2, relation, num_blank}` where `relation=1` is horizontal and `relation=2` is vertical. Empty for test rows. |
59
+
60
+ ## Usage
61
+
62
+ ```python
63
+ from datasets import load_dataset
64
+
65
+ ds = load_dataset("rootsautomation/SciTSR-pd")
66
+
67
+ # Iterate train split
68
+ for row in ds["train"]:
69
+ image = row["image"] # PIL Image
70
+ cells = row["cells"] # list of cell dicts
71
+ chunks = row["chunks"] # list of chunk dicts with positions
72
+ print(row["table_id"], row["paper_title"])
73
+ ```
74
+
75
+ ## Important Caveats
76
+
77
+ - **Annotation quality**: Structure annotations were generated automatically from LaTeX source by the original SciTSR pipeline. Simple grid tables are generally reliable. Tables with spanning cells (`is_comp=True`) have a higher rate of annotation errors, particularly in spanning cell coordinates. Treat annotations as noisy weak supervision rather than ground truth.
78
+ - **Chunk coordinates**: The `chunks` field was pre-processed by [TabbyCDF](https://github.com/cellsrg/tabbypdf/) and may contain noise.
79
+ - **Relations**: Available for train split only; empty list for test.
80
+
81
+ ## Source & Citation
82
+
83
+ This dataset is a license-filtered derivative of SciTSR. If you use this dataset, please cite the original work:
84
+
85
+ ```bibtex
86
+ @article{chi2019complicated,
87
+ title={Complicated Table Structure Recognition},
88
+ author={Chi, Zewen and Huang, Heyan and Xu, Heng-Da and Yu, Houjin and Yin, Wanxuan and Mao, Xian-Ling},
89
+ journal={arXiv preprint arXiv:1908.04729},
90
+ year={2019}
91
+ }
92
+ ```