fairseq icon indicating copy to clipboard operation
fairseq copied to clipboard

About alignment loss in Levenshtein Transformer

Open okgrammer opened this issue 7 years ago • 3 comments

Hi, would it be possible to integrate alignment loss in Levenshtein Transformer? May I confirm that it could be done by adding this part: https://github.com/pytorch/fairseq/blob/master/fairseq/criterions/label_smoothed_cross_entropy_with_alignment.py#L48-L56 into the forward method in nat_loss.py?

okgrammer avatar Oct 29 '19 06:10 okgrammer

I think it is worth exploring that.

MultiPath avatar Nov 15 '19 19:11 MultiPath

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

stale[bot] avatar Apr 17 '22 21:04 stale[bot]

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!

stale[bot] avatar Apr 27 '22 23:04 stale[bot]