Skip to content

Commit b84d120

Browse files
committed
added graph2smiles with new datasplit and environmnet
1 parent ead0706 commit b84d120

File tree

4 files changed

+164
-34
lines changed

4 files changed

+164
-34
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ An encoder-decoder transformer model that models retrosynthetic analysis along w
55

66
The code to our metric - Retrosynthesis Refinement Index (RRI), can be found at `benchmark.py,`, and the results of analyzing various algorithms with our metric can be found at `benchmark.ipynb`.
77

8+
Create the environment `conda create -y -n synformer python=3.10`, activate the environment `conda activate synformer` and install the dependencies:
9+
- `conda install -y pytorch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 pytorch-cuda=11.7 -c pytorch -c nvidia`
10+
- `pip install pytorch-lightning==2.0.3 rdkit-pypi pandas einops prettytable transformer wandb numpy==1.24.3`
11+
- `pip install git+https://github.com/ildoonet/pytorch-gradual-warmup-lr.git`
12+
- `python -m pip install git+https://github.com/MolecularAI/pysmilesutils.git`
13+
814
Our model can be trained using the following command:
915
```python
1016
python llm.py \

0 commit comments

Comments
 (0)