Download examples/deploy/seq_cls/server.sh from BBBBCHAN/StreamDelta: direct link, hf CLI and curl.
- Browser
- Download file 277 Bytes
-
https://huggingface.co/datasets/BBBBCHAN/StreamDelta/resolve/main/examples/deploy/seq_cls/server.sh
- Command line
-
hf download hf://datasets/BBBBCHAN/StreamDelta/examples/deploy/seq_cls/server.sh
-
curl -L -o server.sh https://huggingface.co/datasets/BBBBCHAN/StreamDelta/resolve/main/examples/deploy/seq_cls/server.sh
277 Bytes
| # GME/GTE models or your checkpoints are also supported | |
| # pt/vllm/sglang supported | |
| CUDA_VISIBLE_DEVICES=0 swift deploy \ | |
| --host 0.0.0.0 \ | |
| --port 8000 \ | |
| --model /your/seq_cls/checkpoint-xxx \ | |
| --infer_backend vllm \ | |
| --task_type seq_cls \ | |
| --num_labels 2 \ | |