Benchmark-Dual / run_test_ddp.sh
Junyin's picture
Add files using upload-large-folder tool
936459a verified
raw
history blame contribute delete
505 Bytes
DATASET=Instruments
DATA_PATH=${datain}/v-yinju/rqvae-zzx/data
CKPT_PATH=${datain}/v-yinju/rq-llama/v3-train/$DATASET/second/finetune
RESULTS_FILE=$CKPT_PATH/eval_result.json
torchrun --nproc_per_node=2 --master_port=4324 evaluate-finetuned.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 \
--test_task seqrec \
--index_file $CKPT_PATH/indices.json