-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Hi, thanks for your work!
when I run the simple inference code, the shell shows that: "
Some weights of ChameleonForConditionalGeneration were not initialized from the model checkpoint ..., You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
and
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.Settingpad_token_id
toeos_token_id
:8710 for open-end generation.The attention mask is not set and cannot be inferred from input because pad token is same as eos token. As a consequence, you may observe unexpected behavior. Please pass your input'sattention_mask
to obtain reliable results.
Especially the second warning, I don't know how to pass these parameters, can you help me solve it? thanks!