Skip to content

Model Merging

A technique where the weights of several trained models are combined into one. The result can combine the strengths of the original models without new training.

How It Works

Models fine-tuned from the same base have the same architecture. Their weights can be added, averaged, or interpolated using special formulas. The result is one model.

Example

  • Model A is good at writing code;
  • Model B is good at conducting dialogues;
  • Merging A and B gives a model that can do both.

Pros and Cons

Pros Cons
Cheaper than training Result is not guaranteed
Quick (minutes) Requires compatible models
Can combine skills Hard to predict quality

Where It Is Applied

  • Merging LoRA adapters;
  • Creating models with new skill combinations;
  • Experiments in the open-source community.

See Also

← All Terms