计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
pplm_fusion_generation【效率与协作】Fuse PPLM perturbed and unperturbed token distributions using geometric mixing for fluent controlled decoding.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill after an attribute perturbation has produced controlled logits and the run needs to combine them with the unperturbed language-model distribution.
Base logits or probabilities, perturbed logits or probabilities, gm_scale in [0,1], and a deterministic selection mode.
A normalized fused distribution, selected token index, entropy, and endpoint diagnostics.
base^(1-gm_scale) * perturbed^gm_scale.Run python tests/test_fusion_generation.py or Distiller validation.
This skill validates the fusion rule and does not implement full top-k or nucleus sampling.