Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dependencies in Docker files and setup.py
Committer: Rico Sennrich <rico.sennrich@gmx.ch>
- Loading branch information
Rico Sennrich
committed
Dec 17, 2017
1 parent
f45efc7
commit 7c8851d
Showing
4 changed files
with
13 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
Testing Nematus | ||
--------------- | ||
|
||
To test translation, execute | ||
To test translation (on GPU 0), execute | ||
|
||
THEANO_FLAGS=mode=FAST_RUN,floatX=float32,device=cpu python test_translate.py | ||
CUDA_VISIBLE_DEVICES=0 python test_translate.py | ||
|
||
To test scoring, execute | ||
To test scoring (on GPU 0), execute | ||
|
||
THEANO_FLAGS=mode=FAST_RUN,floatX=float32,device=cpu python test_score.py | ||
CUDA_VISIBLE_DEVICES=0 python test_score.py | ||
|
||
more sample models (including scripts for pre- and postprocessing) | ||
are provided at: http://statmt.org/rsennrich/wmt16_systems/ | ||
|
||
to test training, execute | ||
to test training (on GPU 0), execute | ||
|
||
THEANO_FLAGS=mode=FAST_RUN,floatX=float32,device=cpu ./test_train.sh | ||
CUDA_VISIBLE_DEVICES=0 ./test_train.sh | ||
|
||
note that the training script is just a toy setup to make sure the scripts run, | ||
and to allow for speed comparisons. For instructions to train a | ||
real-scale system, check the instructions at https://github.com/rsennrich/wmt16-scripts | ||
real-scale system, check the instructions at https://github.com/rsennrich/wmt16-scripts |