Word Alignment for MarianNMT Modells

Dear community!
Is it possible to get the word alignments from a MarianNMT translation? I am translating English to German and would like to know which word(s) have been translated into which word(s). The github documentation of Marian mentions the --alignment option, but I cannot see this option in huggingface.

2 Likes