Skip to content

Initialize label_attention_matrix to None before text_embedder branch

7ccc661
Select commit
Loading
Failed to load commit list.
Merged

Fix UnboundLocalError in TextClassificationModel when return_label_attention_matrix=True with no text_embedder #66

Initialize label_attention_matrix to None before text_embedder branch
7ccc661
Select commit
Loading
Failed to load commit list.

There are no checks for this commit