GithubHelp home page GithubHelp logo

vassef / neural-machine-translation-using-fairseq-and-opennmt Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 2.01 MB

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

Jupyter Notebook 100.00%
fairseq nmt opennmt

neural-machine-translation-using-fairseq-and-opennmt's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.