Created
May 31, 2018 19:10
-
-
Save vardaan123/73afb13347ba70c175c24243fdc918b6 to your computer and use it in GitHub Desktop.
OpenNMT translate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl tools/tokenizer.perl -a -no-escape -l en -q < sample_sentences.txt > sample_sentences.atok | |
python translate.py -gpu 0 -model available_models/averaged-10-epoch.pt -src sample_sentences.atok -verbose -output sample_sentences.de.atok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!