Setting `pad_token_id` to `eos_token_id`:151643 for open-end generation.

#2
by Helienda - opened

使用的时候,为什么会有下面的提示,具体原因和影响是什么,官方似乎也没有给出相关的特别说明。
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:151643 for open-end generation.

As stated in the modelcard
image.png

Use the instruct model instead and follow the instructions there.

jklj077 changed discussion status to closed

Sign up or log in to comment