Release TableSuite-1K v2.0.0
Browse files- README.md +51 -123
- reference_summary.json +4 -4
- tasks/{cell_grounding → table_grounding}/dataset_test/part-00000.parquet +2 -2
- tasks/{cell_grounding → table_grounding}/episode_test/part-00000.parquet +2 -2
- tasks/{cell_grounding → table_grounding}/template_test/part-00000.parquet +2 -2
- tasks/{cell_grounding → table_grounding}/train/part-00000.parquet +2 -2
- tasks/{cell_grounding → table_grounding}/validation/part-00000.parquet +2 -2
- tasks/table_question_answering/composition_test/part-00000.parquet +2 -2
- tasks/table_question_answering/dataset_test/part-00000.parquet +2 -2
- tasks/table_question_answering/episode_test/part-00000.parquet +2 -2
- tasks/table_question_answering/template_test/part-00000.parquet +2 -2
- tasks/table_question_answering/train/part-00000.parquet +2 -2
- tasks/table_question_answering/validation/part-00000.parquet +2 -2
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
pretty_name: "TableSuite-1K:
|
| 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:
|
| 44 |
data_files:
|
| 45 |
- split: train
|
| 46 |
-
path: tasks/
|
| 47 |
- split: validation
|
| 48 |
-
path: tasks/
|
| 49 |
- split: episode_test
|
| 50 |
-
path: tasks/
|
| 51 |
- split: dataset_test
|
| 52 |
-
path: tasks/
|
| 53 |
- split: template_test
|
| 54 |
-
path: tasks/
|
| 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
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
|
| 78 |
-
|
| 79 |
-
official evaluation plans in this dataset remain frozen at data revision
|
| 80 |
-
`v1.3.0`.
|
| 81 |
|
| 82 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
|
| 84 |
-
|
| 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@
|
| 104 |
-
```
|
| 105 |
|
| 106 |
-
Materialize one explicitly selected source table from OpenML:
|
| 107 |
-
|
| 108 |
-
```bash
|
| 109 |
tablesuite fetch-openml \
|
| 110 |
-
--reference
|
| 111 |
-
--revision
|
| 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
|
| 121 |
|
| 122 |
-
|
| 123 |
"Lester1996/TableSuite-1K",
|
| 124 |
-
"table_question_answering",
|
| 125 |
-
split="dataset_test",
|
| 126 |
source="openml-parquet",
|
| 127 |
-
revision="
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
dataset_ids=("openml_45069",),
|
| 129 |
)
|
| 130 |
|
| 131 |
example = task[0]
|
| 132 |
-
|
| 133 |
-
print(task.score(example.id, response))
|
| 134 |
```
|
| 135 |
|
| 136 |
-
|
| 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 |
-
|
| 202 |
-
|
|
|
|
|
|
|
| 203 |
|
| 204 |
-
|
|
|
|
|
|
|
| 205 |
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
- `template_test`: held-out rows and question wording.
|
| 209 |
-
- `composition_test`: composed filter-then-argmax QA.
|
| 210 |
|
| 211 |
-
|
|
|
|
| 212 |
|
| 213 |
-
## Source
|
| 214 |
|
| 215 |
-
OpenML remains the source-table distributor.
|
| 216 |
-
terms
|
| 217 |
TableSuite-1K. The repository-level `other` designation reflects heterogeneous
|
| 218 |
-
source terms.
|
| 219 |
|
| 220 |
-
Code
|
| 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": "
|
| 100 |
},
|
| 101 |
-
"reference_id": "tablesuite-1k:
|
| 102 |
-
"release_version": "
|
| 103 |
-
"schema_version": "
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5692087cf3d35d5b7e53d63069668d12b427baa2521d269ae767728836a02a08
|
| 3 |
+
size 42715
|