Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DPO的训练能否像SFT一样mask掉user,只计算assistant的loss #278

Open
charliedream1 opened this issue Jul 2, 2024 · 5 comments

Comments

@charliedream1
Copy link

请问:DPO的训练能否像SFT一样mask掉user,只计算assistant的loss

@yiyepiaoling0715
Copy link

请问:DPO的训练能否像SFT一样mask掉user,只计算assistant的loss

可以的

@charliedream1
Copy link
Author

charliedream1 commented Jul 22, 2024 via email

@yiyepiaoling0715
Copy link

咱们的代码目前支持吗?怎么用?

---原始邮件--- 发件人: @.> 发送时间: 2024年7月22日(周一) 晚上11:27 收件人: @.>; 抄送: "Optimus @.@.>; 主题: Re: [yangjianxin1/Firefly] DPO的训练能否像SFT一样mask掉user,只计算assistant的loss (Issue #278) 请问:DPO的训练能否像SFT一样mask掉user,只计算assistant的loss 可以的 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

我8月份准备实现这块, 大体思路是: target_mask user, 即可

@yiyepiaoling0715
Copy link

咱们的代码目前支持吗?怎么用?

---原始邮件--- 发件人: @.> 发送时间: 2024年7月22日(周一) 晚上11:27 收件人: @.>; 抄送: "Optimus @.@.>; 主题: Re: [yangjianxin1/Firefly] DPO的训练能否像SFT一样mask掉user,只计算assistant的loss (Issue #278) 请问:DPO的训练能否像SFT一样mask掉user,只计算assistant的loss 可以的 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

wechat:yiyepiaoling0715,可以交流细聊

@charliedream1
Copy link
Author

charliedream1 commented Jul 25, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants