By Kevin Degila
Clone this repo and this one : https://github.com/joeynmt/joeynmt
In the joeynmt repo execute:
pip install .
Create a Conda virtual environment if you have Anaconda or Miniconda installed
conda create -n translator python=3.6
Activate the environment:
conda activate translator
In this repo, Install the required packages:
pip install -r requirements.txt
Download the model from this google drive folder and put it in the enfon_transformer folder: https://drive.google.com/open?id=1PbrojtNSeZf8QpYmgJXtbcgYijVUU7Ay
And Execute this command to start making predictions
python3 -m joeynmt translate "config.yaml"
Thanks to the Masakhane project for providing everything needed to start this project: data, code and guidance.
Thanks to JoeyNMT used for training and inference