File size: 538 Bytes
dee113c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
CUDA_VISIBLE_DEVICES=0,1 python run.py \ --model_type roberta \ --do_train \ --do_eval \ --eval_all_checkpoints \ --train_file cosqa-train.json \ --dev_file cosqa-dev.json \ --max_seq_length 200 \ --per_gpu_train_batch_size 16 \ --per_gpu_eval_batch_size 16 \ --learning_rate 1e-5 \ --num_train_epochs 3 \ --gradient_accumulation_steps 1 \ --warmup_steps 5000 \ --evaluate_during_training \ --data_dir ../data/CoSQA/ \ --output_dir ../model/model_cosqa_continue_training \ --encoder_name_or_path ./model_codesearchnet/checkpoint-best-aver |