- Note: this project will no longer be updated. Check out the latest version of my
Machine Translationproject here. Thank you.
Implementation and deployment of the machine translation application as a web application
- RNN-based with Transformer-like architecture:
Clone this repository: ``
Edit model configuration in config.json
Edit argument in train.sh
Training
$ sh .\train.sh (Windows)
$ train.sh (Linux)
Or download model's weights at drive
I deployed the application in a very simple way on my local machine using the http library
Basical usage: Run the following command with terminal:
$ sh .\start-app.sh (Windows)
$ start-app.sh (Linux)
Recommended TensorFlow version: 2.13.x
I used PhoMT from VinAIResearch for this project. For more information about PhoMT, Please click on the link I placed in the previous line.
Base config:
- num_layers = 2
- hidden_units = 256
- embedding_size = 256
- dropout_rate = 0.1,
- max_length = 128,
- vocab_size = 16000 (bpe.16k)
$$$$
Train on the PhoMT dataset with the following parameters:
- Epochs = 25
- Steps per epoch = 20000
- Batch size = 32
- Learning rate reduction proportion = 0.96
Visit each model's folder to see the training and inference results.

