Commit ·
5f336b3
0
Parent(s):
Duplicate from insilicomedicine/chemcensor
Browse filesCo-authored-by: Nikita Bondarev <Nikita-Insilico@users.noreply.huggingface.co>
- .gitattributes +60 -0
- ChemCensor-DB-U2-1.0.0.sqlite.zip +3 -0
- README.md +111 -0
.gitattributes
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.avro filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
# Audio files - uncompressed
|
| 40 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
# Audio files - compressed
|
| 44 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
# Image files - uncompressed
|
| 50 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
# Image files - compressed
|
| 55 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
# Video files - compressed
|
| 59 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
ChemCensor-DB-U2-1.0.0.sqlite.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8923c3681366f052307cc78832cef7a8a9a2a488a571b32f2cf9784d3a3a9343
|
| 3 |
+
size 513856629
|
README.md
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
tags:
|
| 5 |
+
- retrosynthesis
|
| 6 |
+
- chemistry
|
| 7 |
+
- cheminformatics
|
| 8 |
+
- sqlite
|
| 9 |
+
- chemical-plausibility
|
| 10 |
+
license: other
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# ChemCensor DataBase
|
| 14 |
+
|
| 15 |
+
[](https://huggingface.co/datasets/insilicomedicine/ChemCensor-DataBase)
|
| 16 |
+
[](https://arxiv.org/abs/2602.03554)
|
| 17 |
+
[](https://github.com/insilicomedicine/ChemCensor)
|
| 18 |
+
|
| 19 |
+
This repository provides the SQLite database used by **ChemCensor**, a precedent-based framework for evaluating the reaction chemical plausibility.
|
| 20 |
+
|
| 21 |
+
ChemCensor scores a proposed reaction by separating the **reaction center** (what changes during the reaction) from the **functional-group context** (what must be tolerated), and then checking whether similar reaction-center and functional-group compatibility patterns are supported by documented synthetic precedents. The resulting **ChemCensor Score** is an integer confidence level from 0 to 5, where higher values indicate stronger support from precedent chemistry.
|
| 22 |
+
|
| 23 |
+
The database is distributed as a compressed `.zip` archive containing a `.sqlite` file.
|
| 24 |
+
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
## What is inside
|
| 28 |
+
|
| 29 |
+
The SQLite database stores precomputed ChemCensor knowledge used for reaction plausibility scoring.
|
| 30 |
+
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)
|
| 31 |
+
and includes reactions extracted by text-mining from United States patents published between 1976 and September 2016.
|
| 32 |
+
|
| 33 |
+
The DB is compatible with **`chemcensor>=1.0.0`**.
|
| 34 |
+
|
| 35 |
+
The database includes:
|
| 36 |
+
|
| 37 |
+
- reaction-center precedent information;
|
| 38 |
+
- functional-group compatibility information;
|
| 39 |
+
- relational mappings required by the ChemCensor scoring pipeline.
|
| 40 |
+
|
| 41 |
+
During ChemCensor scoring, the database is queried to determine whether a proposed retrosynthetic step is supported by previously observed reaction-center precedents and functional-group compatibility patterns.
|
| 42 |
+
|
| 43 |
+
## Download and unpack
|
| 44 |
+
|
| 45 |
+
Download the archive from this Hugging Face repository and unzip it:
|
| 46 |
+
|
| 47 |
+
```bash
|
| 48 |
+
unzip ChemCensor-DB-U2-1.0.0.sqlite.zip
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
After unpacking, you should obtain a SQLite database file, for example:
|
| 52 |
+
|
| 53 |
+
```text
|
| 54 |
+
ChemCensor-DB-U2-1.0.0.sqlite
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
---
|
| 58 |
+
|
| 59 |
+
## Use with ChemCensor
|
| 60 |
+
|
| 61 |
+
The database is intended to be used together with the ChemCensor source code:
|
| 62 |
+
|
| 63 |
+
```bash
|
| 64 |
+
git clone https://github.com/insilicomedicine/ChemCensor.git
|
| 65 |
+
cd ChemCensor
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
Place the unpacked `.sqlite` file in the location expected by the ChemCensor configuration, or provide the database path according to the repository instructions.
|
| 69 |
+
|
| 70 |
+
A typical workflow is:
|
| 71 |
+
|
| 72 |
+
1. download this dataset;
|
| 73 |
+
2. unzip the `.sqlite` database;
|
| 74 |
+
3. install ChemCensor from the GitHub repository;
|
| 75 |
+
4. point ChemCensor to the unpacked database file;
|
| 76 |
+
5. run ChemCensor scoring for candidate reactions.
|
| 77 |
+
|
| 78 |
+
Please refer to the [ChemCensor repository](https://github.com/insilicomedicine/ChemCensor) for the exact command-line or Python API usage.
|
| 79 |
+
|
| 80 |
+
---
|
| 81 |
+
|
| 82 |
+
## Citation
|
| 83 |
+
|
| 84 |
+
If you use this database or ChemCensor in your work, please cite:
|
| 85 |
+
|
| 86 |
+
```
|
| 87 |
+
@misc{zagribelnyy2026singleanswerenoughrethinking,
|
| 88 |
+
title={When Single Answer Is Not Enough: Rethinking Single-Step Retrosynthesis Benchmarks for LLMs},
|
| 89 |
+
author={Bogdan Zagribelnyy and Ivan Ilin and Maksim Kuznetsov and Nikita Bondarev and Roman Schutski
|
| 90 |
+
and Thomas MacDougall and Rim Shayakhmetov and Zulfat Miftakhutdinov
|
| 91 |
+
and Mikolaj Mizera and Vladimir Aladinskiy and Alex Aliper and Alex Zhavoronkov},
|
| 92 |
+
year={2026},
|
| 93 |
+
eprint={2602.03554},
|
| 94 |
+
archivePrefix={arXiv},
|
| 95 |
+
primaryClass={cs.LG},
|
| 96 |
+
url={https://arxiv.org/abs/2602.03554},
|
| 97 |
+
}
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
## License
|
| 101 |
+
|
| 102 |
+
This database is part of **ChemCensor** and is distributed under the same terms as the ChemCensor software.
|
| 103 |
+
By downloading or using this dataset, you agree to the [ChemCensor License Agreement](https://github.com/insilicomedicine/ChemCensor/blob/main/LICENSE)
|
| 104 |
+
(independent benchmarking and evaluation purposes only).
|
| 105 |
+
|
| 106 |
+
You may use the database solely to assess, compare, validate, or report the performance of models, algorithms, or methodologies together with ChemCensor, as described in the ChemCensor repository and paper.
|
| 107 |
+
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.
|
| 108 |
+
|
| 109 |
+
Insilico retains all intellectual property rights in the database.
|
| 110 |
+
For the full definitions, permitted and prohibited uses, and legal terms, see the [LICENSE](https://github.com/insilicomedicine/ChemCensor/blob/main/LICENSE)
|
| 111 |
+
file in the [ChemCensor GitHub repository](https://github.com/insilicomedicine/ChemCensor).
|