- Separate empirical controls from mixture records before splitting.
- Apply formula-disjoint split only to the 5,000 mixture records.
- Append all pure single-molecule anchors to the training pool.
- Add create_formula_disjoint_split_from_dataset helper for in-memory Dataset splits.
fix(upload,train): use load_dataset select and fingerprint-based leakage check
Avoid materializing 20k records via Dataset.from_list. Use load_dataset +
select(indices) for fast formula-disjoint partitioning. Verify isolation by
exact ingredient+weight fingerprint, not formula_id (which is reused across
different recipes).
feat(upload,train): formula-disjoint split with full corpus recovery
Add create_formula_disjoint_split() that hashes exact ingredient + weight
combinations to partition recipes without data starvation. Wire it into
train.py with formula_id overlap assertion and 19k+ total row utilization.
Molecule-disjoint variant retained for optional strict holdouts.
The directive's 80/20 split produced zero validation records on this dense
synthetic corpus (most formulas mix held-out and train molecules). Switch to
strict isolation: validation formulas contain only held-out molecules, mixed
formulas are excluded. Make train_ratio configurable via CLI; default 0.6 so
the verification run has both train and validation partitions with 0%
molecule overlap.
Add create_molecule_disjoint_split() using metadata.initial_components
with fallback to formula. Integrate splitter into train.py so training
and validation sets share zero molecules. Verify zero overlap at runtime.
feat(train,upload): multi-task training with InfoNCE and molecule-disjoint upload
train.py: add InfoNCE contrastive loss on genre labels, set state_dim=2,
decompose subjective targets, log all loss components.
upload_data.py: replace random stratified split with molecule-disjoint
partition; hold out compounds, not records.
feat(data): wire structured Poucher profiles into text conditioning pipeline
- Add literature_formulas.json blueprint with seeds and holdouts
- Integrate literature seeds into FormulaGenerator with Gaussian perturbation
- Flatten genre key in dataset records for stratified splitting
- Add upload_data.py for deterministic 80/20 Hub push
- Enrich registry: add missing single-chemical CAS and natural placeholders
- Add inference stub and verify_benchmarks.py for gold-standard validation
- Add sync_space.py to push train_hf.py to pino-pimt-training Space
- Update .gitignore to ignore logs and registry.db