Skip to content

Attention Mask not set #1

@dlin95123

Description

@dlin95123

The cell with "from unsloth.chat_templates import get_chat_template" on its first line has the following warning/error message: 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.

I ran the notebook on my colab and received the above message. It would be great if you could fix it. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions