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

Unimo output loss #3450

Merged
merged 13 commits into from
Nov 3, 2022
Merged

Unimo output loss #3450

merged 13 commits into from
Nov 3, 2022

Conversation

Yam0214
Copy link
Contributor

@Yam0214 Yam0214 commented Oct 12, 2022

PR types

New features

PR changes

Models

Description

add more output and loss for unimo model

@@ -428,12 +442,16 @@ def forward(self,
if use_cache:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里也优化下吧,两个 if 整合一起

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好的,已修改。

@FrostML FrostML merged commit 6471ce3 into PaddlePaddle:develop Nov 3, 2022
Yam0214 added a commit to Yam0214/PaddleNLP that referenced this pull request Nov 4, 2022
FrostML pushed a commit that referenced this pull request Nov 4, 2022
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

Successfully merging this pull request may close these issues.

2 participants