Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

MarkushGrapher 2 Datasets

Datasets for training and evaluating MarkushGrapher 2, a model for converting patent Markush structure images into CXSMILES representations.

Dataset Subsets

Subset Train Test Description OCR
uspto-mol-m-54k-new 54,785 200 USPTO-MOL-M Markush samples ChemicalOCR predictions
uspto-markush 74 USPTO Markush structures benchmark Ground Truth OCR
m2s 103 Mol2Smiles (M2S) benchmark Ground Truth OCR
IP5-markush 878 IP5 Markush structures benchmark Ground Truth OCR

Features

Each sample contains:

  • page_image — Input patent image (PIL Image, typically 1024×1024)
  • cells — OCR-detected text cells with bounding boxes (bbox in normalized coordinates, text)
  • cxsmiles — Ground truth CXSMILES representation
  • cxsmiles_opt — Optimized (tokenizer-friendly) CXSMILES representation
  • cxsmiles_dataset — Original CXSMILES from the source dataset
  • annotation — Annotation metadata (used to train model)
  • image_name — Source image filename
  • id — Sample identifier

Usage

from datasets import load_dataset

# Load a specific subset
dataset = load_dataset("docling-project/MarkushGrapher-2-Datasets", "uspto-mol-m-54k")

# Load a benchmark subset
benchmark = load_dataset("docling-project/MarkushGrapher-2-Datasets", "m2s")

Note

MarkushGrapher-2 is also trained on the following datasets:

Citation

If you use this dataset, please cite:

@inproceedings{strohmeyer2026markushgrapher2,
  title     = {MarkushGrapher-2: End-to-end Multimodal Recognition of Chemical Structures},
  author    = {Strohmeyer, Tim and Morin, Lucas and Meijer, Gerhard Ingmar and Weber, Valery and Nassar, Ahmed and Staar, Peter W. J.},
  booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  year      = {2026}
}

License

This Dataset is released under the Creative Commons Attribution 4.0 License.

Downloads last month
1,099

Models trained or fine-tuned on docling-project/MarkushGrapher-2-Datasets