Skip to content

hackprot2/language-translation

 
 

Repository files navigation

English to French Translator

Neural machine translator for English2French translation.

Overview

This project is about translation from English to French language. That is accomplished by using TensorFlow library, more specifically it utilizes embedding with attention sequence-to-sequence RNN model. The dataset is text files of ~140,000 fairly simple sentences in English and in French.

This is made possible by the simple but powerful idea of the sequence to sequence network, in which two recurrent neural networks work together to transform one sequence to another. An encoder network condenses an input sequence into a vector, and a decoder network unfolds that vector into a new sequence.

Files

Jupyter Notebook

Hyperparameters

Hyperparameter Number
Epochs 5
Batch size 128
RNN size 128
LSTM layers 2
Encoding embedding size 128
Decoding embedding size 128
Learning rate 0.01
Keep probability 0.8

Dataset

WMT10 French-English corpus

Releases

No releases published

Packages

No packages published

Languages

  • HTML 70.3%
  • Jupyter Notebook 20.9%
  • Python 8.8%