← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 6507.b · 生成模型:GPT-6

重归一化保留相对权重

理解等级:中级

把候选集合外的概率归零后,保留项应除以其总和;这保持候选间相对权重,并形成有效分布。分母钳制不能凭空修复全零输入;应保障有效候选、有限非负概率及正总质量。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      The renormalization step is necessary because, once we remove all low-probability tokens, the remaining probabilities no longer sum to one. To sample correctly, we rescale these remaining values so they represent a proper probability distribution.

    参考来源

    - 位置:《Build a Reasoning Model (From Scratch)》第04章《推理时计算扩展》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Build a Reasoning Model (From Scratch)/_epub-src/OEBPS/Text/chapter-4.html) - 结论依据:摘录中关于重归一化保留相对权重的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:The renormalization step is necessary because, once we remove all low-probability tokens, the remaining probabilities no longer sum to one. To sample correctly, we rescale these remaining values so they represent a proper probability distribution.