File size: 563 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 \ --output_dir=../model \ --model_type=roberta \ --tokenizer_name=microsoft/codebert-base \ --model_name_or_path=microsoft/codebert-base \ --do_eval \ --do_test \ --train_data_file=../dataset/train.jsonl \ --eval_data_file=../dataset/valid.jsonl \ --test_data_file=../dataset/valid.jsonl \ --epoch 5 \ --block_size 400 \ --train_batch_size 32 \ --eval_batch_size 64 \ --learning_rate 2e-5 \ --max_grad_norm 1.0 \ --evaluate_during_training \ --seed 123456 |