hparik11 / language-translation

English to French Translator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

English to French Translator


Languages

Language:HTML 82.5%Language:Jupyter Notebook 12.2%Language:Python 5.2%