Skip to content

attention module masked_fill value error #163

Description

@HuipengXu

In the attention.py file of modules, line 53 is the process of calculating the attention weight in the following picture. The value of mask filling should be -1e7, right?
Snipaste_2021-07-30_16-01-44

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions