forked from dmlc/gluon-nlp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zhiheng
committed
May 1, 2018
1 parent
d463407
commit f02c74c
Showing
6 changed files
with
985 additions
and
205 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
python gnmt.py --train_dataset train_si284 \ | ||
--val_dataset test_dev93 \ | ||
--left_context 1 \ | ||
--right_context 1 \ | ||
--sub_sample 2 \ | ||
--batch_size 32 \ | ||
--src_max_len 1600 \ | ||
--tgt_max_len 150 \ | ||
--num_layers 2 \ | ||
--optimizer adam \ | ||
--lr 0.001 \ | ||
--lr_update_factor 0.5 \ | ||
--beam_size 10 \ | ||
--num_hidden 1024 \ | ||
--save_dir model_3 \ | ||
--epochs 40 \ | ||
--gpu 0 |
Oops, something went wrong.