Download train_stop.sh from bingqin111/data_process_bq: direct link, hf CLI and curl.
- Browser
- Download file 436 Bytes
-
https://huggingface.co/datasets/bingqin111/data_process_bq/resolve/main/train_stop.sh
- Command line
-
hf download hf://datasets/bingqin111/data_process_bq/train_stop.sh
-
curl -L -o train_stop.sh https://huggingface.co/datasets/bingqin111/data_process_bq/resolve/main/train_stop.sh
436 Bytes
| # 1. 开始训练 | |
| llamafactory-cli train /root/test/weitiao/LLaMA-Factory/examples/train_lora/qwen3_4b_rm_lora.yaml | |
| # 2. 训练完成后,调用 API 停止实例 | |
| curl --request POST \ | |
| --url https://api.ppinfra.com/gpu-instance/openapi/v1/gpu/instance/stop \ | |
| --header "Authorization: Bearer sk_BXypUUFtanaH9nwIXilww2I8IKxEXnEFLS-dqBpTJ54" \ | |
| --header "Content-Type: application/json" \ | |
| --data '{"instanceId":"58a06bbf6df6af07"}' |