Model Merging
Merge fine-tuned LLMs with mergekit (SLERP, TIES, DARE, task arithmetic) to combine capabilities without retraining.
- CCM score
- 57 of 100
- skills.sh installs
- 1.2K
- GitHub stars
- 14.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers linear, SLERP, task arithmetic, TIES-Merging, and DARE merge methods with YAML config examples for each
- Includes layer-specific SLERP interpolation, layer-wise passthrough merging, and MoE construction from merged expert models
- Enforces architecture compatibility, so merges should only combine models sharing the same base architecture
- Designed for practitioners combining math, coding, and chat specialists on CPU without GPU training costs
Install
$ npx -y skills add orchestra-research/ai-research-skills --skill model-merging -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Model Merging: Combining Pre-trained Models
When to Use This Skill
Use Model Merging when you need to:
- Combine capabilities from multiple fine-tuned models without retraining
- Create specialized models by blending domain-specific expertise (math + coding + chat)
- Improve performance beyond single models (often +5-10% on benchmarks)
- Reduce training costs - no GPUs needed, merges run on CPU
- Experiment rapidly - create new model variants in minutes, not days
- Preserve multiple skills - merge without catastrophic forgetting
Success Stories: Marcoro14-7B-slerp (best on Open LLM Leaderboard 02/2024), many top HuggingFace models use merging
Tools: mergekit (Arcee AI), LazyMergekit, Model Soup
Installation
# Install mergekit
git clone https://github.com/arcee-ai/mergekit.git
cd mergekit
pip install -e .
# Or via pip
pip install mergekit
# Optional: Transformer library
pip install transformers torch
Quick Start
Simple Linear Merge
Details
- Repository
- github.com/orchestra-research/ai-research-skills
- Categories
- Data Science & Analytics, AI Agents & LLM Apps
- First seen
- Jun 3, 2026
Questions
What does the model-merging skill do?
The model-merging skill uses mergekit to combine several fine-tuned models into one without retraining, blending capabilities such as math, coding and chat. It covers SLERP, TIES-Merging, DARE, Task Arithmetic and linear merging, plus production deployment strategies.
How do I install the model-merging skill?
Run npx -y skills add orchestra-research/ai-research-skills --skill model-merging -y in your project to install it. Once installed, the agent can write mergekit YAML configs and run merges on the models you name.
Which merge method should I use with model-merging?
The model-merging skill recommends SLERP for blending exactly two models and TIES-Merging for many task-specific models. Its guide also covers linear, Task Arithmetic and DARE merges, each with a sample YAML configuration.
What does model-merging need to run?
The model-merging skill depends on mergekit, transformers and torch, and its install steps use pip with optional CUDA for faster merges. The merged models must share the same architecture, such as Mistral 7B variants, or the merge will fail.
More from orchestra-research/ai-research-skills
All 92- Chroma1.2K
- Instructor1.2K
- Speculative Decoding1.2K
- Hqq Quantization1.2K
- Sglang1.2K
- Llama Factory1.2K
- Nemo Curator1.2K
- Model Pruning1.2K
- Llamaindex1.2K
- Openrlhf Training1.2K
- Distributed Llm Pretraining Torchtitan1.2K
- Evaluating Code Models1.2K
- Gptq1.2K
- Mamba Architecture1.2K
- Pyvene Interventions1.2K
- Outlines1.2K
- Sentencepiece1.2K
- Sparse Autoencoder Training1.2K
- Systems Paper Writing1.1K
- Training Llms Megatron1.1K
- Simpo Training1.1K
- Slime Rl Training1.1K
- Llamaguard1.1K
- Guidance1.1K
Similar to Model Merging
More Data Science & Analyticsmodel-architecturePluginOrchestra-Research/AI-Research-SKILLs14.8K starsLLM architectures and implementations including LitGPT, Mamba, NanoGPT, RWKV, and TorchTitan. Use when implementing, training, or understanding transformer and
training-llms-megatronSkillorchestra-research/ai-research-skills1.1K installsLarge-scale LLM training framework with 3D, MoE, and FP8 parallelism for models from 2B to 462B parameters.
llmSkillmindrally/skills773 installsBroad LLM development guidance covering architecture, fine-tuning, distributed training, evaluation, and deployment.
llm-fine-tuning-guideSkillqodex-ai/ai-agent-skills198 installsPractical guide to fine-tuning LLMs covering full tuning, LoRA, QLoRA, and domain-specific data preparation.
embedding-strategiesSkillwshobson/agents12.2K installsGuide for choosing and tuning embedding models and chunking strategies in semantic search and RAG pipelines.