计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
movement_scores【效率与协作】Update movement-pruning importance scores from weight gradients and diagnose whether weights move away from zero.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a pruning or recovery harness needs the core first-order movement-pruning update. Do not use it as a generic magnitude pruning score; its purpose is to accumulate task fine-tuning movement.
weights: numeric list or nested list.scores: same shape as weights.gradients: same shape, representing dL/dW.lr_score: score learning rate.lr_weight for diagnostics of the associated SGD weight update.Updated scores and per-parameter diagnostics including score_delta, away_from_zero, and movement_label.
grad_s = grad_w * weight.score_new = score - lr_score * grad_s.Run python tests/test_movement_scores.py. Tests cover all sign combinations of weight and gradient and confirm scores increase exactly for away-from-zero movement.
This skill does not compute model gradients; callers must supply gradients from their training objective.