File size: 1,142 Bytes
20a72dc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0fa32cc
20a72dc
0fa32cc
20a72dc
 
 
 
afa4e55
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
language: african-languages
tags:
- african-languages
- machine-translation
- text
license: apache-2.0
model-index:
- name: Maakhane Benchmark ModelsFon XLSR Wav2Vec2 Large 53
  results:
  - task: 
      name: Machine Translation
      type: machine-translation
    dataset:
      name: masakhane benchmarks
      args: african-languages
   
---
# Masakhane Benchmark Models

I created this demo for very easy interaction with the [benchmark models on Masakhane](https://github.com/masakhane-io/masakhane-mt/tree/master/benchmarks) which were trained with [JoeyNMT](https://github.com/chrisemezue/joeynmt)(my forked version).

To access the space click [here](https://huggingface.co/spaces/chrisjay/masakhane-benchmarks).

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