Upload ms-swift/examples/app/llm.sh with huggingface_hub
Browse files
ms-swift/examples/app/llm.sh
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
CUDA_VISIBLE_DEVICES=0 swift app \
|
| 2 |
+
--model Qwen/Qwen2.5-7B-Instruct \
|
| 3 |
+
--stream true \
|
| 4 |
+
--infer_backend vllm \
|
| 5 |
+
--max_new_tokens 2048 \
|
| 6 |
+
--gpu_memory_utilization 0.9 \
|
| 7 |
+
--max_model_len 8192 \
|
| 8 |
+
--lang zh
|