MolecularAI / Reinvent

Apache License 2.0
338 stars 110 forks source link

Train new prior #9

Closed albertma-evotec closed 4 years ago

albertma-evotec commented 4 years ago

Is there a tutorial for training new prior? I have tried the create_model.json. I cannot see where I can define how many epochs to train over either any code of the training loop of the prior.

Thanks

patronov commented 4 years ago

Im currently putting together an example of how to pre-process raw data from ChEMBL and will upload a jupyter notebook of how to train a model from scratch. Otherwise, create_model.json is only for creating a blank model with a vocabulary. The actual training is done by using transfer learning but the number of epochs should be set to higher value and the learning rate should either be adaptive or should change exponentially. I will try to finish the example in the next few days and will upload it to Reinvent Community.

albertma-evotec commented 4 years ago

Thanks Atanas. Yea I figured out it is done by the transfer learning mode. I have trained a workable one but I am looking forward to see what settings you would suggest.

patronov commented 4 years ago

I have added some examples for purging a database and then training a model from scratch here. Also added a few files to this repo. Should be working fine, but let us know if there is anything unclear of anything is breaking.