File size: 927 Bytes
e9af125
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#Excluding RISC-V
python -u run_generation.py \
    --do_test \
    --do_cpuonly \
    --do_itr \
    --model_name_or_path Salesforce/codet5p-220m  \
    --load_model_path ../../../../Saved_Models/CodeT5+/New_Target_Generation \
    --test_filename ../../../../Dataset/Iterative_Expansion_Generation/test.jsonl \
    --output_dir ../../../../Saved_Models/CodeT5+/New_Target_Generation \
    --beam_size 4 \
    --eval_batch_size 16


# Including RISC-V
python -u run_generation.py \
    --do_test \
    --do_itr \
    --model_name_or_path /home/ljq/Code_llms/codet5p-220m  \
    --load_model_path ../../../../Saved_Models/CodeT5+/Iterative_Expansion_Generation \
    --test_filename ../../../../Dataset/Iterative_Expansion_Generation/test.jsonl \
    --output_dir ../../../../Saved_Models/CodeT5+/Iterative_Expansion_Generation \
    --beam_size 4 \
    --eval_batch_size 16 \
    2>&1 | tee output_gen_test_220_itr_w_riscv.txt