peft
Fine-tune huge models on small hardware with LoRA and other efficient methods
ms-swift é um projeto de ferramentas de desenvolvimento de código aberto de modelscope (modelscope/ms-swift no GitHub). Tem 15.796 estrelas no GitHub e 1.726 forks, é publicado sob a licença Apache-2.0 e foi atualizado pela última vez no GitHub em 8 de outubro de 2026.
Fine-tune and deploy 600+ LLMs and 300+ multimodal models with PEFT or full-parameter training.
Choose from 600+ LLMs or 300+ multimodal models, then decide between lightweight PEFT (such as LoRA) and full-parameter training.
Install the package from PyPI with pip or uv, or clone the repo and install from source for the latest main branch.
Use one of the 150+ built-in datasets or format your own for pre-training, SFT, alignment, embedding or reranker tasks.
Launch training with the CLI or scripts, evaluate the result, then quantize and serve it with vLLM, SGLang or LMDeploy.
Training-to-deployment pipelines for 600+ text LLMs and hundreds of multimodal models, with day-0 support for popular new releases.
CPT, SFT, DPO, KTO, RM, CPO, SimPO and ORPO, plus a GRPO-family reinforcement learning set including DAPO, GSPO and Reinforce++.
LoRA, QLoRA, DoRA, LoRA+, LLaMAPro, LongLoRA, Adapter, ReFT and more, alongside full-parameter training.
Tensor, pipeline, context and expert parallelism techniques from Megatron to accelerate large training runs.
NVIDIA GPUs via CUDA, AMD GPUs via ROCm, Ascend NPU and other domestic accelerators, plus Apple MPS and CPU.
Train on BNB, AWQ, GPTQ, AQLM, HQQ and EETQ quantized models, and accelerate inference and deployment with vLLM, SGLang and LMDeploy.
Clone ms-swift if installing from source; PyPI installs do not need the clone.
git clone https://github.com/modelscope/ms-swift.git
cd ms-swiftInstall the latest release from PyPI and upgrade to the newest version.
pip install ms-swift -UFor the main branch, install the cloned project in editable mode.
pip install -e .It is provided by the ModelScope community (modelscope) and open-source contributors, and was presented at AAAI 2025.
Yes. It is Apache-2.0 licensed; the models and datasets you use with it carry their own licenses.
No. Training and inference run on your own hardware; you only need model weights and data, which you download from hubs such as ModelScope or Hugging Face.
All three fine-tune open LLMs; ms-swift stands out for its very wide model and multimodal coverage, Megatron parallelism and the breadth of built-in alignment algorithms - the best fit depends on your model and hardware.
Run pip install ms-swift -U, pick a built-in dataset and a supported base model, and follow the quick-start training example in the docs.
Fine-tune huge models on small hardware with LoRA and other efficient methods
20+ high-performance LLMs implemented from scratch, with proven recipes to pretrain, finetune and deploy.
A streamlined framework for evaluating and benchmarking LLMs, VLMs and AIGC models.
Resource hub for AI-powered game development — LLMs, world models, agents.
Unified, efficient fine-tuning of 100+ LLMs and VLMs with a CLI and Web UI — ACL 2024
AI enabled pair programmer for Claude, GPT, O Series, Grok, Deepseek, Gemini and 300+ models
Os outros projetos de Ferramentas de desenvolvimento com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se ms-swift não for o ideal para você.
The open source coding agent
The model-definition framework behind modern AI — thousands of pretrained transformers for text, vision, and audio.
Anthropic's agentic coding tool that lives in your terminal and works across your whole codebase
Cross-platform desktop all-in-one manager for Claude Code, Codex, OpenCode and other coding agents
OpenAI's lightweight coding agent that runs locally in your terminal
Projetos de Ferramentas de desenvolvimento próximos no catálogo, os mais próximos em estrelas de ms-swift: continue explorando dos dois lados dele.
Open, event-based protocol that connects AI agents to user-facing apps with streaming and shared state.
Bridge local AI coding agents (Claude Code, Cursor, Gemini CLI, Codex) to messaging platforms (Feishu/Lark, DingTalk, Slack, Telegram, Discord, LINE, WeChat …
Google's official Gemini API cookbook - examples, guides and end-to-end demos
Open-source terminal AI coding agent built for large projects and multi-step, real-world tasks.
A high-performance AI pipeline engine - build LLM workflows as portable .pipe files
Convert documentation sites, GitHub repos and PDFs into Claude AI skills and RAG-ready knowledge assets.
Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.