Ask-Anything icon indicating copy to clipboard operation
Ask-Anything copied to clipboard

Attention mask and pad token id warning in videochat2_mistral

Open YajieW99 opened this issue 1 year ago • 1 comments

Some warning appears when the model outputs the answer. How can I deal with it? The attention mask and the pad token id were not set yet. 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.

YajieW99 avatar May 30 '24 08:05 YajieW99

You can just ignore the warnning. Since it runs normally for me though I also meet the warnnings.

Andy1621 avatar May 31 '24 01:05 Andy1621

Hi, we will close this issue.

Feel free to contact us if you have other questions.

yinanhe avatar Oct 11 '24 07:10 yinanhe