yuccaaa commited on
Commit
66c747f
·
verified ·
1 Parent(s): 47dda14

Upload ms-swift/examples/notebook/qwen2_5-self-cognition/infer.sh with huggingface_hub

Browse files
ms-swift/examples/notebook/qwen2_5-self-cognition/infer.sh ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # Here is the command-line style inference code.
2
+ CUDA_VISIBLE_DEVICES=0 \
3
+ swift infer \
4
+ --adapters output/vx-xxx/checkpoint-xxx \
5
+ --stream true \
6
+ --temperature 0 \
7
+ --max_new_tokens 2048