|
Download README.md from gmxn/chemcensor: direct link, hf CLI and curl.
- Browser
- Download file 4.02 kB
-
https://huggingface.co/datasets/gmxn/chemcensor/resolve/main/README.md
- Command line
-
hf download hf://datasets/gmxn/chemcensor/README.md
-
curl -L -o README.md https://huggingface.co/datasets/gmxn/chemcensor/resolve/main/README.md
4.02 kB
| language: | |
| - en | |
| tags: | |
| - retrosynthesis | |
| - chemistry | |
| - cheminformatics | |
| - sqlite | |
| - chemical-plausibility | |
| license: other | |
| # ChemCensor Database | |
| [](https://huggingface.co/datasets/insilicomedicine/chemcensor) | |
| [](https://arxiv.org/abs/2602.03554) | |
| [](https://github.com/insilicomedicine/ChemCensor) | |
| This repository provides the SQLite databases used by **ChemCensor**, a | |
| precedent-based framework for evaluating reaction chemical plausibility. | |
| ChemCensor separates the **reaction center** (what changes) from the | |
| **functional-group context** (what must be tolerated), then checks whether | |
| similar patterns are supported by documented synthetic precedents. The | |
| resulting score ranges from 0 to 5, where higher values indicate stronger | |
| precedent support. | |
| ## Database versions and compatibility | |
| | Database | Compatible ChemCensor versions | Status | | |
| | --- | --- | --- | | |
| | `ChemCensor-DB-U3.sqlite` | `>=1.3.0` | Current | | |
| | `ChemCensor-DB-U2-1.0.0.sqlite.zip` | `>=1.0.0,<1.3.0` | Legacy | | |
| The current U3 database uses the stereo-aware RC1 key format introduced in | |
| ChemCensor 1.3.0. It must not be used with ChemCensor 1.2.x or older. The U2 | |
| archive remains available for those older package versions. | |
| ## Automatic download | |
| ChemCensor 1.4.0 and newer download and cache the current database | |
| automatically on first use: | |
| ```python | |
| from chemcensor import ChemCensor | |
| censor = ChemCensor.open() | |
| score = censor.score("CCO>>CC=O") | |
| ``` | |
| The file is stored in the standard Hugging Face cache and reused on subsequent | |
| calls. | |
| To download explicitly from Python: | |
| ```python | |
| from chemcensor import download_default_database | |
| db_path = download_default_database() | |
| ``` | |
| Or use the Hugging Face CLI: | |
| ```bash | |
| hf download insilicomedicine/chemcensor \ | |
| ChemCensor-DB-U3.sqlite \ | |
| --repo-type dataset \ | |
| --local-dir data | |
| ``` | |
| Then open the local file: | |
| ```python | |
| from chemcensor import ChemCensor | |
| censor = ChemCensor.open("data/ChemCensor-DB-U3.sqlite") | |
| ``` | |
| ## What is inside | |
| The knowledge base was constructed from the **USPTO-full** reaction dataset | |
| [introduced by D. Lowe](https://figshare.com/articles/dataset/Chemical_reactions_from_US_patents_1976-Sep2016_/5104873) | |
| and includes reactions extracted by text mining from United States patents | |
| published between 1976 and September 2016. | |
| The database includes: | |
| - reaction-center precedent information; | |
| - functional-group compatibility information; | |
| - relational mappings required by the ChemCensor scoring pipeline. | |
| ## Citation | |
| If you use this database or ChemCensor in your work, please cite: | |
| ```bibtex | |
| @misc{zagribelnyy2026singleanswerenoughrethinking, | |
| title={When Single Answer Is Not Enough: Rethinking Single-Step Retrosynthesis Benchmarks for LLMs}, | |
| author={Bogdan Zagribelnyy and Ivan Ilin and Maksim Kuznetsov and Nikita Bondarev and Roman Schutski | |
| and Thomas MacDougall and Rim Shayakhmetov and Zulfat Miftakhutdinov | |
| and Mikolaj Mizera and Vladimir Aladinskiy and Alex Aliper and Alex Zhavoronkov}, | |
| year={2026}, | |
| eprint={2602.03554}, | |
| archivePrefix={arXiv}, | |
| primaryClass={cs.LG}, | |
| url={https://arxiv.org/abs/2602.03554}, | |
| } | |
| ``` | |
| ## License | |
| This database is part of **ChemCensor** and is distributed under the same | |
| terms as the ChemCensor software. By downloading or using this dataset, you | |
| agree to the | |
| [ChemCensor License Agreement](https://github.com/insilicomedicine/ChemCensor/blob/main/LICENSE) | |
| (independent benchmarking and evaluation purposes only). | |
| Use in products, automated pipelines, training or fine-tuning of models, | |
| redistribution, or incorporation into operational workflows is not permitted | |
| without prior written permission from Insilico Medicine AI Limited. | |