Skip to content

A collaborative project on Neural Machine Translation(NMT) by employing two renowned tools(FairSeq, OpenNMT)

Notifications You must be signed in to change notification settings

vassef/Neural-Machine-Translation-using-FairSeq-and-OpenNMT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neural-Machine-Translation-NMT-using-FairSeq-and-OpenNMT

Natural Language Processing course - CA5

Abstract

This is a collaborative project on Neural Machine Translation (NMT) by employing two renowned tools (FairSeq, OpenNMT).

Preprocessing

The first step was processing, which encompasses utilizing BPE for tokenization (we used the subword-nmt library); moreover, converting all the letters into lowercase.

FairSeq

Considering FairSeq, we had to specify some hyperparameters for the model, such as the loss function, optimizer, batch size, and so forth. Here is the sample output when training the model with the FairSeq tool:

fig1

OpenNMT

The same procedure was applied to OpenNMT, and the sample output is as follows:

fig2

About

A collaborative project on Neural Machine Translation(NMT) by employing two renowned tools(FairSeq, OpenNMT)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published