SpatialLM icon indicating copy to clipboard operation
SpatialLM copied to clipboard

attention mask problem

Open 3i-cao opened this issue 1 year ago • 1 comments

Hello, I faced this warning in inference: 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:None 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.

Does it affect to the results? any hint to fix it, thanks

3i-cao avatar Jul 11 '25 07:07 3i-cao

Hi, it should not affect the reslut. A related Qwen issue for fixing.

SamMaoYS avatar Jul 12 '25 06:07 SamMaoYS