NVIDIA NeMo Megatron Bridge 实现 1/2 DPO:训练开销与 SFT 相当
1/2 DPO in NeMo™ Megatron Bridge, @NVIDIA’s training library for Megatron-based models, now trains like SFT: one model on the GPUs, same memory, same step time. DPO's reference model is frozen, so its logprobs over your dataset never change. Yet the usual setup keeps a second copy of the model and runs it at every step. Our implementation scores the reference once (offline scoring) and saves chosen/rejected logprob sums per pair to disk. Training reads them back instead. The best part: the file stores raw sums, with no beta applied. Beta and learning rate only enter at loss time, so one scoring run covers every hyperparameter sweep you do afterwards. >>
NVIDIA 的 NeMo Megatron Bridge 推出 1/2 DPO 实现,训练时只需在 GPU 上放一个模型,内存占用和单步时间都与 SFT 相同。
粉丝 1.1万
Shipping frontier models and agents since 2021. We help enterprises sustain their target agent accuracy within fixed cost & latency budgets.
- 浏览
- 1079
- 点赞
- 9
- 评论
- 5
- 分享
- 2
- 收藏
- 3
数字来自平台,为最近一次抓取时的数据。
来源:X · AI21 · x.com