Skip to content

Question about LongNet attention map overlap #108

Description

@RmZeta2718

The attention maps of different Dilated Rates overlap with each other. In the figure, the same token is calculated only once, but in the code, the overlapped token is taken into account multiple times (because the output is a weighted sum of all Dilated Rates).

image

Would you have any comments on this? Is this expected behavior? Li Dong (@donglixp) Shuming Ma (@shumingma)

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions