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

损失函数 #42

Closed
xiayouhong opened this issue Sep 4, 2023 · 3 comments
Closed

损失函数 #42

xiayouhong opened this issue Sep 4, 2023 · 3 comments

Comments

@xiayouhong
Copy link

您好,损失函数中的 t 是啥意思呀

@GanjinZero
Copy link
Owner

第t个token

@xiayouhong
Copy link
Author

image
您好,在logit_label = self.gather_logits_labels(logits, inputs.get("labels"))这一步过程中inputs.get("labels“)会被修改,会影响下一步score的计算

@GanjinZero
Copy link
Owner

#37

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