Skip to content
This repository was archived by the owner on Feb 1, 2026. It is now read-only.
This repository was archived by the owner on Feb 1, 2026. It is now read-only.

Guidance needed on plotting attention head activation frequency #37

@cherry979988

Description

@cherry979988

Thank you for creating and sharing this great tool!

I'm planning to use it for my research project. I wonder if there is any reference for computing and creating attention head activation frequency figures like the one below. Or any pointers on how to compute the importance subgraph over a batch of sentences with python code (without the web interface)?

Many thanks!

Screenshot 2024-10-24 at 5 44 20 PM

(Figure 7 in https://arxiv.org/abs/2403.00824)

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