File size: 241 Bytes
cb2428f
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
# sh examples/custom/infer.sh
CUDA_VISIBLE_DEVICES=0 \
swift infer \
    --adapters output/vx-xxx/checkpoint-xxx \
    --load_data_args true \
    --infer_backend pt \
    --max_batch_size 16 \
    --max_new_tokens 256 \
    --temperature 0