Added function to aggregate attention maps
All threads resolved!
All threads resolved!
Compare changes
+ 26
− 9
@@ -31,6 +31,27 @@ def split_text(text, level, word_separators, line_separators):
@@ -50,6 +71,7 @@ def plot_attention(
@@ -64,20 +86,15 @@ def plot_attention(