{"adoption": {"forks": 1634, "observed_at": "2026-08-28T04:11:09.735667+00:00", "stars": 15371}, "canonical_url": "https://ross.abutalabs.com/products/ms-swift", "card": {"archived": false, "artifact_type": "framework", "description": "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).", "domain": ["large-language-models", "machine-learning", "deep-learning", "developer-tools"], "enriched": true, "function": ["llm-training", "llm-inference", "rag", "machine-learning", "cli", "sdk"], "health_score": 100, "homepage": "https://swift.readthedocs.io/zh-cn/latest/", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["modelscope/ms-swift"], "name": "modelscope/ms-swift", "platform": ["python", "cli"], "pushed_at": "2026-08-26T14:32:36+00:00", "repo": "modelscope/ms-swift", "stars": 15371, "tags": ["peft", "lora", "sft", "grpo", "rlhf", "megatron", "multimodal-llm", "modelscope", "quantization", "dpo", "fine-tuning", "qwen", "deepseek", "natural-language-processing", "linux", "gpu", "docker"], "topics": ["llm", "lora", "llama", "sft", "multimodal", "peft", "internvl", "liger", "deepseek-r1", "embedding", "grpo", "open-r1", "megatron", "llama4", "qwen3", "reranker", "moe", "qwen3-vl", "qwen3-omni", "qwen3-6"], "urls": [], "use_cases": ["fine-tune qwen or llama with lora", "run sft training on a large language model", "train a multimodal vision-language model", "do grpo reinforcement learning for llm", "merge and quantize a fine-tuned model", "deploy a fine-tuned llm for inference", "train embedding or reranker models", "dpo alignment training for chat models"], "what_it_is": "ms-swift is a ModelScope community framework for fine-tuning, inference, evaluation, quantization, and deployment of 600+ text LLMs and 400+ multimodal LLMs. It supports PEFT (LoRA) and full-parameter training, Megatron parallelism, and RLHF algorithms like GRPO, DPO, and PPO.", "when_to_avoid": ["you only need simple model inference without training", "you want a minimal single-model training script rather than a full framework", "you are not working with transformer-based LLMs or MLLMs"], "when_to_choose": ["you need a single framework covering CPT, SFT, DPO/GRPO, inference, evaluation, quantization, and deployment", "you want LoRA/PEFT or Megatron-based full-parameter training for many model families", "you work with multimodal LLMs like Qwen-VL or InternVL", "you need multi-hardware support including Ascend NPU and AMD GPUs"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/ms-swift", "repo": "modelscope/ms-swift", "role": "main", "score": 91}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.735667+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:06:20.793888+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2761e8baba32af84eddb1e4fd6289206720ced6ed07743a11cd221f1e7678397", "fetched_at": "2026-08-28T04:11:09.735667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/modelscope/ms-swift"}, {"content_hash": "271ad74fa3a96b4992b2ef7f90571643173103d19135be238824dc0e96ecc98e", "fetched_at": "2026-08-29T08:04:09.086177+00:00", "kind": "homepage", "missing": false, "url": "https://swift.readthedocs.io/zh-cn/latest/"}, {"content_hash": "0178acdb116bdb1bfacb3695d465cd4db4e462f80a6b43b98d4652351bd22f42", "fetched_at": "2026-08-29T08:04:09.095309+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ms-swift/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.735667+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:06:20.793888+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2761e8baba32af84eddb1e4fd6289206720ced6ed07743a11cd221f1e7678397", "fetched_at": "2026-08-28T04:11:09.735667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/modelscope/ms-swift"}, {"content_hash": "271ad74fa3a96b4992b2ef7f90571643173103d19135be238824dc0e96ecc98e", "fetched_at": "2026-08-29T08:04:09.086177+00:00", "kind": "homepage", "missing": false, "url": "https://swift.readthedocs.io/zh-cn/latest/"}, {"content_hash": "0178acdb116bdb1bfacb3695d465cd4db4e462f80a6b43b98d4652351bd22f42", "fetched_at": "2026-08-29T08:04:09.095309+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ms-swift/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:06:20.793888+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2761e8baba32af84eddb1e4fd6289206720ced6ed07743a11cd221f1e7678397", "fetched_at": "2026-08-28T04:11:09.735667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/modelscope/ms-swift"}, {"content_hash": "271ad74fa3a96b4992b2ef7f90571643173103d19135be238824dc0e96ecc98e", "fetched_at": "2026-08-29T08:04:09.086177+00:00", "kind": "homepage", "missing": false, "url": "https://swift.readthedocs.io/zh-cn/latest/"}, {"content_hash": "0178acdb116bdb1bfacb3695d465cd4db4e462f80a6b43b98d4652351bd22f42", "fetched_at": "2026-08-29T08:04:09.095309+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ms-swift/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.735667+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.735667+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.735667+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:06:20.793888+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2761e8baba32af84eddb1e4fd6289206720ced6ed07743a11cd221f1e7678397", "fetched_at": "2026-08-28T04:11:09.735667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/modelscope/ms-swift"}, {"content_hash": "271ad74fa3a96b4992b2ef7f90571643173103d19135be238824dc0e96ecc98e", "fetched_at": "2026-08-29T08:04:09.086177+00:00", "kind": "homepage", "missing": false, "url": "https://swift.readthedocs.io/zh-cn/latest/"}, {"content_hash": "0178acdb116bdb1bfacb3695d465cd4db4e462f80a6b43b98d4652351bd22f42", "fetched_at": "2026-08-29T08:04:09.095309+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ms-swift/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.735667+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.735667+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:06:20.793888+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2761e8baba32af84eddb1e4fd6289206720ced6ed07743a11cd221f1e7678397", "fetched_at": "2026-08-28T04:11:09.735667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/modelscope/ms-swift"}, {"content_hash": "271ad74fa3a96b4992b2ef7f90571643173103d19135be238824dc0e96ecc98e", "fetched_at": "2026-08-29T08:04:09.086177+00:00", "kind": "homepage", "missing": false, "url": "https://swift.readthedocs.io/zh-cn/latest/"}, {"content_hash": "0178acdb116bdb1bfacb3695d465cd4db4e462f80a6b43b98d4652351bd22f42", "fetched_at": "2026-08-29T08:04:09.095309+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ms-swift/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.735667+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.735667+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.735667+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:06:20.793888+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2761e8baba32af84eddb1e4fd6289206720ced6ed07743a11cd221f1e7678397", "fetched_at": "2026-08-28T04:11:09.735667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/modelscope/ms-swift"}, {"content_hash": "271ad74fa3a96b4992b2ef7f90571643173103d19135be238824dc0e96ecc98e", "fetched_at": "2026-08-29T08:04:09.086177+00:00", "kind": "homepage", "missing": false, "url": "https://swift.readthedocs.io/zh-cn/latest/"}, {"content_hash": "0178acdb116bdb1bfacb3695d465cd4db4e462f80a6b43b98d4652351bd22f42", "fetched_at": "2026-08-29T08:04:09.095309+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ms-swift/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.735667+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.735667+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:06:20.793888+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2761e8baba32af84eddb1e4fd6289206720ced6ed07743a11cd221f1e7678397", "fetched_at": "2026-08-28T04:11:09.735667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/modelscope/ms-swift"}, {"content_hash": "271ad74fa3a96b4992b2ef7f90571643173103d19135be238824dc0e96ecc98e", "fetched_at": "2026-08-29T08:04:09.086177+00:00", "kind": "homepage", "missing": false, "url": "https://swift.readthedocs.io/zh-cn/latest/"}, {"content_hash": "0178acdb116bdb1bfacb3695d465cd4db4e462f80a6b43b98d4652351bd22f42", "fetched_at": "2026-08-29T08:04:09.095309+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ms-swift/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:06:20.793888+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2761e8baba32af84eddb1e4fd6289206720ced6ed07743a11cd221f1e7678397", "fetched_at": "2026-08-28T04:11:09.735667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/modelscope/ms-swift"}, {"content_hash": "271ad74fa3a96b4992b2ef7f90571643173103d19135be238824dc0e96ecc98e", "fetched_at": "2026-08-29T08:04:09.086177+00:00", "kind": "homepage", "missing": false, "url": "https://swift.readthedocs.io/zh-cn/latest/"}, {"content_hash": "0178acdb116bdb1bfacb3695d465cd4db4e462f80a6b43b98d4652351bd22f42", "fetched_at": "2026-08-29T08:04:09.095309+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ms-swift/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:06:20.793888+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2761e8baba32af84eddb1e4fd6289206720ced6ed07743a11cd221f1e7678397", "fetched_at": "2026-08-28T04:11:09.735667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/modelscope/ms-swift"}, {"content_hash": "271ad74fa3a96b4992b2ef7f90571643173103d19135be238824dc0e96ecc98e", "fetched_at": "2026-08-29T08:04:09.086177+00:00", "kind": "homepage", "missing": false, "url": "https://swift.readthedocs.io/zh-cn/latest/"}, {"content_hash": "0178acdb116bdb1bfacb3695d465cd4db4e462f80a6b43b98d4652351bd22f42", "fetched_at": "2026-08-29T08:04:09.095309+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ms-swift/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:06:20.793888+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2761e8baba32af84eddb1e4fd6289206720ced6ed07743a11cd221f1e7678397", "fetched_at": "2026-08-28T04:11:09.735667+00:00", "kind": "readme", "missing": false, "url": "https://github.com/modelscope/ms-swift"}, {"content_hash": "271ad74fa3a96b4992b2ef7f90571643173103d19135be238824dc0e96ecc98e", "fetched_at": "2026-08-29T08:04:09.086177+00:00", "kind": "homepage", "missing": false, "url": "https://swift.readthedocs.io/zh-cn/latest/"}, {"content_hash": "0178acdb116bdb1bfacb3695d465cd4db4e462f80a6b43b98d4652351bd22f42", "fetched_at": "2026-08-29T08:04:09.095309+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/ms-swift/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 80, "rhythm": 86}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1128, "days_push": 7, "days_rel": 17, "gap_med": 7.0, "n_releases_24m": 81}, "score": 91, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}