Skip to content

How to distribute position information across the heads in Qwen2-7B? #1

@TaegooKang

Description

@TaegooKang

Thanks for your great work!
I have a question about how position information is distributed to the attention heads in Qwen2-7B.
Qwen2-7B uses group query attention, and the number of key-value heads is set to 4.
However, we have 5 types of position information in P (1 for reading order and 4 for bounding box position).
In this case, how did you handle the distribution of position information across the heads?

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