File size: 640 Bytes
936459a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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