CoolFace
Modelpublic

chrisjay/masakhane_benchmarks

sourceHugging Faceapache-2.0updated 5y agoView on Hugging Face
2likes
Model Card

Interacting with the Masakhane Benchmark Models

I created this demo for very easy interaction with the benchmark models on Masakhane which were trained with JoeyNMT(my forked version).

To access the space click here.

To include your language, all you need to do is:

  1. 1.Create a folder in the format src-tgt/main for your language pair, if it does not exist.
  2. 2.Inside the main folder put the following files:
  3. 3.model checkpoint. Rename it to best.ckpt.
  4. 4.config.yaml file. This is the JoeyNMT config file which loads the model an pre-processing parameters.
  5. 5.src_vocab.txt file.
  6. 6.trg_vocab.txt file.

The space currently supports these languages:

source languagetarget language
EnglishSwahili
EnglishAfrikaans
EnglishArabic
EnglishUrhobo
EnglishẸ̀dó
EfikEnglish
EnglishHausa
EnglishIgbo
EnglishFon
EnglishTwi
EnglishDendi
EnglishẸ̀sán
EnglishIsoko
EnglishKamba
EnglishLuo
EnglishSouthern Ndebele
EnglishTshivenda
ShonaEnglish
SwahiliEnglish
YorubaEnglish

TO DO:

  1. 1.Include more languages from the benchmark.