- Python 3+
- Jupyter Notebook
- Tensorflow 1.2+
Go to https://github.com/tensorflow/nmt for the extensive code and Tutorial. The data is from Stanford. I have used English-Vietnamese Translation dataset for this demo.
-
To download the data run this script:
./dataset.sh (To the desired path) -
Parameters setting:
First set the paths to Train,Development files in Params. Don't set anything for the test in Params yet! -
Go to the mt notebook to understand and run the code.
-
Train the model
-
Test it by setting paths to test file or make a file to test!