yuccaaa commited on
Commit
6dd1ca2
·
verified ·
1 Parent(s): 3cd68e7

Upload ms-swift/examples/custom/infer.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. ms-swift/examples/custom/infer.sh +9 -0
ms-swift/examples/custom/infer.sh ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # sh examples/custom/infer.sh
2
+ CUDA_VISIBLE_DEVICES=0 \
3
+ swift infer \
4
+ --adapters output/vx-xxx/checkpoint-xxx \
5
+ --load_data_args true \
6
+ --infer_backend pt \
7
+ --max_batch_size 16 \
8
+ --max_new_tokens 256 \
9
+ --temperature 0