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

The attention mask and pad token id were not set. #221

Open
Evanwu1125 opened this issue Apr 19, 2024 · 0 comments
Open

The attention mask and pad token id were not set. #221

Evanwu1125 opened this issue Apr 19, 2024 · 0 comments

Comments

@Evanwu1125
Copy link

I successfully ran the Quick Start Code,but the programme kept showing up notes like
'The attention mask and pad token id were not set. As a consequence, you may observe unexpected behavior. Please pass your input's attention mask to obtain reliable results. Setting 'pad_token_id' to 'eos_token_id':2 for open-end generation'

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

1 participant