Update README.md
Browse files
README.md
CHANGED
|
@@ -135,3 +135,55 @@ configs:
|
|
| 135 |
- split: test
|
| 136 |
path: uspto-mol-m-54k/test-*
|
| 137 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
- split: test
|
| 136 |
path: uspto-mol-m-54k/test-*
|
| 137 |
---
|
| 138 |
+
|
| 139 |
+
# MarkushGrapher 2 Datasets
|
| 140 |
+
|
| 141 |
+
Datasets for training and evaluating **MarkushGrapher 2**, a model for converting patent Markush structure images into CXSMILES representations.
|
| 142 |
+
|
| 143 |
+
## Dataset Subsets
|
| 144 |
+
|
| 145 |
+
| Subset | Train | Test | Description | OCR |
|
| 146 |
+
|---|---|---|---|---|
|
| 147 |
+
| `uspto-mol-m-54k-new` | 54,785 | 200 | USPTO-MOL-M Markush samples | ChemicalOCR predictions |
|
| 148 |
+
| `uspto-markush` | — | 74 | USPTO Markush structures benchmark | Ground Truth OCR |
|
| 149 |
+
| `m2s` | — | 103 | Mol2Smiles (M2S) benchmark | Ground Truth OCR |
|
| 150 |
+
| `IP5-markush` | — | 878 | IP5 Markush structures benchmark | Ground Truth OCR |
|
| 151 |
+
|
| 152 |
+
## Features
|
| 153 |
+
|
| 154 |
+
Each sample contains:
|
| 155 |
+
|
| 156 |
+
- **`page_image`** — Input patent image (PIL Image, typically 1024×1024)
|
| 157 |
+
- **`cells`** — OCR-detected text cells with bounding boxes (`bbox` in normalized coordinates, `text`)
|
| 158 |
+
- **`cxsmiles`** — Ground truth CXSMILES representation
|
| 159 |
+
- **`cxsmiles_opt`** — Optimized (tokenizer-friendly) CXSMILES representation
|
| 160 |
+
- **`cxsmiles_dataset`** — Original CXSMILES from the source dataset
|
| 161 |
+
- **`annotation`** — Annotation metadata (used to train model)
|
| 162 |
+
- **`image_name`** — Source image filename
|
| 163 |
+
- **`id`** — Sample identifier
|
| 164 |
+
|
| 165 |
+
## Usage
|
| 166 |
+
|
| 167 |
+
```python
|
| 168 |
+
from datasets import load_dataset
|
| 169 |
+
|
| 170 |
+
# Load a specific subset
|
| 171 |
+
dataset = load_dataset("docling-project/MarkushGrapher-2-Datasets", "uspto-mol-m-54k-new")
|
| 172 |
+
|
| 173 |
+
# Load a benchmark subset
|
| 174 |
+
benchmark = load_dataset("docling-project/MarkushGrapher-2-Datasets", "m2s")
|
| 175 |
+
```
|
| 176 |
+
|
| 177 |
+
## Citation
|
| 178 |
+
|
| 179 |
+
If you use this dataset, please cite:
|
| 180 |
+
|
| 181 |
+
```bibtex
|
| 182 |
+
@inproceedings{strohmeyer2026markushgrapher2,
|
| 183 |
+
title={MarkushGrapher 2: End-to-End Markush Structure Parsing from Patent Images},
|
| 184 |
+
title = {MarkushGrapher-2: End-to-end Multimodal Recognition of Chemical Structures},
|
| 185 |
+
author = {Strohmeyer, Tim and Morin, Lucas and Meijer, Gerhard Ingmar and Weber, Valery and Nassar, Ahmed and Staar, Peter W. J.},
|
| 186 |
+
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
|
| 187 |
+
year = {2026}
|
| 188 |
+
}
|
| 189 |
+
```
|