Skip to content

Zihan-Liu-00/RepCon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

RepCon

Implementation for paper Co-modeling the Sequential and Graphical Routes for Peptide Representation Learning

Usage Overview

Static Badge Static Badge Static Badge

Training

To train a RepCon model on the example dataset AP, please use the following command:

python methods/co-modeling\ contrastive/main.py --dataset AP

Make sure the hyperparameter args.mode is set as 'train' before a trained model has been stored.

The predictive results can be found in the 'results' folder in the root directory.

Important hyperparameters

args.seq_lr the learning rate of the sequential encoder & predictor.

args.graph_lr the learning rate of the graphical encoder & predictor.

args.nce_weight the weight which balance the supervised loss and the contrastive loss.

The other hyperparameters are relatively insensitive to downstream tasks, and the user can keep the default settings.

About

Implementation for paper Co-modeling the Sequential and Graphical Routes for Peptide Representation Learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages