Upload ms-swift/examples/infer/cli_demo.sh with huggingface_hub
Browse files
ms-swift/examples/infer/cli_demo.sh
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
CUDA_VISIBLE_DEVICES=0 \
|
| 2 |
+
swift infer \
|
| 3 |
+
--model Qwen/Qwen2.5-1.5B-Instruct \
|
| 4 |
+
--infer_backend pt \
|
| 5 |
+
--stream true \
|
| 6 |
+
--max_new_tokens 2048
|