Mawazoni / En-Fon-Translator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Python 78.2%Language:HTML 21.8%