Khaos LogP

Predicts the octanol-water partition coefficient (Crippen LogP) of a molecule.

chem_logp v1, from Khaos (a local-first library of pre-trained models for domain-specific tasks). This is the first release of the artifact.

Model

  • Architecture: MoleculePropertyModel: hybrid SMILES-transformer + molecular-graph encoder (initialized from Khaos Molecule Embedding v1) with an MLP head
  • Parameters: 5,634,821
  • Format: ONNX (model.onnx) plus PyTorch weights (model.pt) and manifest.json
  • Training data: fletxcher/khaos-chem_logp

Results

Measured on the held-out test split of the training dataset.

Metric Value
rmse 0.1272
mae 0.0559
r2 0.9973
baseline_rf_morgan_rmse 2.4177
baseline_mean_rmse 2.4815
n_test 20000
experimental_pearson 0.4179
experimental_spearman 0.3968
experimental_rmse 1.7373

Experimental transfer

The experimental split is measured AstraZeneca logD at pH 7.4, a different quantity from the Crippen LogP used for training, so correlation is the meaningful number, not RMSE.

Training

{
  "vocab_size": 246,
  "atom_dim": 32,
  "dim": 256,
  "depth": 6,
  "heads": 8,
  "graph_layers": 4,
  "n_out": 1,
  "activation": "none",
  "epochs": 6,
  "batch": 256,
  "lr": 0.0003,
  "init": "chem_mol_embedding v1 encoder"
}

Best epoch 6, trained in 15.1 minutes on a single consumer GPU (RTX 3050 8 GB).

Intended use

Fast, local property estimates for screening and ranking. Inputs are SMILES token ids plus atom features and adjacency.

Limitations

  • Evaluated on scaffold-disjoint test molecules from public datasets; accuracy outside that chemical space is unknown.
  • Predictions are estimates for triage, not substitutes for measurement.
  • Drug-like molecules up to 60 heavy atoms.

Usage

pip install khaos
khaos serve ./chem_logp

License

This model was trained on data with research-only, share-alike or mixed terms (see the training dataset card for each source). Treat it as research use and check the upstream data licenses before any commercial use.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support