File size: 415 Bytes
8a506a6
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
DATASET=Instruments
DATA_PATH=$datain/v-yinju/rqvae-zzx/data
CKPT_PATH=$datain/v-yinju/rq-llama
RESULTS_FILE=$CKPT_PATH/result.json

torchrun --nproc_per_node=8 --master_port=4324 test_ddp.py \
    --ckpt_path $CKPT_PATH \
    --dataset $DATASET \
    --data_path $DATA_PATH \
    --results_file $RESULTS_FILE \
    --test_batch_size 1 \
    --num_beams 20 \
    --test_prompt_ids all \
    --index_file .index.json