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

How did you generate the heatmap plots for the attentions? #53

Open

Description

image

Activity

  1. senthurRam33 commented on Jun 1, 2021

    @senthurRam33

    In enc_dec.py in class EncDecModel and method begin_inference you have a variable enc_state that holds the heatmap data I think. Not so sure.

    If you plot that you will get something like this:
    sns

  2. manzambi11 commented on Aug 17, 2022

    @manzambi11

    senthurRam33 can you share you code please

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