You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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`:128001 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's `attention_mask` to obtain reliable results.
微调完毕,按照教程重启模型后,在model.generate部产生警报
但代码仍然可以跑,最终的response为空。
如果添加参数
pad_token_id = tokenizer.eos_token_id
,警报消失,代码仍然可以跑,但response仍然为空,请问这是怎么回事,谢谢!The text was updated successfully, but these errors were encountered: