mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Add train.sh for paddle
This commit is contained in:
parent
001abe2b9d
commit
1ef541ddff
14
examples/paddle/sentiment_bilstm/train.sh
Executable file
14
examples/paddle/sentiment_bilstm/train.sh
Executable 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'_
|
Loading…
Reference in New Issue
Block a user