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

tr_loss1, logging_loss1 = 0.0, 0.0 #26

Open
luohua-yu opened this issue Mar 2, 2023 · 1 comment
Open

tr_loss1, logging_loss1 = 0.0, 0.0 #26

luohua-yu opened this issue Mar 2, 2023 · 1 comment

Comments

@luohua-yu
Copy link

您好,在复现代码的时候,有个细节请教您以下:tr_loss1记录的是什么?在源码中
if args.strategy:
tr_loss1 += outputs[1].mean().item()
计算得到tr_loss1,之后使用它计算ppl,这里的又是什么含义呢?(不是困惑度啊)

@chujiezheng
Copy link
Member

@lsy641

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