Open HqWei opened 5 years ago
Do you mind to provide the code or details about how to implement the visualization of the attention map?
Try this example notebook. I can also provide more examples if necessary. https://github.com/tensorflow/tensor2tensor/blob/master/tensor2tensor/visualization/TransformerVisualization.ipynb
Do you mind to provide the code or details about how to implement the visualization of the attention map?