ms-swift: Train 600+ LLMs
From the repo · “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).”
Train your own large language model using Python code.
"A founder wants to create a custom chatbot for their new support platform. They use ms-swift to train a model on their support data, then integrate it with their website and chat systems."
- •When you need to customize a language model for your specific business needs
- •When you want to integrate AI-powered text generation or understanding into your product
- •When you're looking to improve the performance of a pre-trained language model on a particular task
python -m ms_swift.train --model-name Qwen3.6 --task-name sentiment-analysis --dataset your_custom_dataset
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Expect 20–40 minutes in a terminal — or let your AI agent drive it.
mkdir -p ~/.claude/skills/ms-swift && curl -fsSL https://workflowstacks.com/api/skills/ms-swift/claude-skill -o ~/.claude/skills/ms-swift/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Ms-swift: Train 600+ LLMs is a very large Python project (~141k lines across 997 code files, plus 132 test files). It is a full software project: use it through its install path rather than reading it end to end. Last commit this month, Apache-2.0 license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2requirements.txtDependencies and the commands it exposes
- 3examples/README.mdA worked example — copy this to get going
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Expect 20–40 minutes in a terminal — or let your AI agent drive it.
mkdir -p ~/.claude/skills/ms-swift && curl -fsSL https://workflowstacks.com/api/skills/ms-swift/claude-skill -o ~/.claude/skills/ms-swift/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/ms-swift?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Do this with a working workflow
Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.
Related skills
More ai-agent tools founders pair with this one.