3DMolFormer

April 25, 2025 ยท View on GitHub

This is the code repository for our paper published in ICLR 2025: 3DMolFormer: A Dual-channel Framework for Structure-based Drug Discovery.

Dependencies

pytorch
numpy
scipy
tqdm
tensorboard
multiprocessing
rdkit
openbabel

Datasets

For pre-training, we use:

For the docking task, we use:

For the pocket-aware drug design task, we use

Pre-training

python pretraining.py

Supervised Fine-tuning for Docking

python docking_finetuning.py

RL Fine-tuning for Molecule Generation

python generation_finetuning.py

Citation

@inproceedings{3DMolFormer,
  title={3DMolFormer: A Dual-channel Framework for Structure-based Drug Discovery},
  author={Hu, Xiuyuan and Liu, Guoqing and Chen, Can and Zhao, Yang and Zhang, Hao and Liu, Xue},
  booktitle={International Conference on Learning Representations (ICLR)},
  year={2025}
}