OpenNMT-py
OpenNMT-py copied to clipboard
-withAttn
Hi guys,
Does OpenNMT-py also support attention tables? It's like the inside of the lua version - withattn parameter.
thanks
Hey, Would you mind elaborating a bit on what you mean? Maybe linked to this?
Hi @francoishernandez
It's like a set of numbers in the picture below. In the opennmt-lua version, it can get it with -withAttn
There is no flag available for that. Attention matrices are fairly accessible via the API though. Feel free to PR if you want.