rat-sql icon indicating copy to clipboard operation
rat-sql copied to clipboard

How did you generate the heatmap plots for the attentions?

Open JoaoLages opened this issue 3 years ago • 2 comments

image

JoaoLages avatar May 21 '21 17:05 JoaoLages

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

senthurRam33 avatar Jun 01 '21 14:06 senthurRam33

@senthurRam33 can you share you code please

manzambi11 avatar Aug 17 '22 08:08 manzambi11