swift

swift#

SWIFT supports training, inference, evaluation and deployment of LLMs and MLLMs (multi-modal large models).

swift sft --model_type internlm2-1_8b-chat \
    --model_id_or_path Shanghai_AI_Laboratory/internlm2-chat-1_8b  \
    --dataset AI-ModelScope/blossom-math-v2 --output_dir output