Matthew Ford commited on
Commit ·
4947605
1
Parent(s): 9a4131d
docs: triplet expansion 8->20 + GPU A/B run in README and TODO
Browse filesFormer-commit-id: f3bd3c587c54345c8fd380d15d1dd13d990560f1
Former-commit-id: 4059c1b68db1d6a726356386062d19f2571e727d
README.md
CHANGED
|
@@ -81,6 +81,26 @@ PY
|
|
| 81 |
- **Objective target space (OPEN):** the curated 138-dim Pyrfume single-label basis vs the full molequles multi-tag vocabulary (575 tags at ≥10 occurrences, ~10 tags/CAS, mined from Arctander/Goodscents/TGSC monograph text). The richer space may be more insightful but changes the objective head, loss, and metrics. The 575-dim multi-hot target matrix is built (`data/molequles_tag_matrix.json`) and held as an ablation arm; attribution is cleaner if it lands after the representation A/B is read out.
|
| 82 |
- **Prospective formula benchmark:** 40 in-silico preregistered formulas from a 51-material hobbyist palette (option held open for a community physical-compounding arm). Intended family-profile labels are sequestered (`labels.sequestered.json`, `access=evaluation_only`) and forbidden in training/model selection.
|
| 83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
## Training-readiness gate
|
| 85 |
|
| 86 |
Training is gated by `scripts/freeze_representation_validation.py`, which inspects on-disk artifacts and reports `READY_FOR_TRAINING` only when all five checks pass: genuine-POM asset present, representation ablation complete, ≥1 discordant substitution triplet admitted, 30–50 prospective formulas frozen, and prospective labels sequestered. Current status: `artifacts/training_readiness.json`.
|
|
|
|
| 81 |
- **Objective target space (OPEN):** the curated 138-dim Pyrfume single-label basis vs the full molequles multi-tag vocabulary (575 tags at ≥10 occurrences, ~10 tags/CAS, mined from Arctander/Goodscents/TGSC monograph text). The richer space may be more insightful but changes the objective head, loss, and metrics. The 575-dim multi-hot target matrix is built (`data/molequles_tag_matrix.json`) and held as an ablation arm; attribution is cleaner if it lands after the representation A/B is read out.
|
| 82 |
- **Prospective formula benchmark:** 40 in-silico preregistered formulas from a 51-material hobbyist palette (option held open for a community physical-compounding arm). Intended family-profile labels are sequestered (`labels.sequestered.json`, `access=evaluation_only`) and forbidden in training/model selection.
|
| 83 |
|
| 84 |
+
## Representation A/B (two-arm, single readout)
|
| 85 |
+
|
| 86 |
+
Trained and evaluated once on the frozen benchmarks. Results live in
|
| 87 |
+
`mattbitzesty/pino-pimt-representation-ab` (public model repo).
|
| 88 |
+
|
| 89 |
+
- **CPU run (6 epochs):** genuine OpenPOM ahead on all three metrics — final
|
| 90 |
+
val_total 0.4722 vs 0.4797; substitution triplets 0.50 vs 0.25 (n=8, chance
|
| 91 |
+
0.5); prospective family cosine 0.5349 vs 0.5257 (n=40). Small n ⇒ direction,
|
| 92 |
+
not conclusion.
|
| 93 |
+
- **GPU run (20 epochs, T4, in flight):** same two arms retrained longer on the
|
| 94 |
+
repaired corpus against the expanded **20-triplet** benchmark; checkpoints +
|
| 95 |
+
`frozen_eval_*_gpu.json` upload to the same repo on completion. See
|
| 96 |
+
`scripts/hf_gpu_ab_job.py`.
|
| 97 |
+
- **Triplet benchmark expanded 8 → 20** by mining `material_profiles` (molequles)
|
| 98 |
+
for trade-name → SMILES in `scripts/build_substitution_triplets.py`, resolving
|
| 99 |
+
proprietary trade materials (Isobutavan, Canthoxal, Neofolione, Indocolore,
|
| 100 |
+
Centifolether, Romandolide, …) previously dropped as no_identity. All 12 new
|
| 101 |
+
triplets carry authoritative Fraterworks preference provenance + verified
|
| 102 |
+
structural discordance.
|
| 103 |
+
|
| 104 |
## Training-readiness gate
|
| 105 |
|
| 106 |
Training is gated by `scripts/freeze_representation_validation.py`, which inspects on-disk artifacts and reports `READY_FOR_TRAINING` only when all five checks pass: genuine-POM asset present, representation ablation complete, ≥1 discordant substitution triplet admitted, 30–50 prospective formulas frozen, and prospective labels sequestered. Current status: `artifacts/training_readiness.json`.
|
TODO.md
CHANGED
|
@@ -17,9 +17,13 @@ applicable) are committed. Results are recorded even when they are negative.
|
|
| 17 |
- [x] Create and freeze a discordant substitution-triplet benchmark.
|
| 18 |
- 8 genuine triplets admitted: independent supplier preference provenance +
|
| 19 |
verified structural discordance (Tanimoto distractor > preferred).
|
| 20 |
-
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
- [x] Freeze a prospective formula benchmark containing 30--50 deliberately
|
| 24 |
designed formulas (IN PROGRESS; see design decisions below).
|
| 25 |
- DECISION: evaluated in-silico (model scoring/retrieval), no physical
|
|
@@ -44,6 +48,10 @@ applicable) are committed. Results are recorded even when they are negative.
|
|
| 44 |
Genuine OpenPOM ahead on all three; small n (8 triplets, 6 CPU epochs) means
|
| 45 |
direction not conclusion. `artifacts/frozen_eval_*.json`, evaluator
|
| 46 |
`scripts/evaluate_frozen_benchmarks.py`.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
## Molequles -> training link (2026-07-17)
|
| 49 |
|
|
|
|
| 17 |
- [x] Create and freeze a discordant substitution-triplet benchmark.
|
| 18 |
- 8 genuine triplets admitted: independent supplier preference provenance +
|
| 19 |
verified structural discordance (Tanimoto distractor > preferred).
|
| 20 |
+
- EXPANDED 8 -> 20 (2026-07-17): `load_trade_name_structures` now also mines
|
| 21 |
+
`material_profiles` (molequles) for trade-name -> SMILES, resolving
|
| 22 |
+
proprietary trade materials (Isobutavan, Canthoxal, Neofolione, Indocolore,
|
| 23 |
+
Centifolether, Romandolide, ...). All 12 new triplets carry authoritative
|
| 24 |
+
Fraterworks provenance. Coverage still bounded by structural identity;
|
| 25 |
+
expand with expert-rated perceptual preferences for publication scale.
|
| 26 |
+
`data/benchmarks/substitution_triplets/`.
|
| 27 |
- [x] Freeze a prospective formula benchmark containing 30--50 deliberately
|
| 28 |
designed formulas (IN PROGRESS; see design decisions below).
|
| 29 |
- DECISION: evaluated in-silico (model scoring/retrieval), no physical
|
|
|
|
| 48 |
Genuine OpenPOM ahead on all three; small n (8 triplets, 6 CPU epochs) means
|
| 49 |
direction not conclusion. `artifacts/frozen_eval_*.json`, evaluator
|
| 50 |
`scripts/evaluate_frozen_benchmarks.py`.
|
| 51 |
+
- [ ] Re-run the two-arm A/B longer on HF GPU (20 epochs, T4) against the expanded
|
| 52 |
+
20-triplet benchmark; upload checkpoints + `frozen_eval_*_gpu.json` to
|
| 53 |
+
`mattbitzesty/pino-pimt-representation-ab`. IN FLIGHT via
|
| 54 |
+
`scripts/hf_gpu_ab_job.py`; resolve CPU-vs-GPU direction on completion.
|
| 55 |
|
| 56 |
## Molequles -> training link (2026-07-17)
|
| 57 |
|