计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
sbi_neural_training【效率与协作】Train or proxy-train SBI density estimator families on simulator-generated parameter observation pairs.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when simulation records need to be converted into a trained estimator for an sbi-style workflow. It covers the paper's SNPE, SNLE, and SNRE family distinction and provides a deterministic reduced SNPE-like proxy for environments where the full sbi and PyTorch stack is unavailable.
Do not report the reduced proxy as a full sbi run. The proxy is only valid when recovery mode permits reduced evidence and the runtime handoff records why the full stack is blocked.
theta and x vectors.SNPE, SNLE, or SNRE.loss_before, loss_after, params_before, params_after, and optimizer_state_changed.theta and x values.theta_hat = a * x + b.Run:
python /share/project/yuyang/workspace/Paper2Skills/Distiller/skills/module-to-skill/scripts/validate_skill_tree.py /share/project/yuyang/workspace/Paperbench/record/case15/extracted_skills_attempt_001/sbi_toolkit/sbi_neural_training --run-tests
For a standalone smoke run:
python scripts/neural_training.py --demo
The reduced trainer is intentionally tiny and standard-library only. It preserves the simulator-to-estimator training mechanism but does not implement normalizing flows, MCMC, classifier ratio estimation, PyTorch autograd, or multi-round proposal adaptation.