![]() destdir data-bin/wmt14_en_fr -thresholdtgt 0 -thresholdsrc 0 \ trainpref $TEXT/train -validpref $TEXT/valid -testpref $TEXT/test \ # Download and prepare the data cd examples/translation/ The following instructions can be used to train a Transformer model on the IWSLT'14 German to English dataset. Grep ^T /tmp/gen.out | cut -f2- > /tmp/įairseq-score -sys /tmp/ -ref /tmp/ beam 5 -batch-size 128 -remove-bpe | tee /tmp/gen.out We require a few additional Python dependencies for preprocessing:įairseq-generate data-bin/2014 \ This README contains instructions for using pretrained translation modelsĪs well as training new models.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |