Add metadata and paper/code links
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,90 +1,100 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
```
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
```
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
pipeline_tag: text-generation
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
## BioMedGPT-Mol
|
| 7 |
+
|
| 8 |
+

|
| 9 |
+
|
| 10 |
+
BioMedGPT-Mol is a multimodal molecular language model jointly released by PharMolix Inc. and the Institute of AI Industry Research (AIR), Tsinghua University. This model is presented in the paper [Speak-to-Structure: Evaluating LLMs in Open-domain Natural Language-Driven Molecule Generation](https://huggingface.co/papers/2412.14642).
|
| 11 |
+
|
| 12 |
+
**Project Page:** [https://phenixace.github.io/tomgbench/](https://phenixace.github.io/tomgbench/)
|
| 13 |
+
**Code:** [https://github.com/phenixace/tomg-bench](https://github.com/phenixace/tomg-bench)
|
| 14 |
+
|
| 15 |
+
BioMedGPT-Mol is built for both molecular understanding and generation, supporting a wide range of tasks including chemical name conversion, molecular captioning, property prediction, reaction modeling, molecule editing, and property optimization. Trained with a well-structured multi-task curriculum, BioMedGPT-Mol shows remarkable performance across diverse molecule-centric discovery benchmarks. More technical details can be found in the [technical report](https://arxiv.org/pdf/2512.04629).
|
| 16 |
+
|
| 17 |
+
### Get started
|
| 18 |
+
* Download the model and config files.
|
| 19 |
+
|
| 20 |
+
* Evaluation on Benchmarks
|
| 21 |
+
* The test set is available in [testset](./evaluation/datasets/).
|
| 22 |
+
If you use the dataset for evaluation, please consider citing the related papers:
|
| 23 |
+
```
|
| 24 |
+
@article{yu2024llasmol,
|
| 25 |
+
title={Llasmol: Advancing large language models for chemistry with a large-scale, comprehensive, high-quality instruction tuning dataset},
|
| 26 |
+
author={Yu, Botao and Baker, Frazier N and Chen, Ziqi and Ning, Xia and Sun, Huan},
|
| 27 |
+
journal={arXiv preprint arXiv:2402.09391},
|
| 28 |
+
year={2024}
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
@article{li2024tomg,
|
| 32 |
+
title={TOMG-Bench: Evaluating LLMs on text-based open molecule generation},
|
| 33 |
+
author={Li, Jiatong and Li, Junxian and Liu, Yunqing and Zhou, Dongzhan and Li, Qing},
|
| 34 |
+
journal={arXiv preprint arXiv:2412.14642},
|
| 35 |
+
year={2024}
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
@article{dey2025mathtt,
|
| 39 |
+
title={$$\backslash$mathtt $\{$GeLLM\^{} 3O$\}$ $: Generalizing Large Language Models for Multi-property Molecule Optimization},
|
| 40 |
+
author={Dey, Vishal and Hu, Xiao and Ning, Xia},
|
| 41 |
+
journal={arXiv preprint arXiv:2502.13398},
|
| 42 |
+
year={2025}
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
@article{biomedgpt-mol,
|
| 46 |
+
title={BioMedGPT-Mol: Multi-task Learning for Molecular Understanding and Generation},
|
| 47 |
+
author={Zuo, Chenyang and Fan, Siqi and Nie, Zaiqing},
|
| 48 |
+
journal={arXiv preprint arXiv:2512.04629},
|
| 49 |
+
year={2025}
|
| 50 |
+
}
|
| 51 |
+
```
|
| 52 |
+
* Update the configuration and run inference using the provided scripts, and the outputs will be saved in the `logs` directory.
|
| 53 |
+
```bash
|
| 54 |
+
- logs
|
| 55 |
+
---- biomedgpt_mol
|
| 56 |
+
-------- mumoinstruct
|
| 57 |
+
------------ logs
|
| 58 |
+
------------ results
|
| 59 |
+
-------- openmolinst
|
| 60 |
+
------------ logs
|
| 61 |
+
------------ results
|
| 62 |
+
-------- smolinstruct
|
| 63 |
+
------------ logs
|
| 64 |
+
------------ results
|
| 65 |
+
```
|
| 66 |
+
```bash
|
| 67 |
+
# SMolInstruction
|
| 68 |
+
bash evaluation/scripts/inference_smolinstruct.sh
|
| 69 |
+
|
| 70 |
+
# OpenMolInstuct
|
| 71 |
+
bash evaluation/scripts/inference_openmolinst.sh
|
| 72 |
+
|
| 73 |
+
# MuMoInstruct
|
| 74 |
+
bash evaluation/scripts/inference_mumoinstruct.sh
|
| 75 |
+
```
|
| 76 |
+
* Update the configuration accordingly and execute the evaluation scripts. The computed metrics will be stored as `metrics.json` in the results directory, e.g., `/logs/biomedgpt_mol/mumoinstruct/results/metrics.json`.
|
| 77 |
+
```bash
|
| 78 |
+
# SMolInstruction
|
| 79 |
+
bash evaluation/scripts/evaluate_smolinstruct.sh
|
| 80 |
+
|
| 81 |
+
# OpenMolInstuct
|
| 82 |
+
bash evaluation/scripts/evaluate_openmolinst.sh
|
| 83 |
+
|
| 84 |
+
# MuMoInstruct
|
| 85 |
+
bash evaluation/scripts/evaluate_mumoinstruct.sh
|
| 86 |
+
```
|
| 87 |
+
|
| 88 |
+
* 🔥Explore our [OpenBioMed](https://github.com/PharMolix/OpenBioMed) platform for more discovery tasks.
|
| 89 |
+
|
| 90 |
+
### Cite Us
|
| 91 |
+
If you find our open-sourced models helpful to your research, please consider citing:
|
| 92 |
+
|
| 93 |
+
```
|
| 94 |
+
@article{biomedgpt-mol,
|
| 95 |
+
title={BioMedGPT-Mol: Multi-task Learning for Molecular Understanding and Generation},
|
| 96 |
+
author={Zuo, Chenyang and Fan, Siqi and Nie, Zaiqing},
|
| 97 |
+
journal={arXiv preprint arXiv:2512.04629},
|
| 98 |
+
year={2025}
|
| 99 |
+
}
|
| 100 |
```
|