/exploring_machine_translation

Exploring neural machine translation with pytorch. LSTM RNN and RNNsearch implementations.

Primary LanguageJupyter Notebook

Neural machine translation

In this project I have attempted to implement neural machine translation algorithm(s) together with bunch of other complementary stuff - data preprocessing, etc. The Machine translation.ipynb notebook puts together all the machinery and presents the work done. Before proceeding, see Prerequisities below.

History of this repo is quite big, so it is wise to clone only the last commit. In future, I am planning to delete this repo and create a fresh new one without this issue.

Prerequisities

Datasets
Environment

I highly recommend setting up a conda environment before installing packages.

  • navigate to root
  • pip install -r requirements.txt

Also, while in environment, do this: python -m spacy download en

Trained models
References
  • LSTM RNN model - arXiv:1409.3215v3 [cs.CL]
  • RNNsearch model - arXiv:1409.0473v7 [cs.CL]