alonsoapp commited on
Commit
1629193
·
verified ·
1 Parent(s): f567705

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +64 -0
README.md CHANGED
@@ -183,3 +183,67 @@ configs:
183
  - split: struct_aware_parse_train
184
  path: data/struct_aware_parse_train-*
185
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
183
  - split: struct_aware_parse_train
184
  path: data/struct_aware_parse_train-*
185
  ---
186
+
187
+ ### TABLET-Large
188
+
189
+ This is the _Large_ sized **train set** of the **TABLET** dataset. It contains all train examples for all **TABLET** tasks, resulting in a total of **3,505,311 training examples** across **17 tasks**.
190
+ This dataset is self-contained, each example includes a table image, its HTML representation, and the associated task data.
191
+ However, if you're interested in downloading just the TABLET tables, check out [TABLET-tables](https://huggingface.co/datasets/alonsoapp/TABLET-tables).
192
+
193
+ All TABLET Subsets:
194
+ - _(train)_ [**TABLET-Small**](https://huggingface.co/datasets/alonsoapp/TABLET-Small): The smallest TABLET subset, including **776,602 examples** across **14 tasks**.
195
+ - _(train)_ [**TABLET-Medium**](https://huggingface.co/datasets/alonsoapp/TABLET-Medium): Includes all examples from _TABLET-Small_, plus **Column Type Annotation**, **Entity Linking**, and **Relation Extraction** tasks. Each task is capped at **140,000 examples**, resulting in a total of **1,117,217 training examples** across **17 tasks**.
196
+ - _(train)_ [**TABLET-Large**](https://huggingface.co/datasets/alonsoapp/TABLET-Large): Includes all examples from _TABLET-Medium_ with **no cap** on task size, resulting in a total of **3,505,311 training examples** across **17 tasks**.
197
+ - _(dev)_ [**TABLET-dev**](https://huggingface.co/datasets/alonsoapp/TABLET-dev): The **development** set of TABLET.
198
+ - _(test)_ [**TABLET-test**](https://huggingface.co/datasets/alonsoapp/TABLET-test): The **test** set of TABLET.
199
+
200
+ For more information, see our [paper](https://arxiv.org/pdf/2509.21205), [website](https://precious-panda-5ce815.netlify.app/tablet/), and [GitHub repository](https://github.com/AlonsoApp/TABLET).
201
+
202
+ #### Using the Dataset
203
+
204
+ Given its size, we recommend [streaming](https://huggingface.co/docs/datasets/stream) the dataset instead of downloading it entirely to disk:
205
+
206
+ ```python
207
+ from datasets import load_dataset
208
+ dataset = load_dataset('alonsoapp/TABLET-Medium', split='fetaqa_train', streaming=True)
209
+ print(next(iter(dataset)))
210
+ ```
211
+
212
+ #### Data Fields
213
+
214
+ Each sample within the dataset is structured with the following fields:
215
+
216
+ * **`example_id`**: Unique identifier for the example.
217
+ * **`task`**: The name of the task this example belongs to.
218
+ * **`src_example_ids`**: IDs of the original examples from the source dataset, formatted as `{"Dataset name": "id"}`. Use the `get_original_example` helper function from [our published code](https://github.com/AlonsoApp/TABLET) to easily retrieve the source example.
219
+ * **`table_id`**: Unique identifier for the table.
220
+ * **`table_seed_id`**: ID referencing the table in its original (seed) dataset.
221
+ * **`table_seed_dataset`**: Name of the dataset where the table originated, typically matching the source dataset of the example.
222
+ * **`table_page_title`**: For tables sourced from Wikipedia, the corresponding page title.
223
+ * **`table_section_title`**: For Wikipedia tables, the title of the section where the table appears.
224
+ * **`table_variant`**: Either "raw" or "highlighted". Some examples visually highlight specific cells and this field indicates whether the table is unmodified (raw) or includes highlights (highlighted).
225
+ * **`img_source`**: Source of the table image. That is, whether the image comes from the Wikipedia visualization (wikipedia), a synthetic renderization from the data in the soruce dataset (seed_render), or directly copied from the original visualization of the table of the source dataset (PubTabNet, TabMWP).
226
+ * **`input`**: The _instructified_ input used for training and evaluation (see [paper](https://arxiv.org/pdf/2509.21205)). The input can be rephrased using information in `metadata`.
227
+ * **`output`**: The expected model output for the given `input`.
228
+ * **`split`**: Dataset split: `train`, `dev`, or `test`.
229
+ * **`metadata`**: Atomic data for the example to enable reconstruction or rephrasing of the instruction. Each key indicates a data element, the value can be obtained from either the _'input'_ or the _'output'_ strings using the substring defined by the character indexes in 'idx'. Use the get_metadata helper function from [our published code](https://github.com/AlonsoApp/TABLET) to retrieve these values.
230
+ * **`table_wiki_page_id`**: For Wikipedia tables, the page ID corresponding to the article containing the table (useful for Wikipedia API queries).
231
+ * **`table_wiki_old_id`**: For Wikipedia tables, the “old ID” identifying the article version at the crawl time.
232
+ * **`table_html`**: HTML representation of the table. Use the `render_table` helper function from [our code](https://github.com/AlonsoApp/TABLET) to render it in its original style. For highlighted variants, highlighted cells use the CSS class `demeter_highlighted_cell`. Remove any decorators for this class in the CSS to render identically to the raw version.
233
+ * **`table_img`**: The image representation of the table.
234
+
235
+ #### Citation
236
+
237
+ If you find **TABLET** useful in your research, please consider citing it by the following BibTeX entry.
238
+
239
+ ```bibtex
240
+ @misc{alonso2025tabletlargescaledatasetrobust,
241
+ title={TABLET: A Large-Scale Dataset for Robust Visual Table Understanding},
242
+ author={Iñigo Alonso and Imanol Miranda and Eneko Agirre and Mirella Lapata},
243
+ year={2025},
244
+ eprint={2509.21205},
245
+ archivePrefix={arXiv},
246
+ primaryClass={cs.CV},
247
+ url={https://arxiv.org/abs/2509.21205},
248
+ }
249
+ ```