Skip to content

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
View on GitHub

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 -y

Installs 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

Similar to Model Merging

More Data Science & Analytics