Skip to content

Question about Training result #3

Description

@qunshanxingyun

Dear Zhao,
I am a graduate student currently attempting to reproduce the training results from your paper. Following the guidance in the README.md, I have set up the environment and downloaded the BindingDB dataset. However, when I run the command you provided:

python main_token.py --dataset BindingDB

I find that the training process is not proceeding well. Here is the training log recorded in wandb:

prot_tokenizer 446
drug_tokenizer 428
Some weights of EsmForMaskedLM were not initialized from the model checkpoint at westlake-repl/SaProt_650M_AF2 and are newly initialized: ['esm.contact_head.regression.bias', 'esm.contact_head.regression.weight', 'esm.embeddings.position_embeddings.weight']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
Some weights of RobertaModel were not initialized from the model checkpoint at HUBioDataLab/SELFormer and are newly initialized: ['roberta.pooler.dense.bias', 'roberta.pooler.dense.weight']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
dataset loaded: train-34439; valid-4920; test-9840
539it [36:28,  4.06s/it]
77it [05:12,  4.06s/it]
154it [10:26,  4.07s/it]
Epoch 1: Validation AUC: 0.5381
Epoch 1, Loss: 0.6890225624993913
Epoch 2: Validation AUC: 0.5007
Epoch 2, Loss: 0.6797261296707535
Epoch 3: Validation AUC: 0.5566
Epoch 3, Loss: 0.6756483885927855
Epoch 4: Validation AUC: 0.5371
Epoch 4, Loss: 0.6739429008761673
Epoch 5: Validation AUC: 0.5372
Epoch 5, Loss: 0.6732677729983498
Epoch 6: Validation AUC: 0.5141
Epoch 6, Loss: 0.6707289610369086
Epoch 7: Validation AUC: 0.5585
Epoch 7, Loss: 0.6690432626152746
Epoch 8: Validation AUC: 0.5501
Epoch 8, Loss: 0.6656342917337931
Epoch 9: Validation AUC: 0.5572
Epoch 9, Loss: 0.6675316541004712
Epoch 10: Validation AUC: 0.5575
Epoch 10, Loss: 0.6681337383107484
Epoch 11: Validation AUC: 0.5577
Epoch 11, Loss: 0.666059407099722
Epoch 12: Validation AUC: 0.5595
Epoch 12, Loss: 0.6617658937795706
Epoch 13: Validation AUC: 0.5511
Epoch 13, Loss: 0.6615839151592998
Epoch 14: Validation AUC: 0.5391
Epoch 14, Loss: 0.6584334625605086
Epoch 15: Validation AUC: 0.5633
Epoch 15, Loss: 0.6583778830538876
Epoch 16: Validation AUC: 0.5355
Epoch 16, Loss: 0.6562116607221912
Epoch 17: Validation AUC: 0.5436
Epoch 17, Loss: 0.6541746810548602
Epoch 18: Validation AUC: 0.5576
Epoch 18, Loss: 0.6524081914677027
Epoch 19: Validation AUC: 0.5602
Epoch 19, Loss: 0.6519535347570515
Epoch 20: Validation AUC: 0.5561
Epoch 20, Loss: 0.6498159312803803
Epoch 21: Validation AUC: 0.5592
Epoch 21, Loss: 0.6495243820719462
Epoch 22: Validation AUC: 0.5227
Epoch 22, Loss: 0.6509300642862833
Epoch 23: Validation AUC: 0.5298
Epoch 23, Loss: 0.648390460655729
Epoch 24: Validation AUC: 0.5602
Epoch 24, Loss: 0.646911659245146
Epoch 25: Validation AUC: 0.5288
Early stopping triggered after 25 epochs.
Test AUC: 0.5419539081961172, AUPR: 0.45798490049710316, Accuracy: 0.5660569105691057

I am currently using the BindingDB data from /bindingdb/random in the DrugBAN repository.
image

I'm not sure if this is correct or I missed some important steps.
I would greatly appreciate it if you could provide some guidance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions