{"id":13751587,"url":"https://github.com/insilicomedicine/GENTRL","last_synced_at":"2025-05-09T18:31:41.397Z","repository":{"id":42186646,"uuid":"205370229","full_name":"insilicomedicine/GENTRL","owner":"insilicomedicine","description":"Generative Tensorial Reinforcement Learning (GENTRL) model","archived":false,"fork":false,"pushed_at":"2024-07-25T10:15:32.000Z","size":7605,"stargazers_count":609,"open_issues_count":23,"forks_count":218,"subscribers_count":35,"default_branch":"master","last_synced_at":"2024-11-16T04:31:57.069Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/insilicomedicine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-30T11:37:33.000Z","updated_at":"2024-11-08T16:15:28.000Z","dependencies_parsed_at":"2024-08-03T09:02:39.878Z","dependency_job_id":"0c3e1f43-544f-4557-81c8-6ced60af0818","html_url":"https://github.com/insilicomedicine/GENTRL","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"f01c55bc012e49929684cd976ca400b99fdc6c4b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insilicomedicine%2FGENTRL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insilicomedicine%2FGENTRL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insilicomedicine%2FGENTRL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insilicomedicine%2FGENTRL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/insilicomedicine","download_url":"https://codeload.github.com/insilicomedicine/GENTRL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253303024,"owners_count":21886873,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T09:00:49.310Z","updated_at":"2025-05-09T18:31:36.340Z","avatar_url":"https://github.com/insilicomedicine.png","language":"Python","funding_links":[],"categories":["Python","Ranked by starred repositories"],"sub_categories":[],"readme":"# Generative Tensorial Reinforcement Learning (GENTRL) \nSupporting Information for the paper _\"[Deep learning enables rapid identification of potent DDR1 kinase inhibitors](https://www.nature.com/articles/s41587-019-0224-x)\"_.\n\nThe GENTRL model is a variational autoencoder with a rich prior distribution of the latent space. We used tensor decompositions to encode the relations between molecular structures and their properties and to learn on data with missing values. We train the model in two steps. First, we learn a mapping of a chemical space on the latent manifold by maximizing the evidence lower bound. We then freeze all the parameters except for the learnable prior and explore the chemical space to find molecules with a high reward.\n\n![GENTRL](images/gentrl.png)\n\n\n## Repository\nIn this repository, we provide an implementation of a GENTRL model with an example trained on a [MOSES](https://github.com/molecularsets/moses) dataset.\n\nTo run the training procedure,\n1. [Install RDKit](https://www.rdkit.org/docs/Install.html) to process molecules\n2. Install GENTRL model: `python setup.py install`\n3. Install MOSES from the [repository](https://github.com/molecularsets/moses)\n4. Run the [pretrain.ipynb](./examples/pretrain.ipynb) to train an autoencoder\n5. Run the [train_rl.ipynb](./examples/train_rl.ipynb) to optimize a reward function\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsilicomedicine%2FGENTRL","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finsilicomedicine%2FGENTRL","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsilicomedicine%2FGENTRL/lists"}