Home Projects ms-swift
ms-swift
Python

ms-swift

Use PEFT or Full-parameter to CPT/SFT/DPO/GRPO 600+ LLMs (Qwen3.6, DeepSeek-V4, GLM-5.1, InternLM3, Llama4, ...) and 300+ MLLMs (Qwen3-VL, Qwen3-Omni, InternVL3.5, Ovis2.5, GLM4.5v, Gemma4, Llava, Phi4, ...) (AAAI 2025).

by modelscope · GitHub
Stars
Forks
License
Created
Last commit
Category
Language
Likely
Self-hostable
deepseek-r1embeddinggrpoApache-2.0PythonSelf-hostable
View on GitHub
In plain words

ms-swift from ModelScope supports fine-tuning and deploying hundreds of language and vision-language models with a consistent CLI and UI.

From the README

Install
pip install ms-swift -U
# Using uv
pip install uv
Documentation ↗

Excerpts from the project README on GitHub. Copyright and licensing remain with the respective authors.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
ms-swift — GitHub preview card
📈 Star history
15.4k14.6k
2026-06-282026-08-31
📈 Track ms-swift

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

Use PEFT or Full-parameter to CPT/SFT/DPO/GRPO 600+ LLMs (Qwen3.6, DeepSeek-V4, GLM-5.1, InternLM3, Llama4, ...) and 300+ MLLMs (Qwen3-VL, Qwen3-Omni, InternVL3.5, Ovis2.5, GLM4.5v, Gemma4, Llava, Phi4, ...) (AAAI 2025).

ms-swift has 15.4k stars on GitHub. It has been forked 1.6k times. ms-swift is written mainly in Python. It has been in active development since 2023. ms-swift is available under the Apache-2.0 license. Its main topics are deepseek-r1, embedding, grpo, internvl.

Read the full guide
Frequently asked questions

What is ms-swift?

Use PEFT or Full-parameter to CPT/SFT/DPO/GRPO 600+ LLMs (Qwen3.6, DeepSeek-V4, GLM-5.1, InternLM3, Llama4, ...) and 300+ MLLMs (Qwen3-VL, Qwen3-Omni, InternVL3.5, Ovis2.5, GLM4.5v, Gemma4, Llava, Phi4, ...) (AAAI 2025).

Is ms-swift open source?

ms-swift is an open-source project. It is released under the Apache-2.0 license.

Is ms-swift free?

Yes. ms-swift is free and open source — you can use, modify and self-host it.

What license does ms-swift use?

ms-swift is available under the Apache-2.0 license.

What language is ms-swift written in?

ms-swift is written mainly in Python.

🏅 Maintainer of this project?
olud.ai badge — ms-swift

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=modelscope-ms-swift)](https://olud.ai/project/modelscope-ms-swift.html)
More badge options →
🧬 Related projects🧬 View the DNA map →