The main branch seems to be out of date, referencing non-existent code
Closed this issue · 1 comments
munael commented
See:
from src.utils import AttrDict
from src.data.dictionary import Dictionary, BOS_WORD, EOS_WORD, PAD_WORD, UNK_WORD, MASK_WORD
from src.model.transformer import TransformerModel
munael commented
They're referenced from the XLM clone, which needs to be in the directory of invocation.
sys.path.insert(0, 'XLM/')