Add train.sh for paddle

This commit is contained in:
Matthew Honnibal 2016-11-20 21:44:33 +01:00
parent 001abe2b9d
commit 1ef541ddff
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
config=config.py
output=./model_output
paddle train --config=$config \
--save_dir=$output \
--job=train \
--use_gpu=false \
--trainer_count=4 \
--num_passes=10 \
--log_period=20 \
--dot_period=20 \
--show_parameter_stats_period=100 \
--test_all_data_in_one_period=1 \
--config_args=batch_size=100 \
2>&1 | tee 'train.log'_