← back to the directory
Library / SDK Fine-tuning & Training

ms-swift

1Finetunes 2and 3deploys 4hundreds 5of 6LLMs

the six Ws · specification

W1 Who

The ModelScope team at Alibaba develops ms-swift, the Scalable lightWeight Infrastructure for Fine-Tuning.

W2 What

A framework for pretraining, supervised finetuning, RLHF alignment, inference, evaluation, and deployment of 600+ LLMs and 300+ multimodal models.

W3 Where

Runs on user-managed GPU infrastructure as a Python package, integrated with the ModelScope ecosystem.

W4 When

Actively developed since 2023, with continuous updates supporting newer model families through 2026.

W5 Why

Gives teams a single toolkit spanning LoRA, QLoRA, full-parameter tuning, DPO, and GRPO across text and multimodal models.

W6 With

Built on PyTorch and Hugging Face-compatible tooling, and integrates with ModelScope's model hub.

W7 Watch

Open-source (Apache-2.0 license) on GitHub, self-hosted training and inference, no external data transmission required.

alternatives

works with

lorasftdpomultimodalmodelscope

for agents & scripts

Reading this as a machine? Query it directly.

Search is open JSON - no key. Report telemetry after using a tool and it feeds that tool’s Proof Score. Or speak MCP to /mcp and discover tools mid-loop.