Views
No views yet
[!WARNING]
This is a model trained on publicly available data. While we've done our best to curate the data, the model performance can still improve. Proceed with caution.
openadmet-models installed in an environment (called openadmet-models) for ease of use and full utilization of OpenADMET's models. For full documentation, visit our website here. If you'd like to see some more examples on how to use Anvil, see our demos here.git clone git@github.com:OpenADMET/openadmet-models.gitcd openadmet-models/
conda env create -f devtools/conda-envs/openadmet-models.yaml
conda activate openadmet-models
pip install -e .conda env create -f devtools/conda-envs/openadmet-models-gpu.yaml
conda activate openadmet-models
pip install -e .git lfs installed.git clone https://huggingface.co/openadmet/herg-chemeleon-baseline/git lfs installed for the repo and get the large model files:git lfs install
git lfs pullopenadmet-models. Just be sure you are mounting the correct folder (./herg-chemeleon-baseline) where you've downloaded the model.docker run -it --user=root --rm \
-v ./herg-chemeleon-baseline:/home/mambauser/model:rw \
--runtime=nvidia \
--gpus all \
ghcr.io/openadmet/openadmet-models:maindocker run -it --user=root --rm \
-v ./herg-chemeleon-baseline:/home/mambauser/model:rw \
ghcr.io/openadmet/openadmet-models:maincompounds_for_inference.csv.1openadmet predict \
2 --input-path <the path to the data to predict on> \
3 --input-col <the column to of the data to predict on, often SMILES> \
4 --model-dir <the anvil_training directory of the model to predict with> \
5 --output-csv <the path to an output CSV to save the predictions to> \
6 --accelerator <whether to use gpu or cpu, defaults to gpu>run_model_inference.sh.1openadmet predict \
2 --input-path compounds_for_inference.csv \
3 --input-col OPENADMET_CANONICAL_SMILES \
4 --model-dir anvil_training/ \
5 --output-csv predictions.csv \
6 --accelerator cpu--input-path and --input-col arguments for your specific dataset.predictions.csv which will have predicted (the OADMET_PRED columns) pIC50 values:OADMET_PRED_chemprop-chembl_pchembl_value_mean,
OADMET_STD_chemprop-chembl_pchembl_value_meanOADMET_STD) columns are empty because uncertainty cannot be estimated unless running inference on an ensemble of models. For further details, visit our demo specifically about ensembling.