Downloads · 30 days
8
16% of all-time downloads
theoschiff-biie/capo-hit-to-lead-ft-binding-boltz-20260706-1111-cd08-best
capo-hit-to-lead-ft-binding-boltz-20260706-1111-cd08-best is a machine learning model from theoschiff-biie. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
A per-target-calibrated QSAR affinity head that turns Boltz-2 co-folding outputs into a calibrated potency ranking for hit-to-lead. Boltz-2 weights are frozen — this is "fine-tuning to the assay" by calibration on mea…
Downloads · 30 days
8
16% of all-time downloads
All-time downloads
50
Public
Repo size
23.3 MB
Likes
0
Public
Click a slice to open those files.
.pkl23.3 MB · 100%
From the Hugging Face model README
A per-target-calibrated QSAR affinity head that turns Boltz-2
co-folding outputs into a calibrated potency ranking for hit-to-lead. Boltz-2
weights are frozen — this is "fine-tuning to the assay" by calibration on
measured batch_1 potencies, not gradient training. That is precisely why 549
cached co-folds from a prior run could be reused at 0 GPU-hours.
Produced by CAPO (Compute-Aware Automated Protein-Model Optimization), run
binding-boltz-20260706-1111-cd08. This repo contains the best checkpoint only.
affinity_head.pkl) + per-target calibration
that predicts log₁₀-potency from features derived from a Boltz-2 co-fold of a
protein–ligand complex.Per protein–ligand complex (affinity_head_manifest.json):
Hit-to-lead affinity ranking on a FEP-style benchmark spanning 29 drug targets
(bace, cdk2, tyk2, shp2, mcl1, eg5, p38, …). Given batch_1 measured potencies per
target, rank a held-out batch_2. 644 complexes were co-folded (549 reused +
96 new). The intended headline was to show classical-ML < raw Boltz-2 << CAPO
on the regime that is hard for both baselines.
All-target mean over the 15 targets that yielded valid ranking metrics
(results/analysis/summary.json):
| Metric (log₁₀ µM) | This model (CAPO) | Raw Boltz-2 | Classical ML |
|---|---|---|---|
| log-Pearson r | 0.7396 | 0.6227 | 0.6416 |
| Spearman r | 0.7000 | 0.5936 | 0.6162 |
| RMSE | 0.5588 | 1.0611 | — |
Calibration improves ordering and nearly halves RMSE vs raw Boltz-2 — its main
win is fixing magnitude. The classical < Boltz < CAPO ordering holds on the
all-target log-Pearson average.
loo_min_n = 8) selected
zero targets (headline_hard_for_both_targets: []). The primary claim was
never testable on this benchmark — thresholds were too strict.batch_2 / too-few
ligands; only 15 targets contribute to the average above.affinity_head.pkl — the calibrated QSAR affinity head (~23 MB).affinity_head_manifest.json — feature spec, seed, per-target detail, versions
(Python 3.10.12).config.json — {strategy: "custom_frozen_boltz2_calibrate_qsar", model_id: "custom", n_targets: 29}.metrics.json — full pre-registration table + thresholds + per-target results.import pickle
from huggingface_hub import hf_hub_download
REPO = "theoschiff-biie/capo-hit-to-lead-ft-binding-boltz-20260706-1111-cd08-best"
head = pickle.load(open(hf_hub_download(REPO, "affinity_head.pkl"), "rb"))
# 1. Co-fold each protein–ligand pair with Boltz-2 (frozen).
# 2. Build the feature vector per the ECFP4 + RDKit + Boltz-2 + contact spec in
# affinity_head_manifest.json (feature order must match training).
# 3. head.predict(X) -> calibrated log10-potency; rank within a target to lead-rank.
Reproduce feature extraction with the CAPO run's src/ pipeline; the manifest is
the authoritative feature contract.
binding-boltz-20260706-1111-cd08 (RUN_REPORT.md in the run dir).checkpoints/best/ only (private). checkpoints/last/ retained locally,
not pushed.License follows the Boltz-2 base model (MIT).