15 lines
371 B
Bash
Executable File
15 lines
371 B
Bash
Executable File
# Add parent directory to python path to access lightning_base.py
|
|
export PYTHONPATH="../":"${PYTHONPATH}"
|
|
|
|
python finetune.py \
|
|
--data_dir=$CNN_DIR \
|
|
--learning_rate=3e-5 \
|
|
--train_batch_size=$BS \
|
|
--eval_batch_size=$BS \
|
|
--output_dir=$OUTPUT_DIR \
|
|
--max_source_length=512 \
|
|
--max_target_length=56 \
|
|
--val_check_interval=0.1 --n_val=200 \
|
|
--do_train --do_predict \
|
|
"$@"
|