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

Set pad_token_id for hugging face model to suppress warning #82

Open
wants to merge 1 commit into
base: jp-stable
Choose a base branch
from

Conversation

kishida
Copy link

@kishida kishida commented Aug 22, 2023

Set pad_token_id for hugging face model

@kishida kishida requested a review from jon-tow as a code owner August 22, 2023 08:40
@mkshing
Copy link

mkshing commented Sep 29, 2023

@kishida Hi sorry for the late reply. That looks good to me but I am wondering why you want to fix like this. Do you get some errors? IIRC, as default, it will be set to the pre-defined pad token id in the model config. So, if the model config is correct, it doesn't hurt.

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