--- pretty_name: Glyph Datasets license: apache-2.0 language: - en task_categories: - image-to-text size_categories: - 100K), mol, smiles, selfies, inchi, source_of_label`; image bytes present for all 5,719 rows, zero null SMILES. - `adjacent_ring.csv` — `pubchem_cid, InChI, SMILES, num_atoms`. - `stereo_200k/*.csv`, `stereo_200k_white/*.csv` — `SMILES, file_path` (relative image path; images re-fetched from `Robert-zwr/Stereo-200k`). **Markush** - `train.jsonl` — one JSON object per line: `source`, `source_id`, `images` (list of `images//train/.png`), `messages` (a `user` + `assistant` chat turn). See `manifest.json` for the full contract, per-source counts, and source revisions. **Markush eval** - `*_benchmark.parquet` — `id, image (struct), benchmark, record` (`record` is the JSON of the prepared eval row); image bytes present for all rows. - `ip5m/ds4sd_mg2_predictions_878.jsonl` — `id, cxsmiles` (MG2 baseline prediction), `cxsmiles_opt, gt_cxsmiles` (DS4SD ground truth; 8 unparseable rows kept as null), `gt_cxsmiles_opt`. - `m2s/ds4sd_mg2_gt_103.jsonl`, `uspto_markush/ds4sd_mg2_gt_74.jsonl` — `id, gt_cxsmiles, gt_cxsmiles_opt` (derived ground truth; no MG2 baseline column, since no DS4SD model run is published for these two benchmarks). ## Usage The `glyph` package resolves these artifacts automatically — no manual `huggingface-cli` step. ```bash # OCSR headline: the benchmark parquet auto-downloads from this repo. uv run glyph ocsr eval --checkpoint EdisonScientific/OCSRGlyph --output uspto5719.json # Markush: the self-contained benchmark auto-downloads; STEP 2 auto-pulls the # matching ground truth from markush-eval//. uv run glyph markush eval benchmark --benchmark ip5m \ --checkpoint EdisonScientific/MarkushGlyph --base-model Qwen/Qwen3.5-2B-Base \ --output preds.json tools/mg2_scorer/score_benchmark.sh --benchmark ip5m --input-json preds.json # Markush training: the flat index auto-downloads with hub:markush/train.jsonl. uv run python -m glyph.markush.train.sft \ --config configs/ablations/ocsr-as-markush-fraction/sft_2b_markush_ocsr5pct.yaml \ --data-path hub:markush/train.jsonl ``` See the code repository's `REPRODUCE.md` for the exact commands, expected counts, pinned revisions, and both Markush scoring contracts. ## License Apache-2.0 (same as the code repository). Each referenced upstream source keeps its own license — see the per-subdirectory `README.md` and `*.provenance.json` sidecars for attribution (PubChem, MolNexTR, MolSight/Stereo-200K, MolScribe, `hheiden/USPTO_OCSR_benchmark`, `docling-project/MarkushGrapher-Datasets` and `-2-Datasets`, `UniParser/MolParser-7M`). The embedded benchmark images are public-domain USPTO patent depictions / the pinned public MarkushGrapher-2 benchmark. ## Citation TBD. This data accompanies the paper *Chemical Structure Transcription Across Molecules*; the BibTeX entry and arXiv identifier will be added on release.