Skip to content

This project uses a sequence to sequence model of the recurrent neural network to translate any piece of English text to French. I have used recurrent nets because while training on huge data, recurrent nets actually predict the outcome a lot better than any normal machine learning models. In this specific model, the data first passes through an…

Notifications You must be signed in to change notification settings

Satyaki0924/language-translation-english-to-french

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Language Translator (English - French)

This project uses sequence to sequence model of recurrent neural network to translate any piece of English text to French. I have used recurrent nets because while training on huge data, recurrent nets actually predict the outcome a lot better than any normal machine learning models. In this specific model, the data first passes through an encoder, comes out as an understanding and passes to a decoder. The decoder generates the output.

*** This project will throw errors if trained on CPU instead of GPU ***

Terminal screen_error

This project is configured for Linux and uses python3

To run this project, open up your bash terminal and write

chmod -R 777 setup.sh

This will set up the project enviornment for you. This must be run with administrator rights.

./setup.sh

* Virtual enviornment will be setup and activated for you

** (If not activated, use the following command) **
source venv/bin/activate

Install the required packages using the following command.

pip install -r requirements.txt

Train the project

python run_me.py

Terminal screen_1

** Choose 1 to train **

Terminal screen_2

Terminal screen_3

Test the project

Run the python file, following the instructions

python run_me.py

The outcome should look something like this:

Terminal screen_4

Plotting the graphs

** If the training goes well, the graphs should look something like this **

Plot

Author: Satyaki Sanyal

*** This project is strictly for educational purposes only. ***

About

This project uses a sequence to sequence model of the recurrent neural network to translate any piece of English text to French. I have used recurrent nets because while training on huge data, recurrent nets actually predict the outcome a lot better than any normal machine learning models. In this specific model, the data first passes through an…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published