File size: 202 Bytes
cb2428f |
1 2 3 4 5 6 7 8 |
# Here is the command-line style inference code.
CUDA_VISIBLE_DEVICES=0 \
swift infer \
--adapters output/vx-xxx/checkpoint-xxx \
--stream true \
--temperature 0 \
--max_new_tokens 2048
|