Upload model card
Browse files9 unmodified lines101112131415169 unmodified lines2627282930313223 unmodified lines5657585960616266 unmodified lines1291301311321331341358 unmodified lines1441451461471481491501511521531541551569 unmodified lines# COMO[Online Demo](https://huggingface.co/spaces/lyuzhuoqi/COMO) \\(\cdot\\) [GitHub](https://github.com/netknowledge/COMO) \\(\cdot\\) [PyPI](https://pypi.org/project/como-ocsr/)**COMO** (**C**losed-loop **O**ptical **M**olecule rec**O**gnition) is a deep learning framework forOptical Chemical Structure Recognition (OCSR). It recognizes chemical structure9 unmodified lines- **Output:** SMILES string + atom coordinates + bond matrix- **Vocabulary:** chartok_coords format (200 tokens: SMILES chars + 64 X/Y bins)- **Parameters:** ~94M- **Training data:** 1M PubChem + 652K USPTO (MLE) + 83K MolParser-SFT (MRT)## Installation23 unmodified linesprint(f"Exact Match: {metrics['postprocess/exact_match_acc']:.2%}")```Full documentation: [Github](https://github.com/netknowledge/COMO/tree/main/doc)## Architecture66 unmodified lines```Pre-packaged `.tar.gz` archives are also available for bulk download in the[COMO model repository](https://huggingface.co/Keylab/COMO/tree/main/benchmarks).## Evaluation Results8 unmodified lines| UOB | 5,740 | Real (academic) | 98.0* || USPTO | 5,719 | Real (patents) | 93.4 || USPTO-10K | 9,999 | Real (patents) | 96.1 || Staker | 50,000 | Real | 87.4 || ACS | 331 | Real (publications) | 84.6 || WildMol-10K | 9,899 | Real (wild) | 77.1 |*\*UOB results after tautomer standardization.*See the [paper](#citation) for full comparison with MolScribe, MolParser,SwinOCSR, and other baselines.## License9 unmodified lines101112131415169 unmodified lines2627282930313223 unmodified lines5657585960616266 unmodified lines1291301311321331341358 unmodified lines1441451461471481491501511521531541551569 unmodified lines# COMO[Demo](https://huggingface.co/spaces/lyuzhuoqi/COMO) \\(\cdot\\) [GitHub](https://github.com/netknowledge/COMO) \\(\cdot\\) [PyPI](https://pypi.org/project/como-ocsr/)**COMO** (**C**losed-loop **O**ptical **M**olecule rec**O**gnition) is a deep learning framework forOptical Chemical Structure Recognition (OCSR). It recognizes chemical structure9 unmodified lines- **Output:** SMILES string + atom coordinates + bond matrix- **Vocabulary:** chartok_coords format (200 tokens: SMILES chars + 64 X/Y bins)- **Parameters:** ~94M- **Training data:** [1M PubChem](https://huggingface.co/Keylab/COMO/tree/main/training_data/pubchem_smiles) + [652K USPTO](https://huggingface.co/Keylab/COMO/blob/main/training_data/uspto_mol.zip) (MLE) + [83K MolParser-SFT](https://huggingface.co/Keylab/COMO/blob/main/training_data/molparser_sft_real.tar.gz) (MRT)## Installation23 unmodified linesprint(f"Exact Match: {metrics['postprocess/exact_match_acc']:.2%}")```Full documentation: Github (**[netknowledge/COMO](https://github.com/netknowledge/COMO/tree/main/doc)**)## Architecture66 unmodified lines```Pre-packaged `.tar.gz` archives are also available for bulk download in the**[Keylab/COMO](https://huggingface.co/Keylab/COMO/tree/main/benchmarks)**.## Evaluation Results8 unmodified lines| UOB | 5,740 | Real (academic) | 98.0* || USPTO | 5,719 | Real (patents) | 93.4 || USPTO-10K | 9,999 | Real (patents) | 96.1 || Staker | 50,000 | Real | 87.3 || ACS | 331 | Real (publications) | 84.6 || WildMol-10K | 9,899 | Real (wild) | 77.1 |*\*UOB results after tautomer standardization.*See the [paper](https://arxiv.org/abs/2604.23546) for full comparison with MolScribe, MolParser,SwinOCSR, and other baselines.## License
README.md+6-6