pluiez / NLLB-inference

56 stars 6 forks source link

Modification to fairseq (nllb branch) required to run this code #1

Open 314esther opened 2 years ago

314esther commented 2 years ago

Navigate to https://github.com/facebookresearch/fairseq/tree/nllb and clone the repo. Before running the install instructions, add the following to the setup.py script:

After line 270, add the following: "spm_encode = scripts.spm_encode:main",

pluiez commented 2 years ago

Hi, I have updated the prerequisites before running the script, including sentencepiece command line tools.