|
|
--- |
|
|
license: cdla-permissive-2.0 |
|
|
--- |
|
|
|
|
|
# PubTables-v2 |
|
|
|
|
|
*PubTables-v2* is a new large-scale dataset for full-page and multi-page table extraction. |
|
|
|
|
|
<img src="https://cdn-uploads.huggingface.co/production/uploads/631b793ff6bc4be4a65092ed/w9BXjqpGduqiPZ-QZCfYO.jpeg" alt="PubTables-v2 Figure 2" width="800"> |
|
|
|
|
|
## News |
|
|
```2025 Dec 11```: Our [paper](https://arxiv.org/abs/2512.10888) is now available on arXiv |
|
|
```2026 Feb 11```: PubTables-v2 has been officially released on Hugging Face! |
|
|
|
|
|
## Collections |
|
|
|
|
|
PubTables-v2 comes in 3 collections. |
|
|
Each collection contains tables in a specific context: cropped tables (essentially context-free), tables within a full page context, and tables within a full document context. |
|
|
|
|
|
### Cropped Tables |
|
|
<img src="https://cdn-uploads.huggingface.co/production/uploads/631b793ff6bc4be4a65092ed/1ErEFtJ1e6Zx-HBSgkVob.jpeg" alt="PubTables-v2 Figure 3" width="600"> |
|
|
|
|
|
- **135,578** cropped tables, with each sample containing exactly one table cropped closely to its border |
|
|
- In contrast with PubTables-1M, all of the cropped tables in this collection are either long (30 or more rows) or wide (12 or more columns) |
|
|
- The data in this collection supports the traditional table structure recognition (TSR) task |
|
|
- Note: **5,804** of these tables are currently part of an unreleased, private test set |
|
|
|
|
|
### Single Pages |
|
|
<img src="https://cdn-uploads.huggingface.co/production/uploads/631b793ff6bc4be4a65092ed/me7ogRAehkyz_R5zE5vIi.jpeg" alt="PubTables-v2 Figure 1" width="300"> |
|
|
|
|
|
- **467,541** individual document pages, with each page containing 1 or more tables |
|
|
- This collection contains **548,414** tables annotated in their full-page context |
|
|
- The data in this collection supports the task of TD and the task of end-to-end table extraction (TE), or TSR in a full-page context |
|
|
- Note: **43,288** of these pages are currently part of an unreleased, private test set |
|
|
|
|
|
### Full Documents |
|
|
<img src="https://cdn-uploads.huggingface.co/production/uploads/631b793ff6bc4be4a65092ed/w9BXjqpGduqiPZ-QZCfYO.jpeg" alt="PubTables-v2 Figure 2" width="500"> |
|
|
|
|
|
- **9,172** full documents, with all pages included and all tables annotated |
|
|
- This collection focuses on multi-page tables specifically—every document contains at least one multi-page table |
|
|
- In total there are **9,492** multi-page tables, **630** single-page tables split across multiple columns, and **14,740** single-page, single-part tables |
|
|
- The data in this collection supports the tasks of multi-page TD, multi-page TSR (cell structure and content but not location), and cross-page table continuation prediction |
|
|
|
|
|
Note: A small percentage of the samples in PubTables-v2 are currently part of a private, unreleased test set. |
|
|
These samples are held back to evaluate data leakage for the public test set in future models and will be released at some point in the future. |
|
|
|
|
|
## Download |
|
|
|
|
|
Currently we support downloading the dataset as a collection of tar.gz files. |
|
|
|
|
|
Please switch to the "Files and versions" tab to download all of the files or use a command such as wget to download from the command line. |
|
|
|
|
|
On your machine, make a directory called "PubTables-v2" (or whatever you prefer) to download the files into. |
|
|
|
|
|
Once downloaded, use the included script "uncompress.sh" to extract and organize all of the data within that folder. |
|
|
If you only want to uncompress files from a particular collection, such as the Single Pages collection, use the included script with that collection in the name. |