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

Fixed the warning message "Setting pad_token_id to eos_token_id:1… #110

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dineshkumarsarangapani
Copy link

@dineshkumarsarangapani dineshkumarsarangapani commented Aug 23, 2023

When running the falcon model, after the user prompt, the model response is prefixed with this warning.

The attention mask and the 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`:11 for open-end generation. Fix for this issue

So Provided a fix.

…1 for open-end generation."

When running the falcon model, after the user prompt, I got Assistant: The attention mask and the 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`:11 for open-end generation.
Fix for this issue
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.

None yet

1 participant