Closed jm-glowienke closed 3 years ago
Alignments are given as tuple, which causes the following piece of code to break in fairseq/utils.py:
src_token = src_tokens[alignment[i]]
Cannot use tuple to look up element of list.
TODO:
inputs
Alignments are given as tuple, which causes the following piece of code to break in fairseq/utils.py:
Cannot use tuple to look up element of list.
TODO:
inputs
to split word and sentence pieces to be used for replacement