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

Fix generating attention_mask of ernie-m #4494

Merged
merged 1 commit into from
Jan 16, 2023

Conversation

Yam0214
Copy link
Contributor

@Yam0214 Yam0214 commented Jan 16, 2023

PR types

Bug fixes

PR changes

Models

Description

ErnieMModel will detect pad_token_id and generate attention_mask correctly.

@paddle-bot
Copy link

paddle-bot bot commented Jan 16, 2023

Thanks for your contribution!

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