Skip to content

Create and train a neural network for sequence to sequence language translation (seq2seq) for sentences and phrases from English to Hindi.

Notifications You must be signed in to change notification settings

gauravchopracg/Neural-Machine-Translation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Neural-Machine-Translation

The aim of this repository is to illustrate how to create and train a neural network for sequence to sequence language translation (seq2seq) for sentences and phrases from English to Hindi.

The process of building our neural machine translation end-2-end pipeline will be as follows:

  • Pre-process our data (Data Preprocessing)
    • Convert to lowercase
    • Remove all the special characters
    • Remove all the numbers from text
  • Tokenization
    • Sentence tokenization
    • Remove extra spaces (leading and trailing)
    • START and END tokens to sentence
  • Model Architecture
    • Choose an sequence model
    • Architecture and layers explanation
    • Attention and explanation
  • Model training and Hyperparameters Optimization
    • Epochs, Batch Size, Layers
    • Sample sentence prediction

Dependencies

Install missing dependencies using pip

Usage

Once you have your dependencies installed via pip, run the demo script in terminal via

jupyter notebook

or simply try colab version

About

Create and train a neural network for sequence to sequence language translation (seq2seq) for sentences and phrases from English to Hindi.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published