8 lines
246 B
Bash
8 lines
246 B
Bash
# If you are using the validation set for inference, add the parameter `--load_data_args true`.
|
|
CUDA_VISIBLE_DEVICES=0 \
|
|
swift infer \
|
|
--model output/vx-xxx/checkpoint-xxx \
|
|
--stream true \
|
|
--temperature 0 \
|
|
--max_new_tokens 2048
|