This repository has our code for our model GraphCPA and its variants, created for CPSC 483.
- Download checkpoint of pretrained molecule encoder from here and place into jeffrey/base_checkpoint.
- Download de_train.parquet from here and place into the root of the repository.
- For all training and inference besides from inside the
jeffrey(molecule transformer), create and activate a Conda environment fromenvironment.yml. For the variant of the model with the molecule transformer injeffrey, usetransformer_environment.yml.
- Use
finetune.pyandinference.py.
- Use
jeffrey/finetune.pyandinference.pyfor the trainable molecule encoder. - Use
jeffrey/finetune_fixed.pyandinference_fixed.pyfor the fixed molecule encoder.
- Use
andrew/finetune.pyandandrew/inference.py.
- Use
bill/finetune.pyandbill/inference.py.
- Upload the csv files from inference to this Kaggle competition for results on the private test set.