| pretrained_model=microsoft/codebert-base | |
| output_dir=../model | |
| data_size=small | |
| CUDA_VISIBLE_DEVICES=1 python run.py \ | |
| --do_test \ | |
| --model_type roberta \ | |
| --model_name_or_path $pretrained_model \ | |
| --config_name roberta-base \ | |
| --tokenizer_name roberta-base \ | |
| --load_model_path $output_dir/epoch_34/subject_model.pth \ | |
| --dev_filename ../data/$data_size/valid.buggy-fixed.buggy,../data/$data_size/valid.buggy-fixed.fixed \ | |
| --output_dir $output_dir \ | |
| --max_source_length 256 \ | |
| --max_target_length 256 \ | |
| --beam_size 5 \ | |
| --eval_batch_size 16 |