File size: 438 Bytes
dee113c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
LANG=java
DATADIR=../dataset
OUTPUTDIR=../model
PRETRAINDIR=../model/checkpoint-last
LOGFILE=text2code_concode_eval.log
CUDA_VISIBLE_DEVICES=0 python run.py \
--data_dir=$DATADIR \
--langs=$LANG \
--output_dir=$OUTPUTDIR \
--pretrain_dir=$PRETRAINDIR \
--log_file=$LOGFILE \
--model_type=gpt2 \
--block_size=512 \
--do_eval \
--logging_steps=100 \
--seed=42 |