Files
Jintao 35b37cbbbe
Lint test / lint (push) Has been cancelled
release / build-n-publish (push) Has been cancelled
[megatron] optimize dpo main_grad (GPU memory) (#6027)
2025-09-30 23:57:12 +08:00
..
2025-07-21 17:43:04 +08:00
2025-09-22 17:17:11 +08:00
2025-02-21 17:46:29 +08:00

Instructions

The example provides instructions for using SWIFT for training, inference, deployment, evaluation, and quantization. By default, the model will be downloaded from the ModelScope community.

If you want to use the Huggingface community, you can change the command line like this:

...
swift sft \
    --model <model_id_or_path> \
    --use_hf 1 \
    ...