You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Downloaded the models by running scripts/download-and-setup-models.sh
No errors/warnings uptill now
Opened up a Jupyter notebook and ran the following:
fromilmulti.translatorimportfrom_pretrainedtranslator=from_pretrained(tag='mm-all')
sample=translator("The quick brown fox jumps over the lazy dog", tgt_lang='hi')
Exception: PleasedefineILMULTI_CORPUS_ROOTinenvironmentvariable
The text was updated successfully, but these errors were encountered:
jerinphilip
changed the title
Exception: Please define ILMULTI_CORPUS_ROOT in environment variable export ILMULTI_CORPUS_ROOT =’’
Exception: Please define ILMULTI_CORPUS_ROOT in environment variable
Aug 11, 2020
ILMULTI_CORPUS_ROOT is only used for training. I have set this to a hard-failure to ensure scripts fail early than at a later stage. For inference purposes, this can be removed by simply setting ILMULTI_CORPUS_ROOT to anything, as in the following example.
System:
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
Python 3.7.6
Created a folder Research/MT on Home. Setup and activated Virtual environment in Research/MT
Cloned ilmulti in Research/MT
Ran the following:
Downloaded the models by running scripts/download-and-setup-models.sh
No errors/warnings uptill now
Opened up a Jupyter notebook and ran the following:
The text was updated successfully, but these errors were encountered: