From e1e4b763a0b95806bba727a9efac1d879f02bd34 Mon Sep 17 00:00:00 2001 From: Jacek Czaja Date: Wed, 3 Jun 2020 15:15:42 +0200 Subject: [PATCH] Fix to sentiment classification script (#4682) --- PaddleNLP/sentiment_classification/run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 PaddleNLP/sentiment_classification/run.sh diff --git a/PaddleNLP/sentiment_classification/run.sh b/PaddleNLP/sentiment_classification/run.sh old mode 100644 new mode 100755 index a74d82dc..21c12316 --- a/PaddleNLP/sentiment_classification/run.sh +++ b/PaddleNLP/sentiment_classification/run.sh @@ -21,7 +21,7 @@ train() { --do_train true \ --do_val false \ --do_infer false \ - --model_type ${MODEL_TYPE} \ + --model_type $MODEL_TYPE \ --batch_size 8 \ --data_dir ${DATA_PATH} \ --vocab_path ${DATA_PATH}/word_dict.txt \ @@ -41,7 +41,7 @@ evaluate() { --do_train false \ --do_val true \ --do_infer false \ - --model_type ${MODEL_TYPE} \ + --model_type $MODEL_TYPE \ --batch_size 10 \ --data_dir ${DATA_PATH} \ --vocab_path ${DATA_PATH}/word_dict.txt \ @@ -57,7 +57,7 @@ infer() { --do_train false \ --do_val false \ --do_infer true \ - --model_type ${MODEL_TYPE} \ + --model_type $MODEL_TYPE \ --batch_size 10 \ --data_dir ${DATA_PATH} \ --vocab_path ${DATA_PATH}/word_dict.txt \ -- GitLab