Skip to content

[NeurIPS 2020] "Graph Contrastive Learning with Augmentations" by Yuning You, Tianlong Chen, Yongduo Sui, Ting Chen, Zhangyang Wang, Yang Shen

License

Notifications You must be signed in to change notification settings

CameronDiao/GraphCL

 
 

Repository files navigation

MolCPT: Molecule Continuous Prompt Tuning to Generalize Molecular Representation Learning

PyTorch implementation for MolCPT. Author list withheld during review.

Overview

We provide a PyTorch implementation of MolCPT with GIN backbone. Pre-trained weights can be found by referencing the original GraphCL README. Datasets can be downloaded here.

Environment file can be found under the transferLearning_MoleculeNet_PPI subdirectory. If there are package incompatibility issues, you may want to instead create your environment using the file provided by GraphCL here.

Finetuning

To run MolCPT on GraphCL, navigate to the finetuning file here and edit the hyperparameters passed to the main function. We expose dropout, normalization, and filtering threshold as changeable hyperparameters.

Finally, run the following commands on terminal (assuming you already cd'd into the top-level of the MolCPT repository):

cd ./transferLearning_MoleculeNet_PPI/chem/
python finetune_motif.py

Results will be recorded in result.log.

About

[NeurIPS 2020] "Graph Contrastive Learning with Augmentations" by Yuning You, Tianlong Chen, Yongduo Sui, Ting Chen, Zhangyang Wang, Yang Shen

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.9%
  • Other 3.1%