pubtables-1m / README.md
bsmock's picture
Update README.md
57ab6cc
|
raw
history blame
3.02 kB
metadata
license: other

PubTables-1M

table_extraction_v2

Currently we only support downloading the dataset as tar.gz files. Integrating with HuggingFace Datasets is something we hope to support in the future!

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.

Once downloaded, use the included script "extract_structure_dataset.sh" to extract and organize all of the data.

Files

It comes in 18 tar.gz files:

  • Training and evaluation data for the structure recognition model (947,642 total cropped table instances):
    • PubTables-1M-Structure_Filelists.tar.gz
    • PubTables-1M-Structure_Annotations_Test.tar.gz: 93,834 XML files containing bounding boxes in PASCAL VOC format
    • PubTables-1M-Structure_Annotations_Train.tar.gz: 758,849 XML files containing bounding boxes in PASCAL VOC format
    • PubTables-1M-Structure_Annotations_Val.tar.gz: 94,959 XML files containing bounding boxes in PASCAL VOC format
    • PubTables-1M-Structure_Images_Test.tar.gz
    • PubTables-1M-Structure_Images_Train.tar.gz
    • PubTables-1M-Structure_Images_Val.tar.gz
    • PubTables-1M-Structure_Table_Words.tar.gz: Bounding boxes and text content for all of the words in each cropped table image

Training and evaluation data for the detection model (575,305 total document page instances):

  • PubTables-1M-Detection_Filelists.tar.gz
  • PubTables-1M-Detection_Annotations_Test.tar.gz: 57,125 XML files containing bounding boxes in PASCAL VOC format
  • PubTables-1M-Detection_Annotations_Train.tar.gz: 460,589 XML files containing bounding boxes in PASCAL VOC format
  • PubTables-1M-Detection_Annotations_Val.tar.gz: 57,591 XML files containing bounding boxes in PASCAL VOC format
  • PubTables-1M-Detection_Images_Test.tar.gz
  • PubTables-1M-Detection_Images_Train_Part1.tar.gz
  • PubTables-1M-Detection_Images_Train_Part2.tar.gz
  • PubTables-1M-Detection_Images_Val.tar.gz
  • PubTables-1M-Detection_Page_Words.tar.gz: Bounding boxes and text content for all of the words in each page image (plus some unused files)

Full table annotations for the source PDF files:

  • PubTables-1M-PDF_Annotations.tar.gz: Detailed annotations for all of the tables appearing in the source PubMed PDFs. All annotations are in PDF coordinates.
    • 401,733 JSON files, one per source PDF document