mally的技术笔记mally的技术笔记
AIGC相关
关于作者
AIGC相关
关于作者
  • AIGC相关
  • 长文

    • 长文
    • MoE 梳理
    • Tokenization 分词
    • VERL 框架看 GRPO 过程
  • 细碎大模型知识

    • 细碎大模型知识
    • clip-higher 为什么有效
    • F1 分数是什么
    • 温度 temperature 是什么
    • 分词和嵌入的关系
    • SwiGLU 激活函数
    • 拒绝采样微调是什么
    • 策略熵和交叉熵
    • GRPO 流程
    • DPO 公式推导
  • 论文阅读

    • 论文阅读
    • Demons in the Detail: On Implementing Load Balancing Loss for Training Specialized Mixture-of-Expert
    • Scaling Relationship on Learning Mathematical Reasoning with Large Language Models
    • switch transfomer 论文
    • RAGEN: Understanding Self-Evolution in LLM Agents via Multi-Turn Reinforcement Learning
    • Mixture of Experts Explained
    • Demons in the Detail: On Implementing Load Balancing Loss for Training Specialized Mixture-of-Expert

      • Demons in the Detail: On Implementing Load Balancing Loss for Training Specialized Mixture-of-Expert
      • 背景知识

拒绝采样微调是什么

数据集为问题,回答,大小为 n。

拒绝采样微调 可以理解为是两轮 sft 微调

  1. 先用第一阶段 sft 训练好的模型(也可以是其他的),对数据集中的每个问题生成 k 个候选回答。
  2. 通过某种筛选算法,从 k 个候选回答筛选出想要的(假设平均每个问题筛选出 a 个)。
  3. 把这些筛选后的结果,作为新的数据集(假设为 k*a 个),再次对模型做 sft 训练。
Prev
SwiGLU 激活函数
Next
策略熵和交叉熵