Open pratikchhapolika opened 2 years ago
How to visulaize attention weight in output?
You would be much better off using LIT for this task, as opposed to WIT. https://pair-code.github.io/lit/
LIT has built-in support for most NLP analysis tasks, including attention weight visualization (https://github.com/PAIR-code/lit/wiki/components.md#attention)
You would be much better off using LIT for this task, as opposed to WIT. https://pair-code.github.io/lit/
LIT has built-in support for most NLP analysis tasks, including attention weight visualization (https://github.com/PAIR-code/lit/wiki/components.md#attention)
Perfect. Let me try this. Thanks for Quick response. Appreciate it.
I am using Google Colab to run on simple experiment.
The idea is to visulaize attention weights and predictions on text data.
Here is the code