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

add unified transformer more output & loss #3459

Merged
merged 16 commits into from
Nov 11, 2022

Conversation

Yam0214
Copy link
Contributor

@Yam0214 Yam0214 commented Oct 13, 2022

PR types

New features

PR changes

Models

Description

add more output & loss to unified transformer model

@Yam0214 Yam0214 changed the title add more output and loss to unified transformer and add more test cases add unified transformer more output & loss Oct 13, 2022
@Yam0214 Yam0214 marked this pull request as draft October 21, 2022 09:53
@Yam0214 Yam0214 marked this pull request as ready for review November 3, 2022 06:27
@@ -432,13 +444,16 @@ def forward(self,
if use_cache:
if cache is None:
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 34956ca into PaddlePaddle:develop Nov 11, 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