/Neural-Machine-Translation

Neural machine translation using attention mechanism

Primary LanguageJupyter Notebook

Neural Machine Translation

Neural machine translation from English to Spanish using attention mechanism and deployed it using Flask.

   Clone this repository into your local system. Run app.py
   Open https://localhost:3000/ on your browser. 

Files

  • enc_dec.py : Contains the Encoder and Decoder defined class.
  • NMT_Traning.ipynb : Performs training of the model.
  • encoder.h5 : Trained encoder model.
  • decoder.h5 : Trained decoder model.
  • inp_lang.json : Tokenized input language (English Language).
  • targ_lang.json : Tokenized traget language (Spanish Language).