Benchmark-Dual / instruments_evaluate.sh
Junyin's picture
Add files using upload-large-folder tool
936459a verified
raw
history blame contribute delete
640 Bytes
DATASET=Instruments
BASE_MODEL=/datain/v-yinju/llama-7b
DATA_PATH=/datain/v-yinju/rqvae-zzx/data
CKPT_PATH=/datain/v-yinju/rq-llama/v11.2/Ins/finetune
RESULTS_FILE=$CKPT_PATH/eval_result.json
torchrun --nproc_per_node=8 evaluate-finetuned.py \
--base_model $BASE_MODEL \
--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 /datain/v-yinju/rq-llama/v11.2/Ins/indices.item.json \
--user_index_file /datain/v-yinju/rq-llama/v11.2/Ins/indices.user.json