Downloads · 30 days
10
1% of all-time downloads
jonghyunlee1993/DrugLikeMoleculeBERT
DrugLikeMoleculeBERT is a feature extraction model from jonghyunlee1993. Use it when you need embeddings to search or compare text. It is set up for transformers.
This model is BERT-based architecture with 8 layers. The detailed config is summarized as follows. The drug-like molecule BERT is inspired by "Self-Attention Based Molecule Representation for Predicting Drug-Target In…
Downloads · 30 days
10
1% of all-time downloads
All-time downloads
1.4K
Public
Repo size
13.1 MB
Likes
1
Public
Click a slice to open those files.
.bin6.6 MB · 100%
From the Hugging Face model README
This model is BERT-based architecture with 8 layers. The detailed config is summarized as follows. The drug-like molecule BERT is inspired by "Self-Attention Based Molecule Representation for Predicting Drug-Target Interaction". We modified several points of training procedures.
config = BertConfig(
vocab_size=vocab_size,
hidden_size=128,
num_hidden_layers=8,
num_attention_heads=8,
intermediate_size=512,
hidden_act="gelu",
hidden_dropout_prob=0.1,
attention_probs_dropout_prob=0.1,
max_position_embeddings=max_seq_len + 2,
type_vocab_size=1,
pad_token_id=0,
position_embedding_type="absolute"
)
It's trained on drug-like molecules on the PubChem database. The PubChem database contains more than 100 M molecules, therefore, we filtered drug-like molecules using the quality of drug-likeliness score (QED). The 4.1 M molecules were filtered and the QED score threshold was set to 0.7.
We utilize a character-level tokenizer. The special tokens are "[SOS]", "[EOS]", "[PAD]", "[UNK]".
The following hyperparameters were used during training: