计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
score_sde_score_matching【效率与协作】Build continuous denoising score-matching targets, losses, and reduced optimizer evidence for Score SDE.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a recovery or implementation task needs the continuous denoising score-matching objective from the Score SDE paper. It is designed to consume marginal kernel outputs from a Score SDE implementation and can also run a deterministic reduced optimizer step for mechanism evidence.
Do not use this skill as a full neural-network trainer. It does not implement NCSN++, DDPM++, JAX, Flax, or dataset input pipelines.
x0.g(t)^2.build_score_matching_batch.optimizer_step on a LinearScoreModel.loss_before, loss_after, params_before, and params_after when using the optimizer trace as experiment evidence.Run:
python scripts/score_matching.py --self-test
python tests/test_score_matching.py
The tests check target construction, likelihood weighting, and a real parameter update.
The reduced optimizer uses finite differences for portability. Full paper reproduction requires a large neural score model and many training steps, which are outside this skill's bounded test contract.