- Add quick-start install, dataset generation, and HF Jobs training commands.
- Document repository layout and key design decisions.
- Include telemetry verification checklist for the first HF training run.
chore(hf): point hf_train_job.py to empirical_dataset_v1.jsonl
- Default --data is now data/empirical_dataset_v1.jsonl.
- AdaptiveLossBalancer is instantiated with num_tasks=4 before epoch loop.
- loss_alignment is continuous cosine similarity against mean-pooled target_obj;
legacy InfoNCE is fully removed.
feat(data): zero-extend early-depleted trajectories to fixed 49-step grid
- Add _pad_trajectory_to_steps helper that appends zero-liquid / zero-headspace records.
- Preserve actual solver times for active window; extend only with physical zeros.
- Ensures every record has exactly 49 timesteps for temporal alignment.
feat(data,verifier): add skip_ifra to verifier for synthetic dataset generation
- Add skip_ifra flag to FragrancePipelineVerifier.run_sim to bypass IFRA
restriction checks during synthetic training data generation.
- Use skip_ifra=True in generate_empirical_bootstrap for controls and mixtures
so the mandatory 15% solvent dilution is the only concentration guard.
- Commercial solvent dilution layer now handles all formula prep.
feat(data): add commercial solvent dilution layer and clean natural profiles
- Pulls directly from AromaRegistry SQLite.
- Expands natural oils via expand_naturals_to_cas_ratios before VLE.
- Uses FragrancePipelineVerifier.run_sim for non-ideal evaporation.
- Precomputes objective_targets (49x138) and psychometric_targets (7,)
so the patched FragranceTrajectoryDataset reads them directly.
fix(data,verifier): key trajectories by CAS and read precomputed targets
- FragranceTrajectoryDataset now prefers record['objective_targets'] and
record['psychometric_targets'] when present.
- Verifier now keys trajectory step dicts by CAS, matching the dataset lookup.
- Add scripts/inspect_thermo_env.py to audit registry/VLE interfaces.
feat(train): pin 597 single-molecule controls exclusively to training
- 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.
refactor(loss): rename DeepSeekLossBalancer to AdaptiveLossBalancer
- Add src/pino/thermo/geometry.py with RDKit ETKDG/MMFF94 3D descriptors.
- Add src/pino/thermo/naturals.py with constituent profiles for 32 natural oils.
- Extend AromaRegistry with openpom_embedding and shape_3d_features columns.
- Add scripts/cache_registry_embeddings.py for two-pass cache generation.
- Scale structural input to 145-D (138 OpenPOM + 7 shape) across pimt_model,
train, evaluate, train_hf, predict, inference. Keep objective output 138-D.
- Normalize NATURAL:* identifiers to bare CAS for registry lookups.
- scripts/hf_train_job.py now downloads synthetic_dataset_v2.jsonl from
mattbitzesty/pino-synthetic-dataset when not present locally.
- hf_job.yaml clones the dedicated source repo pino-source-code.
chore(hf_job): redact token from remote and clean device print
- Fix invalid transformers>=5.0 constraint to >=4.41.0,<4.50.0
- Add scripts/hf_train_job.py entrypoint for HF Jobs GPU run
- Add hf_job.yaml T4-small cluster configuration
- Fingerprint-based overlap assertion already in place
- Dataset import cleanup already in place
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.
refactor(train): directive-style molecule-disjoint data ingestion
Add explicit console prints for partitioning and 0% overlap assertion.
Pass train_dataset and val_dataset directly to DataLoaders. Remove test
split for this verification pass. state_dim remains locked to 2.
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.
chore(train): default DataLoader workers to 0 for local check cycles
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): generate OAV targets in dataset builder and validate UNIFAC subgroups
DatasetBuilder now writes objective_targets and psychometric_targets.
Ingest normalizer filters recipes by valid DOUFSG subgroups and
rescales remaining weight fractions to unity.
refactor(vle): move UNIFAC VLE implementation into pino.thermo module
Replace deterministic genre curves with log10(OAV+1)-weighted mixture
descriptor vectors backed by pyrfume_descriptors_by_cas.json and
pyrfume_odt_by_cas.json. Keep fallback profile for tests.
feat(pimt_model): expose tokens/states/mask forward and emit genre labels
Refactor forward() to accept separate tokens, states and padding mask.
Emit genre_label and genre from dataset items for stratification and
contrastive losses. Keep HF-compatible labels path for trainer reuse.
feat(heads): decompose subjective head and add contrastive projection
Split subjective output into seasonality logits, gender scalar, and
wearability logits. Add L2-normalized contrastive projection head for
InfoNCE-style perceptual training.
feat(data): rebalance text conditioning toward structured Poucher profiles
- Add --poucher-weight flag to augment_dataset_text.py (default 0.5)
- Split structured Poucher strings from prose Arctander/literature pool
- Fallback genres without native profiles to the global structured pool
- Regenerate synthetic_dataset_v2_text with ~50% structured strings
feat(data): wire structured Poucher profiles into text conditioning pipeline
- Add seed_everything for reproducibility
- Add compute_metrics for objective MSE and subjective MAE
- Fuse labels into single (B,T,145) tensor for HF Trainer
- Export publication_metrics.json after training
- Add load_best_model_at_end and tensorboard logging
chore(pino): add run_training entry point for Space compatibility
- 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