Spaces:
Sleeping
Sleeping
Test write shape of tensor
Browse files
hexviz/pages/1_🗺️Identify_Interesting_Heads.py
CHANGED
@@ -70,6 +70,7 @@ st.markdown(
|
|
70 |
# TODO: Decide if you should get attention for the full sequence or just the truncated sequence
|
71 |
# Attention values will change depending on what we do.
|
72 |
attention = get_attention(sequence=truncated_sequence, model_type=selected_model.name)
|
|
|
73 |
|
74 |
fig = plot_tiled_heatmap(
|
75 |
attention, layer_sequence=layer_sequence, head_sequence=head_sequence
|
|
|
70 |
# TODO: Decide if you should get attention for the full sequence or just the truncated sequence
|
71 |
# Attention values will change depending on what we do.
|
72 |
attention = get_attention(sequence=truncated_sequence, model_type=selected_model.name)
|
73 |
+
st.write(attention.shape)
|
74 |
|
75 |
fig = plot_tiled_heatmap(
|
76 |
attention, layer_sequence=layer_sequence, head_sequence=head_sequence
|