Open michelleqyhqyh opened 2 years ago
First of all, I haven't tried a multi-lingual model and you might already find the answer. In case you haven't, check out the followings:
fairseq/fairseq/data/
. fairseq-train,preprocess
is _fairseq/fairseqcli/train.py and preprocess.py.
By using an advanced editor(like vscode), you will grasp how a task, a model and a dataset, a dictionray works with each other.
❓ Questions and Help
What is your question?
I hope to train a multi-lingual model with faieseq. Does the parameter "--task" of the command api "fairseq-train" should be "cross_lingual_lm"? Can anyone give me a detailed codes for this command, please? And how can I prepare my various langauges data for fairseq?
What have you tried?
What's your environment?
pip
, source): pip