Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.03 KB

File metadata and controls

42 lines (31 loc) · 1.03 KB

EN-Fon-Translator

By Kevin Degila

TakwimuLab

Usage

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" 

Credits

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