jdsouza commited on
Commit
d3bf1f4
·
verified ·
1 Parent(s): 4cd1bd0

Release TabulusBench Step 2 v1.0.0: 610 table crops and source gold

Browse files
Files changed (4) hide show
  1. .gitattributes +0 -59
  2. README.md +87 -0
  3. data/test-00000-of-00001.parquet +3 -0
  4. manifest.json +50 -0
.gitattributes CHANGED
@@ -1,60 +1 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.avro filter=lfs diff=lfs merge=lfs -text
4
- *.bin filter=lfs diff=lfs merge=lfs -text
5
- *.bz2 filter=lfs diff=lfs merge=lfs -text
6
- *.ckpt filter=lfs diff=lfs merge=lfs -text
7
- *.ftz filter=lfs diff=lfs merge=lfs -text
8
- *.gz filter=lfs diff=lfs merge=lfs -text
9
- *.h5 filter=lfs diff=lfs merge=lfs -text
10
- *.joblib filter=lfs diff=lfs merge=lfs -text
11
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
- *.lz4 filter=lfs diff=lfs merge=lfs -text
13
- *.mds filter=lfs diff=lfs merge=lfs -text
14
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
- *.model filter=lfs diff=lfs merge=lfs -text
16
- *.msgpack filter=lfs diff=lfs merge=lfs -text
17
- *.npy filter=lfs diff=lfs merge=lfs -text
18
- *.npz filter=lfs diff=lfs merge=lfs -text
19
- *.onnx filter=lfs diff=lfs merge=lfs -text
20
- *.ot filter=lfs diff=lfs merge=lfs -text
21
  *.parquet filter=lfs diff=lfs merge=lfs -text
22
- *.pb filter=lfs diff=lfs merge=lfs -text
23
- *.pickle filter=lfs diff=lfs merge=lfs -text
24
- *.pkl filter=lfs diff=lfs merge=lfs -text
25
- *.pt filter=lfs diff=lfs merge=lfs -text
26
- *.pth filter=lfs diff=lfs merge=lfs -text
27
- *.rar filter=lfs diff=lfs merge=lfs -text
28
- *.safetensors filter=lfs diff=lfs merge=lfs -text
29
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
- *.tar.* filter=lfs diff=lfs merge=lfs -text
31
- *.tar filter=lfs diff=lfs merge=lfs -text
32
- *.tflite filter=lfs diff=lfs merge=lfs -text
33
- *.tgz filter=lfs diff=lfs merge=lfs -text
34
- *.wasm filter=lfs diff=lfs merge=lfs -text
35
- *.xz filter=lfs diff=lfs merge=lfs -text
36
- *.zip filter=lfs diff=lfs merge=lfs -text
37
- *.zst filter=lfs diff=lfs merge=lfs -text
38
- *tfevents* filter=lfs diff=lfs merge=lfs -text
39
- # Audio files - uncompressed
40
- *.pcm filter=lfs diff=lfs merge=lfs -text
41
- *.sam filter=lfs diff=lfs merge=lfs -text
42
- *.raw filter=lfs diff=lfs merge=lfs -text
43
- # Audio files - compressed
44
- *.aac filter=lfs diff=lfs merge=lfs -text
45
- *.flac filter=lfs diff=lfs merge=lfs -text
46
- *.mp3 filter=lfs diff=lfs merge=lfs -text
47
- *.ogg filter=lfs diff=lfs merge=lfs -text
48
- *.wav filter=lfs diff=lfs merge=lfs -text
49
- # Image files - uncompressed
50
- *.bmp filter=lfs diff=lfs merge=lfs -text
51
- *.gif filter=lfs diff=lfs merge=lfs -text
52
- *.png filter=lfs diff=lfs merge=lfs -text
53
- *.tiff filter=lfs diff=lfs merge=lfs -text
54
- # Image files - compressed
55
- *.jpg filter=lfs diff=lfs merge=lfs -text
56
- *.jpeg filter=lfs diff=lfs merge=lfs -text
57
- *.webp filter=lfs diff=lfs merge=lfs -text
58
- # Video files - compressed
59
- *.mp4 filter=lfs diff=lfs merge=lfs -text
60
- *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  *.parquet filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - image-to-text
5
+ - image-text-to-text
6
+ language:
7
+ - en
8
+ pretty_name: TabulusBench Step 2
9
+ size_categories:
10
+ - n<1K
11
+ tags:
12
+ - scientific-tables
13
+ - table-reconstruction
14
+ - ocr
15
+ - tabulusbench
16
+ - rms
17
+ configs:
18
+ - config_name: default
19
+ data_files:
20
+ - split: test
21
+ path: data/*.parquet
22
+ ---
23
+
24
+ # TabulusBench Step 2
25
+
26
+ Image-to-table reconstruction across **610 physical table crops from 253 scientific papers in five domains**, released by **SciKnowOrg**. This release includes P253. It exposes the Step 2 task independently: reconstruct each provided table image as rows of cell strings.
27
+
28
+ [Leaderboard](https://huggingface.co/spaces/SciKnowOrg/TabulusBench-Step2-Leaderboard) · [Evaluator and submission guide](https://huggingface.co/spaces/SciKnowOrg/TabulusBench-Step2-Leaderboard/blob/main/evaluation/README.md) · [Tabulus](https://github.com/SciKnowOrg/tabulus) · [Source archive](https://zenodo.org/records/20230340)
29
+
30
+ ## Load
31
+
32
+ from datasets import load_dataset
33
+ ds = load_dataset("SciKnowOrg/TabulusBench-Step2", revision="v1.0.0", split="test")
34
+ example = ds[0]
35
+ image = example["image"] # decoded PIL image
36
+ rows = example["gold_rows"] # list of rows; each cell is a string
37
+
38
+ One public test split. Each row has exactly these five fields:
39
+
40
+ | Field | Type | Meaning |
41
+ | --- | --- | --- |
42
+ | domain | string | Existing broad scientific domain |
43
+ | paper_id | string | Existing paper identifier, e.g. P253 |
44
+ | table_id | string | Physical crop identifier, e.g. page_011_table_001 |
45
+ | image | Image | Original crop bytes, embedded in Parquet |
46
+ | gold_rows | list[list[string]] | Existing source gold CSV parsed as rows of strings |
47
+
48
+ The pair (paper_id, table_id) uniquely identifies a sample. IDs and domain are for routing and reporting; model inputs are image-only. Text, empty strings, multiline cells and source row order are preserved. One gold CSV has ragged row widths; no source cells have been repaired or rewritten. Header/row-label interpretations belong to the evaluator, not the release schema. No PDFs or downstream step annotations are included.
49
+
50
+ ## Population
51
+
52
+ | Domain | Papers | Table crops |
53
+ | --- | ---: | ---: |
54
+ | Agriculture Food And Environmental Systems | 50 | 107 |
55
+ | Biomedicine And Health | 50 | 127 |
56
+ | Computer Science AI And Data Science | 50 | 122 |
57
+ | Energy Materials Chemical Sciences | 53 | 159 |
58
+ | Engineering Robotics And Built Infrastructure | 50 | 95 |
59
+ | **Total** | **253** | **610** |
60
+
61
+ Each physical fragment is evaluated independently. Multiple crops may belong to one logical table, or continue across pages. Paper IDs are retained so researchers can avoid splitting crops from the same paper across any derived train/test partition. This release defines no training split and no logical-table merging.
62
+
63
+ ## Evaluation
64
+
65
+ Both **RMS** (Tabulus's DePlot-derived Relative Mapping Similarity) and **Exact Mapping Match** report **macro and micro precision, recall and F1**, for twelve aggregate measures. Evaluation mode is physical-table and input mode is image-only. Default ranking is macro RMS F1.
66
+
67
+ Macro averages per-table measures over all 610 crops, including failures. Micro pools matched credit and gold/predicted mapping counts first. Exact mapping compares identical normalized keys and values; it is not raw CSV equality or positional cell accuracy. Each metric considers original and transposed prediction orientations. Full thresholds, empty-set conventions, normalization and reproducibility details are in the linked evaluator guide.
68
+
69
+ This is an **open-gold benchmark**, without a hidden test set. Gold must not be used for inference or tuning; submissions disclose potential training overlap. Complete predictions and provenance are required, and maintainers rescore before accepting a leaderboard entry.
70
+
71
+ The inherited mapping representation treats the first row/column as labels and collapses duplicate combined keys. The audit finds 285 crops with fewer parsed mappings than their rectangular body-cell count (duplicate labels and/or parser effects), one crop with a literal mapping delimiter, one ragged source grid, and one zero-mapping gold crop. Flags can overlap. These are limitations of the frozen v1 scoring representation; source gold remains unchanged. Aggregate gold mapping denominator: **24,234**. Gold nonempty cells: **45,069**. All scores must identify this protocol, version and fingerprint.
72
+
73
+ ## Version and provenance
74
+
75
+ - Dataset version: v1.0.0
76
+ - Protocol: tabulusbench-step2-v1
77
+ - Content fingerprint: f026daa52fe17c24e66068f474cb7fef5f309d3e688ad72bc07e0c412040784e
78
+
79
+ manifest.json records the source metric hashes, frozen evaluator hashes, domain counts, scoring caveat counts and Parquet hash. Gold rows and image bytes were verified against the local canonical catalog. Changes to gold, population or mapping rules require a new version. The independently distributed Step 6 DOI annotations and Step 7 exports are outside this dataset.
80
+
81
+ ## Source, attribution and license
82
+
83
+ Derived from the TabulusBench dataset whose Zenodo archive declares **CC BY 4.0**: https://zenodo.org/records/20230340. Preserve that attribution and the original scientific-publication attribution when redistributing material. Paper IDs retain the link to the canonical TabulusBench paper catalog.
84
+
85
+ The metric is adapted from [Google Research DePlot](https://github.com/google-research/google-research/tree/master/deplot) under Apache 2.0, and the standalone evaluation wrapper uses the Tabulus software's MIT license. Software licenses do not replace dataset/source-image attribution.
86
+
87
+ For citation, use the source archive's Cite panel and identify this Step 2 dataset version and content fingerprint. This card does not introduce an unverified manuscript citation.
data/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f8b41ceb64e60831dec7978a2b6ff88f2f8f50a382c66cd5e9b0614a19391ae
3
+ size 92596330
manifest.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "v1.0.0",
3
+ "protocol_version": "tabulusbench-step2-v1",
4
+ "dataset_fingerprint": "f026daa52fe17c24e66068f474cb7fef5f309d3e688ad72bc07e0c412040784e",
5
+ "split": "test",
6
+ "tables": 610,
7
+ "papers": 253,
8
+ "domain_tables": {
9
+ "Agriculture_Food_And_Environmental_Systems": 107,
10
+ "Biomedicine_And_Health": 127,
11
+ "Computer_Science_AI_And_Data_Science": 122,
12
+ "Energy_Materials_Chemical_Sciences": 159,
13
+ "Engineering_Robotics_And_Built_Infrastructure": 95
14
+ },
15
+ "domain_papers": {
16
+ "Agriculture_Food_And_Environmental_Systems": 50,
17
+ "Biomedicine_And_Health": 50,
18
+ "Computer_Science_AI_And_Data_Science": 50,
19
+ "Energy_Materials_Chemical_Sciences": 53,
20
+ "Engineering_Robotics_And_Built_Infrastructure": 50
21
+ },
22
+ "gold_mapping_count": 24234,
23
+ "gold_nonempty_cells": 45069,
24
+ "mapping_caveat_counts": {
25
+ "mapping_key_collisions_or_parser_effects": 285,
26
+ "literal_mapping_separator": 1,
27
+ "ragged_source_rows": 1,
28
+ "zero_mappings": 1
29
+ },
30
+ "metric": {
31
+ "rms_text_threshold": 0.5,
32
+ "rms_number_threshold": 0.1,
33
+ "orientation": "best of original and transposed prediction",
34
+ "normalization": "Tabulus normalized mapping strings",
35
+ "source": "https://github.com/SciKnowOrg/tabulus",
36
+ "source_sha256": {
37
+ "rms.py": "0bea75f3e70e0e9558b3f04726d509dd97da60ec3c6c0cd95218784d6186bf4b",
38
+ "grid_scoring.py": "db922db50a9e291203314430b5aa97d6c17277cabfa034f60e42473d516888dc"
39
+ },
40
+ "implementation_sha256": {
41
+ "bench.py": "f35ed673630712a0bc55f1a3b68cd50b4fe9a03a0e60b25b06ca1b11c29e90a0",
42
+ "core.py": "cef411c0b6cb0525af1825f01c433790234286c82d9284819732f879d17c74a8",
43
+ "metric/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
44
+ "metric/grid_scoring.py": "407ff5d35c247a28c0b6e3015c0b8000c11095f6e824b871ee642299a9eb3ff7",
45
+ "metric/rms.py": "0bea75f3e70e0e9558b3f04726d509dd97da60ec3c6c0cd95218784d6186bf4b",
46
+ "publish_result.py": "4ce2f5525a482905845972daba3eaee8c4696e244698b1027082e867bfb7547e"
47
+ }
48
+ },
49
+ "parquet_sha256": "0f8b41ceb64e60831dec7978a2b6ff88f2f8f50a382c66cd5e9b0614a19391ae"
50
+ }