diff --git a/examples/infer/pt/all_to_all.sh b/examples/train/all_to_all/infer.sh similarity index 100% rename from examples/infer/pt/all_to_all.sh rename to examples/train/all_to_all/infer.sh diff --git a/examples/train/seq_cls/bert/deploy.sh b/examples/train/seq_cls/bert/deploy.sh index 59e7ddfea..13825d349 100644 --- a/examples/train/seq_cls/bert/deploy.sh +++ b/examples/train/seq_cls/bert/deploy.sh @@ -1,10 +1,9 @@ CUDA_VISIBLE_DEVICES=0 \ swift deploy \ --model output/vx-xxx/checkpoint-xxx \ - --served_model_name bert-base-chinese bert-base-chinese + --served_model_name bert-base-chinese # curl http://localhost:8000/v1/chat/completions -H "Content-Type: application/json" -d '{ # "model": "bert-base-chinese", -# "messages": [{"role": "user", "content": "Task: Sentiment Classification\nSentence: 包装差,容易被调包。\nCategory: negative, positive\nOutput:"}], -# "temperature": 0 +# "messages": [{"role": "user", "content": "Task: Sentiment Classification\nSentence: 包装差,容易被调包。\nCategory: negative, positive\nOutput:"}] # }' diff --git a/examples/train/seq_cls/qwen2_5/deploy.sh b/examples/train/seq_cls/qwen2_5/deploy.sh index 6eca02e65..5476dae49 100644 --- a/examples/train/seq_cls/qwen2_5/deploy.sh +++ b/examples/train/seq_cls/qwen2_5/deploy.sh @@ -4,6 +4,5 @@ swift deploy \ # curl http://localhost:8000/v1/chat/completions -H "Content-Type: application/json" -d '{ # "model": "Qwen2.5-7B", -# "messages": [{"role": "user", "content": "Task: Sentiment Classification\nSentence: 包装差,容易被调包。\nCategory: negative, positive\nOutput:"}], -# "temperature": 0 +# "messages": [{"role": "user", "content": "Task: Sentiment Classification\nSentence: 包装差,容易被调包。\nCategory: negative, positive\nOutput:"}] # }'