Opennmt-py: How to visualize the word embedding and word alignment?

Created on 9 Dec 2017  路  2Comments  路  Source: OpenNMT/OpenNMT-py

How to visualize the word embedding and word alignment? Are there any automatic methods?

feature

Most helpful comment

Yeah, we have a script extract_embeddings.py in tools that let's you pull out the embeddings. There should be code in the forum to convert that to tensorboard format.

We don't have an alignment visualizer yet, but you can modify translation to print out the alignments.

I'll make it a request to document these two.

All 2 comments

Yeah, we have a script extract_embeddings.py in tools that let's you pull out the embeddings. There should be code in the forum to convert that to tensorboard format.

We don't have an alignment visualizer yet, but you can modify translation to print out the alignments.

I'll make it a request to document these two.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

caozhen-alex picture caozhen-alex  路  5Comments

AyaNsar picture AyaNsar  路  4Comments

azureskyL picture azureskyL  路  3Comments

andreaferretti picture andreaferretti  路  5Comments

nikhilweee picture nikhilweee  路  3Comments