|
Download model/help.md from ajvelasque/Transformer: direct link, hf CLI and curl.
- Browser
- Download file 1.6 kB
-
https://huggingface.co/ajvelasque/Transformer/resolve/main/model/help.md
- Command line
-
hf download hf://ajvelasque/Transformer/model/help.md
-
curl -L -o help.md https://huggingface.co/ajvelasque/Transformer/resolve/main/model/help.md
1.6 kB
| # Transformer-CNN for QSAR/QSPR Modeling | |
| ## Resume | |
| Transformer-CNN is a hybrid deep learning architecture designed for chemical property prediction directly from SMILES strings. It combines a Transformer encoder to generate rich contextual character embeddings with a 1D Convolutional Neural Network (CharNN) to extract local chemical motifs. | |
| ### Common Use Cases: | |
| * **Antimicrobial Activity Prediction (MIC90/MIC50):** Classifying molecules into active or inactive compounds. | |
| * **ADMET & Toxicity Profiling:** Predicting mutagenicity, solubility, and pharmacokinetic properties. | |
| * **Virtual Screening:** Rapidly scoring compound libraries directly from SMILES without pre-computing molecular descriptors. | |
| ## Content | |
| ### 1. Core Architecture | |
| The model processes tokenized SMILES strings through two sequential stages: | |
| * **Transformer Encoder:** Applies multi-head self-attention across the SMILES sequence to capture long-range dependencies (such as ring closures and branching). | |
| * **1D Convolutional Block (CharNN):** Applies parallel convolutional filters of varying kernel sizes followed by global max-pooling to detect functional groups and substructures. | |
| ### 2. SMILES Data Augmentation | |
| Using RDKit, a single molecule can be represented by multiple valid non-canonical SMILES strings. Generating multiple random SMILES per compound during training acts as a powerful regularization technique for small datasets. | |
| ### References | |
| * Karpov, P., Godin, G., & Tetko, I. V. (2020). *Transformer-CNN: Swiss knife for QSAR modeling and interpretation*. Journal of Cheminformatics. |