Skip to content

Comments

Set pad_token_id for hugging face model to suppress warning#82

Open
kishida wants to merge 1 commit intoStability-AI:jp-stablefrom
kishida:suppress_pad_token_id_warning
Open

Set pad_token_id for hugging face model to suppress warning#82
kishida wants to merge 1 commit intoStability-AI:jp-stablefrom
kishida:suppress_pad_token_id_warning

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