Khaos Aqueous Solubility
Predicts aqueous solubility (logS, mol/L) of a molecule.
chem_solubility 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) andmanifest.json - Training data: fletxcher/khaos-chem_solubility
Results
Measured on the held-out test split of the training dataset.
| Metric | Value |
|---|---|
| rmse | 1.2790 |
| mae | 0.9346 |
| r2 | 0.6284 |
| baseline_rf_morgan_rmse | 1.8777 |
| baseline_mean_rmse | 2.2036 |
| n_test | 969 |
Training
{
"vocab_size": 246,
"atom_dim": 32,
"dim": 256,
"depth": 6,
"heads": 8,
"graph_layers": 4,
"n_out": 1,
"activation": "none",
"epochs": 40,
"batch": 256,
"lr": 0.0003,
"init": "chem_mol_embedding v1 encoder"
}
Best epoch 13, trained in 2.5 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_solubility
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.