The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code:   ConfigNamesError
Exception:    FileNotFoundError
Message:      Couldn't find a dataset script at /src/services/worker/bsmock/pubtables-1m/pubtables-1m.py or any data file in the same directory. Couldn't find 'bsmock/pubtables-1m' on the Hugging Face Hub either: FileNotFoundError: No (supported) data files or dataset script found in bsmock/pubtables-1m. 
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 56, in compute_config_names_response
                  for config in sorted(get_dataset_config_names(path=dataset, use_auth_token=use_auth_token))
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 351, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1488, in dataset_module_factory
                  raise FileNotFoundError(
              FileNotFoundError: Couldn't find a dataset script at /src/services/worker/bsmock/pubtables-1m/pubtables-1m.py or any data file in the same directory. Couldn't find 'bsmock/pubtables-1m' on the Hugging Face Hub either: FileNotFoundError: No (supported) data files or dataset script found in bsmock/pubtables-1m.

Need help to make the dataset viewer work? Open a discussion for direct support.

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
Downloads last month
53

Models trained or fine-tuned on bsmock/pubtables-1m