oss / ms-swift /examples /export /merge_lora.sh
yuccaaa's picture
Upload ms-swift/examples/export/merge_lora.sh with huggingface_hub
28957b4 verified
# Since `output/vx-xxx/checkpoint-xxx` is trained by swift and contains an `args.json` file,
# there is no need to explicitly set `--model`, `--system`, etc., as they will be automatically read.
swift export \
--adapters output/vx-xxx/checkpoint-xxx \
--merge_lora true