mrm8488 / chEMBL_smiles_v1

huggingface.co
Total runs: 116
24-hour runs: 1
7-day runs: -9
30-day runs: 69
Model's Last Updated: March 18 2023
fill-mask

Introduction of chEMBL_smiles_v1

Model Details of chEMBL_smiles_v1

De Novo Drug Design with MLM

What is it?

An approximation to Generative Recurrent Networks for De Novo Drug Design but training a MLM (RoBERTa like) from scratch.

Why?

As mentioned in the paper: Generative artificial intelligence models present a fresh approach to chemogenomics and de novo drug design, as they provide researchers with the ability to narrow down their search of the chemical space and focus on regions of interest. They used a generative recurrent neural network (RNN) containing long short‐term memory (LSTM) cell to capture the syntax of molecular representations in terms of SMILES strings. The learned pattern probabilities can be used for de novo SMILES generation. This molecular design concept eliminates the need for virtual compound library enumeration and enables virtual compound design without requiring secondary or external activity prediction .

My Goal 🎯

By training a MLM from scratch on 438552 (cleaned*) SMILES I wanted to build a model that learns this kind of molecular combinations so that given a partial SMILE it can generate plausible combinations so that it can be proposed as new drugs. By cleaned SMILES I mean that I used their SMILES cleaning script to remove duplicates, salts, and stereochemical information. You can see the detailed process of gathering the data, preprocess it and train the LSTM in their repo .

Fast usage with pipelines 🧪
from transformers import pipeline

fill_mask = pipeline(
    "fill-mask",
    model='mrm8488/chEMBL_smiles_v1',
    tokenizer='mrm8488/chEMBL_smiles_v1'
)

# CC(C)CN(CC(OP(=O)(O)O)C(Cc1ccccc1)NC(=O)OC1CCOC1)S(=O)(=O)c1ccc(N)cc1 Atazanavir
smile1 = "CC(C)CN(CC(OP(=O)(O)O)C(Cc1ccccc1)NC(=O)OC1CCOC1)S(=O)(=O)c1ccc(N)<mask>"

fill_mask(smile1)

# Output:
'''
[{'score': 0.6040295958518982,
  'sequence': '<s> CC(C)CN(CC(OP(=O)(O)O)C(Cc1ccccc1)NC(=O)OC1CCOC1)S(=O)(=O)c1ccc(N)nc</s>',
  'token': 265},
 {'score': 0.2185731679201126,
  'sequence': '<s> CC(C)CN(CC(OP(=O)(O)O)C(Cc1ccccc1)NC(=O)OC1CCOC1)S(=O)(=O)c1ccc(N)N</s>',
  'token': 50},
 {'score': 0.0642734169960022,
  'sequence': '<s> CC(C)CN(CC(OP(=O)(O)O)C(Cc1ccccc1)NC(=O)OC1CCOC1)S(=O)(=O)c1ccc(N)cc</s>',
  'token': 261},
 {'score': 0.01932266168296337,
  'sequence': '<s> CC(C)CN(CC(OP(=O)(O)O)C(Cc1ccccc1)NC(=O)OC1CCOC1)S(=O)(=O)c1ccc(N)CCCl</s>',
  'token': 452},
 {'score': 0.005068355705589056,
  'sequence': '<s> CC(C)CN(CC(OP(=O)(O)O)C(Cc1ccccc1)NC(=O)OC1CCOC1)S(=O)(=O)c1ccc(N)C</s>',
  'token': 39}]
  '''
More

I also created a second version without applying the cleaning SMILES script mentioned above. You can use it in the same way as this one.

fill_mask = pipeline(
  "fill-mask",
  model='/mrm8488/chEMBL26_smiles_v2',
  tokenizer='/mrm8488/chEMBL26_smiles_v2'
)

Original paper Authors:

Swiss Federal Institute of Technology (ETH), Department of Chemistry and Applied Biosciences, Vladimir–Prelog–Weg 4, 8093, Zurich, Switzerland, Stanford University, Department of Computer Science, 450 Sierra Mall, Stanford, CA, 94305, USA, inSili.com GmbH, 8049, Zurich, Switzerland, Gisbert Schneider, Email: hc.zhte@trebsig.

Created by Manuel Romero/@mrm8488 | LinkedIn

Made with in Spain

Runs of mrm8488 chEMBL_smiles_v1 on huggingface.co

116
Total runs
1
24-hour runs
-9
3-day runs
-9
7-day runs
69
30-day runs

More Information About chEMBL_smiles_v1 huggingface.co Model

chEMBL_smiles_v1 huggingface.co

chEMBL_smiles_v1 huggingface.co is an AI model on huggingface.co that provides chEMBL_smiles_v1's model effect (), which can be used instantly with this mrm8488 chEMBL_smiles_v1 model. huggingface.co supports a free trial of the chEMBL_smiles_v1 model, and also provides paid use of the chEMBL_smiles_v1. Support call chEMBL_smiles_v1 model through api, including Node.js, Python, http.

chEMBL_smiles_v1 huggingface.co Url

https://huggingface.co/mrm8488/chEMBL_smiles_v1

mrm8488 chEMBL_smiles_v1 online free

chEMBL_smiles_v1 huggingface.co is an online trial and call api platform, which integrates chEMBL_smiles_v1's modeling effects, including api services, and provides a free online trial of chEMBL_smiles_v1, you can try chEMBL_smiles_v1 online for free by clicking the link below.

mrm8488 chEMBL_smiles_v1 online free url in huggingface.co:

https://huggingface.co/mrm8488/chEMBL_smiles_v1

chEMBL_smiles_v1 install

chEMBL_smiles_v1 is an open source model from GitHub that offers a free installation service, and any user can find chEMBL_smiles_v1 on GitHub to install. At the same time, huggingface.co provides the effect of chEMBL_smiles_v1 install, users can directly use chEMBL_smiles_v1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

chEMBL_smiles_v1 install url in huggingface.co:

https://huggingface.co/mrm8488/chEMBL_smiles_v1

Url of chEMBL_smiles_v1

chEMBL_smiles_v1 huggingface.co Url

Provider of chEMBL_smiles_v1 huggingface.co

mrm8488
ORGANIZATIONS

Other API from mrm8488

huggingface.co

Total runs: 855
Run Growth: 264
Growth Rate: 30.88%
Updated:February 23 2024
huggingface.co

Total runs: 213
Run Growth: 64
Growth Rate: 31.68%
Updated:March 19 2023
huggingface.co

Total runs: 72
Run Growth: 32
Growth Rate: 44.44%
Updated:January 24 2024
huggingface.co

Total runs: 60
Run Growth: 46
Growth Rate: 82.14%
Updated:June 20 2023