Upload model card
Browse files24 unmodified lines2526272829303159 unmodified lines91929394959697989910010110210310410524 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)## Architecture59 unmodified lines## Usage```python# Download checkpoint from HuggingFace:# huggingface-cli download Keylab/COMO models/tanimoto/final.pthimport comomodel = como.load_model("models/tanimoto/final.pth", device="cuda")# orfrom como.model import ComoModelmodel = ComoModel.from_pretrained("Keylab/COMO-Tanimoto", device="cuda")# Single image predictionsmiles = como.predict(model, "molecule.png")print(smiles) # "CC(=O)O"24 unmodified lines2526272829303159 unmodified lines91929394959697989910010110210310424 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)## Architecture59 unmodified lines## Usage```pythonfrom como.model import ComoModelmodel = ComoModel.from_pretrained("Keylab/COMO-Tanimoto", device="cuda")# or download checkpoint from HuggingFace:# huggingface-cli download Keylab/COMO models/tanimoto/final.pthimport comomodel = como.load_model("models/tanimoto/final.pth", device="cuda")# Single image predictionsmiles = como.predict(model, "molecule.png")print(smiles) # "CC(=O)O"
README.md+5-6