RRFRRF
init commit without .pth
dee113c
raw
history blame contribute delete
536 Bytes
CUDA_VISIBLE_DEVICES=0,1 python run.py \
--model_type roberta \
--do_train \
--do_eval \
--eval_all_checkpoints \
--train_file train_codesearchnet_7.json \
--dev_file dev_codesearchnet.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 1000 \
--evaluate_during_training \
--data_dir ../data/CodeSearchNet/ \
--output_dir ../model/model_codesearchnet \
--encoder_name_or_path microsoft/codebert-base