Lester1996 commited on
Commit
f702341
·
verified ·
1 Parent(s): 77b77ec

Release TableSuite-1K v2.0.0

Browse files
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- pretty_name: "TableSuite-1K: A Comprehensive Benchmark for Tabular Prediction, Grounding, and Question Answering"
3
  license: other
4
  tags:
5
  - openml
@@ -40,18 +40,18 @@ configs:
40
  path: grounding_tasks/validation/*.parquet
41
  - split: test
42
  path: grounding_tasks/test/*.parquet
43
- - config_name: cell_grounding
44
  data_files:
45
  - split: train
46
- path: tasks/cell_grounding/train/*.parquet
47
  - split: validation
48
- path: tasks/cell_grounding/validation/*.parquet
49
  - split: episode_test
50
- path: tasks/cell_grounding/episode_test/*.parquet
51
  - split: dataset_test
52
- path: tasks/cell_grounding/dataset_test/*.parquet
53
  - split: template_test
54
- path: tasks/cell_grounding/template_test/*.parquet
55
  - config_name: table_question_answering
56
  data_files:
57
  - split: train
@@ -70,152 +70,80 @@ configs:
70
 
71
  # TableSuite-1K
72
 
73
- TableSuite-1K is a source-grounded benchmark for tabular prediction, cell
74
- grounding, and table question answering over 1,000 OpenML-referenced datasets.
75
- This repository stores compact task specifications, not copied source tables,
76
- rendered answers, model outputs, or checkpoints.
77
 
78
- The companion package `v1.4.0` adds deterministic local task generation. The
79
- official evaluation plans in this dataset remain frozen at data revision
80
- `v1.3.0`.
81
 
82
- ## Release Contents
 
 
 
 
 
 
 
83
 
84
- | Configuration | Records | Unit |
85
- | --- | ---: | --- |
86
- | `datasets` | 1,000 | source, schema, target, split, and license metadata |
87
- | `table_prediction_tasks` | 998 | prediction-eligible datasets and metrics |
88
- | `prediction_episodes` | 35,472 | frozen 4/16/32-shot support/query references |
89
- | `grounding_tasks` | 989 | eligible columns and sampling caps |
90
- | `cell_grounding` | 50,012 | official exact-cell evaluation plans |
91
- | `table_question_answering` | 22,448 | official programmatic table-QA plans |
92
-
93
- The `datasets` configuration is the canonical metadata table. Other catalog
94
- configurations contain task-specific fields and join to it by `dataset_id`.
95
- The official grounding and QA plans cover 933 eligible datasets.
96
 
97
  ## Quickstart
98
 
99
- Install the matching companion package:
100
-
101
  ```bash
102
  pip install \
103
- 'tablesuite[local,hf,openml] @ git+https://github.com/Sichao-Li/TableSuite-1K.git@v1.4.0'
104
- ```
105
 
106
- Materialize one explicitly selected source table from OpenML:
107
-
108
- ```bash
109
  tablesuite fetch-openml \
110
- --reference 'Lester1996/TableSuite-1K' \
111
- --revision v1.3.0 \
112
  --output openml-parquet \
113
  --dataset-id openml_45069 \
114
  --accept-source-terms
115
  ```
116
 
117
- Load and score official QA examples for that dataset:
118
-
119
  ```python
120
- from tablesuite import load_task
121
 
122
- task = load_task(
123
  "Lester1996/TableSuite-1K",
124
- "table_question_answering",
125
- split="dataset_test",
126
  source="openml-parquet",
127
- revision="v1.3.0",
 
 
 
 
128
  dataset_ids=("openml_45069",),
129
  )
130
 
131
  example = task[0]
132
- response = input(f"{example.prompt}\n\nAnswer: ")
133
- print(task.score(example.id, response))
134
  ```
135
 
136
- Questions and answers are produced deterministically from the source slice and
137
- typed operation when an example is loaded. No LLM authors benchmark gold.
138
-
139
- For additional training or stress-test data, the companion package can create
140
- deterministic plans with the same task semantics:
141
-
142
- ```python
143
- from tablesuite import generate_task
144
-
145
- generated = generate_task(
146
- "Lester1996/TableSuite-1K",
147
- "table_question_answering",
148
- source="openml-parquet",
149
- revision="v1.3.0",
150
- split="train",
151
- max_datasets=10,
152
- items_per_dataset=100,
153
- seed=42,
154
- )
155
- ```
156
-
157
- Generated plans are reported separately and never replace the frozen official
158
- evaluation configurations.
159
-
160
- ## Task Interfaces
161
-
162
- **Cell grounding** presents one contextual source row with 4-8 eligible
163
- feature columns and asks for one exact cell value.
164
-
165
- **Table question answering** presents a 4/8/16-row subtable with 3-8 columns
166
- and asks a programmatic aggregate, comparison, filter, or lookup question.
167
-
168
- **Prediction** is inference-only and supports four renderings:
169
-
170
- | Protocol | Input | Visible labels |
171
- | --- | --- | --- |
172
- | `zero_shot_icl` | target-hidden row queries | none |
173
- | `few_shot_icl` | demonstrations plus row queries | 4/16/32 |
174
- | `zero_label_serialized_table` | feature-only table | none |
175
- | `partially_labeled_serialized_table` | support-labelled table with masked queries | 4/16/32 |
176
-
177
- Prediction targets are excluded from rendered model input and returned
178
- separately for local evaluation. They are open benchmark targets recoverable
179
- from the referenced OpenML source, not secret server-side labels.
180
-
181
- ## Direct Specification Access
182
-
183
- All six configurations are ordinary Parquet datasets:
184
-
185
- ```python
186
- from datasets import load_dataset
187
-
188
- plans = load_dataset(
189
- "Lester1996/TableSuite-1K",
190
- "cell_grounding",
191
- split="dataset_test",
192
- revision="v1.3.0",
193
- )
194
- print({
195
- "dataset": plans[0]["dataset_id"],
196
- "row": plans[0]["source_row_id"],
197
- "column": plans[0]["answer_column"],
198
- })
199
- ```
200
 
201
- These rows are value-free plans. Use the companion package when you need
202
- source resolution, prompt rendering, and programmatic scoring.
 
 
203
 
204
- ## Evaluation Splits
 
 
205
 
206
- - `episode_test`: held-out rows from training dataset clusters.
207
- - `dataset_test`: held-out dataset clusters.
208
- - `template_test`: held-out rows and question wording.
209
- - `composition_test`: composed filter-then-argmax QA.
210
 
211
- Report these transfer axes separately.
 
212
 
213
- ## Source and Licensing Boundary
214
 
215
- OpenML remains the source-table distributor. Every source retains its upstream
216
- terms; `openml_license_claim` is provenance metadata, not a license granted by
217
  TableSuite-1K. The repository-level `other` designation reflects heterogeneous
218
- source terms. TableSuite-1K is independent from and not endorsed by OpenML.
219
 
220
- Code, full protocol documentation, and release validation instructions are at
221
- <https://github.com/Sichao-Li/TableSuite-1K>.
 
1
  ---
2
+ pretty_name: "TableSuite-1K: Predictive and Language-Grounded Tabular Intelligence"
3
  license: other
4
  tags:
5
  - openml
 
40
  path: grounding_tasks/validation/*.parquet
41
  - split: test
42
  path: grounding_tasks/test/*.parquet
43
+ - config_name: table_grounding
44
  data_files:
45
  - split: train
46
+ path: tasks/table_grounding/train/*.parquet
47
  - split: validation
48
+ path: tasks/table_grounding/validation/*.parquet
49
  - split: episode_test
50
+ path: tasks/table_grounding/episode_test/*.parquet
51
  - split: dataset_test
52
+ path: tasks/table_grounding/dataset_test/*.parquet
53
  - split: template_test
54
+ path: tasks/table_grounding/template_test/*.parquet
55
  - config_name: table_question_answering
56
  data_files:
57
  - split: train
 
70
 
71
  # TableSuite-1K
72
 
73
+ TableSuite-1K is a source-grounded benchmark for predictive and
74
+ language-grounded tabular intelligence over 1,000 OpenML-referenced datasets.
75
+ It provides source metadata and value-free task plans, not copied OpenML
76
+ tables, model outputs, or checkpoints.
77
 
78
+ ## Capabilities
 
 
79
 
80
+ | Configuration | Purpose |
81
+ | --- | --- |
82
+ | `datasets` | source, schema, target, split, and license metadata |
83
+ | `table_prediction_tasks` | prediction eligibility and metrics |
84
+ | `prediction_episodes` | frozen 4/16/32-shot support/query references |
85
+ | `grounding_tasks` | eligible non-target columns |
86
+ | `table_grounding` | provided-table cell/row/column operations |
87
+ | `table_question_answering` | programmatic aggregate and lookup operations |
88
 
89
+ Questions and gold answers are generated deterministically from the displayed
90
+ source slice at access time. No LLM authors benchmark gold.
 
 
 
 
 
 
 
 
 
 
91
 
92
  ## Quickstart
93
 
 
 
94
  ```bash
95
  pip install \
96
+ 'tablesuite[local,hf,openml] @ git+https://github.com/Sichao-Li/TableSuite-1K.git@v2.0.0'
 
97
 
 
 
 
98
  tablesuite fetch-openml \
99
+ --reference Lester1996/TableSuite-1K \
100
+ --revision v2.0.0 \
101
  --output openml-parquet \
102
  --dataset-id openml_45069 \
103
  --accept-source-terms
104
  ```
105
 
 
 
106
  ```python
107
+ from tablesuite import TableSuite
108
 
109
+ suite = TableSuite.open(
110
  "Lester1996/TableSuite-1K",
 
 
111
  source="openml-parquet",
112
+ revision="v2.0.0",
113
+ )
114
+ task = suite.official(
115
+ "table_grounding",
116
+ split="dataset_test",
117
  dataset_ids=("openml_45069",),
118
  )
119
 
120
  example = task[0]
121
+ result = task.score(example.id, model(example.prompt))
 
122
  ```
123
 
124
+ ## Protocol Summary
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
125
 
126
+ Prediction supports zero-shot and 4/16/32-shot row ICL, plus zero-label and
127
+ partially labelled serialized-table inference. Serialized tables can cover the
128
+ full source table or the same frozen query rows as the matched ICL protocol.
129
+ It is inference-only.
130
 
131
+ Table grounding operates only on the table shown in the request. Official v2
132
+ operations are `cell_lookup`, `row_lookup`, `column_values`,
133
+ `distinct_values`, and `value_counts`.
134
 
135
+ Table QA uses independently balanced 4/8/16-row subtables and typed count,
136
+ sum, mean, min, max, argmax, and filter-then-argmax operations.
 
 
137
 
138
+ The v2 semantic tasks use literal source-schema wording. This release does not
139
+ claim curated cross-dataset ontology equivalence.
140
 
141
+ ## Source Terms
142
 
143
+ OpenML remains the source-table distributor. Each dataset retains its upstream
144
+ terms. `openml_license_claim` is provenance metadata, not a license granted by
145
  TableSuite-1K. The repository-level `other` designation reflects heterogeneous
146
+ source terms.
147
 
148
+ Code and complete protocol documentation:
149
+ <https://github.com/Sichao-Li/TableSuite-1K>
reference_summary.json CHANGED
@@ -96,10 +96,10 @@
96
  "contains_source_values": false,
97
  "record_schemas": {
98
  "catalog": "1.0",
99
- "official_tasks": "1.0"
100
  },
101
- "reference_id": "tablesuite-1k:1.3",
102
- "release_version": "1.3.0",
103
- "schema_version": "1.3",
104
  "source_provider": "openml"
105
  }
 
96
  "contains_source_values": false,
97
  "record_schemas": {
98
  "catalog": "1.0",
99
+ "official_tasks": "2.0"
100
  },
101
+ "reference_id": "tablesuite-1k:2.0",
102
+ "release_version": "2.0.0",
103
+ "schema_version": "2.0",
104
  "source_provider": "openml"
105
  }
tasks/{cell_grounding → table_grounding}/dataset_test/part-00000.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a54a6ebbe527714fe897bca6ce797b29d0a58718c3068b844477bf52a802c089
3
- size 54241
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed67ae309c8ffe25ae2d1eb95e8331b4a88eb6c43cab29fd2d67227c9171fa3c
3
+ size 89875
tasks/{cell_grounding → table_grounding}/episode_test/part-00000.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e1cf8d00303344b1c154a69c757231527c251a3e3d0b94e21b145f272323de42
3
- size 387801
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6eb5dd294fdd77373587566a71d2d2fcb811af77750238114b37d5d679a9bc34
3
+ size 605576
tasks/{cell_grounding → table_grounding}/template_test/part-00000.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3b33c5c4a67782a752cbbdd3f512b737749772a0a89b13ed46c4a4dfa14422b4
3
- size 388521
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8559f59503fcf6fa7d26989234b621bf779a765f097622fd6d09d7e9c699c2f9
3
+ size 605680
tasks/{cell_grounding → table_grounding}/train/part-00000.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:670c9ab4cbb6681e60231351c1242105129f0303ac5395b825112dff1e1f8c15
3
- size 717514
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:886efa127034abfdcc12669159acd753e3e9c853fabbaf39fd1a3e2fd7a94d1c
3
+ size 1149305
tasks/{cell_grounding → table_grounding}/validation/part-00000.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c8853210c7f7aebfc05af32df907be1a603f5c07983a49da428a19500bb4aab5
3
- size 49761
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f830ca6ec44d4c30e200c02719c10fab0050ae04174ed1f3c16cda5e23ae9924
3
+ size 79585
tasks/table_question_answering/composition_test/part-00000.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b26d4253d4d59c4ac557a7526ff90cc9cb7e6856883c0f9f285b3d1b787402f9
3
- size 342221
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c0bdd05a0f1dc3d95ec8110068faf1ad89a1e4416ccc15d4fc5e3e261b16ab9
3
+ size 310236
tasks/table_question_answering/dataset_test/part-00000.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b6781cb3dc6aaa69a48a1117c2d35308d8b9df2895100e53b439ae45b7725271
3
- size 47991
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:940b6f72915150cb7eb495ab99e10e3d04f8404cd8e3aebf0b80eedeedb7173f
3
+ size 48524
tasks/table_question_answering/episode_test/part-00000.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:38f6453c1b2c9b832e05737de7a2944fd30ab4c6fbe5b8aeb0d010a966a31661
3
- size 289388
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4139034532a06c98c12ea1d2154566c30cbcde402fa5311c7aeaed500c2abd5b
3
+ size 291505
tasks/table_question_answering/template_test/part-00000.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:96073e4e6ec0a170d40328a52dd8d7dd0aff33205e5137cf7ec501d6f1ce82f9
3
- size 289856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e78b2c4e90517a17e6523acae295060a5c21243081928af3c2cf787965064e0
3
+ size 291325
tasks/table_question_answering/train/part-00000.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5d3446b9d664105d4c9b6682ddefd99690099b158d8b065dc6bc2443d5c79f32
3
- size 547777
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecd086b38e37813eb469de8ec1703e808cadc0bff0ce8cb0da5e100e7afd6211
3
+ size 548660
tasks/table_question_answering/validation/part-00000.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0953b640f8edb634266da0864effadd6a0a1b0f725aed922b7d531031b752aa9
3
- size 41887
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5692087cf3d35d5b7e53d63069668d12b427baa2521d269ae767728836a02a08
3
+ size 42715