Open Palipoor opened 3 years ago
If your model's output spec includes type AttentionHeads and you return that information in predict_minibatch, and your UI layout includes the attention visualization (the default one does), then the Attentions module should be shown in the UI.
Are you able to share the code for your LIT server with your model/dataset?
Hi, I run a code like the example in
lit_nlp/examples/sst_pytorch_demo.py.py
for a costum model and dataset and It doesn't show the Attentions box in the explanations part. What should I do to see them? I return the attentions inpredict_minibatch
but not the grads.
please psot the code?
Hi, I run a code like the example in
lit_nlp/examples/sst_pytorch_demo.py.py
for a costum model and dataset and It doesn't show the Attentions box in the explanations part. What should I do to see them? I return the attentions inpredict_minibatch
but not the grads.