Coder Social home page Coder Social logo

french-english-machine-translation's Introduction

French to English Machine Translation

French-to-English machine translator using transformer architecture. Implemented several transformer models using encoder block(s), decoder block(s), and multi-head attention layer. Evaluated translation results using BLEU score.

Sample translation results

Original French is: je ne suis plus un d butant .

Corresponding English is: i m no longer a rookie .

Translation is: i m not a beginner anymore .


Original French is: tout le monde parle de lui en bien .

Corresponding English is: he is well spoken of by everybody .

Translation is: he is fluent in love with him .


Original French is: elle est inqui te pour sa s curit .

Corresponding English is: she is anxious about her safety .

Translation is: she s worried about her safety .


Original French is: il part pour tokyo demain .

Corresponding English is: he s leaving for tokyo tomorrow .

Translation is: he is leaving for tokyo tomorrow .


Original French is: vous tes tir e d affaire .

Corresponding English is: you re off the hook .

Translation is: you re off the hook .


Original French is: c est un g nie des math matiques .

Corresponding English is: he is a mathematical genius .

Translation is: he is a genius in mathematics .


Original French is: vous tes puis es .

Corresponding English is: you re exhausted .

Translation is: you re exhausted .


Original French is: je ne suis pas votre servante .

Corresponding English is: i m not your maid .

Translation is: i m not your maid .


BLEU evaluation

Best performing model achieved the following metrics:

Metric Score
BLEU-1 .7903
BLEU-2 .6739
BLEU-3 .5548
BLEU-4 .4707

french-english-machine-translation's People

Contributors

sho-shoo avatar

Watchers

 avatar

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.