计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
gedi_posterior【效率与协作】Compute GeDi generative-discriminator class posteriors from control and anti-control log probabilities using stable Bayes-rule normalization.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when implementing or checking GeDi-style controlled generation or training and you have class-conditional sequence log probabilities for desired and undesired control codes. Do not use it for ordinary discriminative classifiers that do not compare generative likelihoods.
alpha normalization scale.alpha / length.Run:
python tests/test_posterior.py
This skill computes the GeDi posterior only. It does not run a language model, tokenize text, or select next tokens.