awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
cg123 avatar

cg123/mergekit

0
View on GitHub↗
7,158 stars·739 forks·Python·LGPL-3.0·13 views

Mergekit

Mergekit is a toolkit for combining multiple pretrained large language models into a single model. It functions as an architecture assembler and merging system that transfers capabilities between models using weighted algorithms and layer-wise assembly without requiring additional training.

The project provides specialized utilities for extracting low-rank approximations from fine-tuned models to create portable parameter updates. It also includes a framework for converting dense language models into a mixture of experts architecture by constructing gating mechanisms to route inputs to specialized experts.

The toolkit supports low-memory processing through disk-based sharded loading, allowing large-scale weight merging on hardware with limited system memory. Additional capabilities cover vocabulary merging and tokenizer transplantation to ensure consistent embedding lookups, chat template management, and the orchestration of multi-stage merge pipelines.

Features

  • Weight-Space Merging Techniques - Combines multiple pretrained model weights using weighted average algorithms to transfer capabilities without training.
  • Model Merging - Provides a comprehensive toolkit for combining multiple pre-trained large language models into a single model using weighted algorithms.
  • Model Merging - Combines multiple pretrained large language models into a single model to transfer capabilities without additional training.
  • Model Merging Strategies - Provides a comprehensive toolkit for combining multiple pretrained large language models using weighted algorithms.
  • Low-Memory Processing - Supports large-scale weight merging on hardware with limited RAM via disk-based sharded loading.
  • Mixture of Experts - Converts dense models into a mixture-of-experts architecture by adding gating mechanisms for input routing.
  • Low-Rank Adaptation - Extracts low-rank approximations from fine-tuned weights to create portable parameter updates using LoRA techniques.
  • Model Architecture Assemblers - Acts as an architecture assembler for building hybrid language models from different source checkpoints.
  • Hybrid Layer Assembly - Provides a system for designing hybrid language models by combining specific layers from different pretrained sources.
  • Layer-Wise Model Assembly - Builds new models by selectively combining specific layers from different sources into custom hybrid architectures.
  • Layer Splicing - Allows the creation of hybrid models by selectively splicing transformer layers from different source checkpoints.
  • Binary Weight Processing - Implements merging algorithms that operate directly on binary weight files for models lacking standard transformer library formats.
  • Merge Pipelines - Executes multi-stage merge pipelines where sequential weight transformations are chained together.
  • Low-Memory Merging - Enables large-scale weight merging on hardware with limited RAM through disk-based sharded loading.
  • Weight Approximation Extraction - Includes a utility for extracting low-rank approximations from fine-tuned models to create portable parameter updates.
  • Model Transformation Pipelines - Orchestrates complex multi-stage pipelines where the output of one merge operation serves as the input for the next.
  • Parameter Efficient Fine-Tuning - Creates smaller and more portable weight updates by extracting low-rank approximations from fine-tuned models.
  • Tokenizer Vocabulary Merging - Synchronizes tokenizers by mapping indices between models to ensure consistent embedding lookup.
  • Low-Memory Model Merging - Facilitates large language model merging on limited hardware using disk-based data chunking.
  • Weight Sharding - Implements disk-based sharded loading to enable large-scale model merging on hardware with limited RAM.
  • Advanced Model Techniques - Toolkit for merging multiple trained models into a single performant model.

Star history

Star history chart for cg123/mergekitStar history chart for cg123/mergekit

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does cg123/mergekit do?

Mergekit is a toolkit for combining multiple pretrained large language models into a single model. It functions as an architecture assembler and merging system that transfers capabilities between models using weighted algorithms and layer-wise assembly without requiring additional training.

What are the main features of cg123/mergekit?

The main features of cg123/mergekit are: Weight-Space Merging Techniques, Model Merging, Model Merging Strategies, Low-Memory Processing, Mixture of Experts, Low-Rank Adaptation, Model Architecture Assemblers, Hybrid Layer Assembly.

Which projects share features with cg123/mergekit?

Projects with overlapping indexed features include: arcee-ai/mergekit — MergeKit is a toolkit for combining multiple pre-trained large language models into a single entity using algorithmic… kyegomez/openmythos — OpenMythos is a framework for implementing recurrent large language model architectures. It utilizes recurrent… afshinea/stanford-cme-295-transformers-large-language-models — This project is a comprehensive technical course study guide and reference for learning the architectures and training… hiyouga/chatglm-efficient-tuning — ChatGLM-Efficient-Tuning is a fine-tuning framework and toolkit designed to optimize large language models using… deep-floyd/if — IF is a text-to-image diffusion system that translates natural language descriptions into visual imagery. The project… facebookresearch/llama-recipes — This repository is a collection of frameworks and guides for Llama models, functioning as a fine-tuning framework, an…

Projects sharing features with Mergekit

These projects share indexed features with Mergekit. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • arcee-ai/mergekitarcee-ai avatar

    arcee-ai/mergekit

    7,156View on GitHub↗

    MergeKit is a toolkit for combining multiple pre-trained large language models into a single entity using algorithmic blending. It provides a specialized system for parameter interpolation and weight extraction to unify model capabilities. The project distinguishes itself through an evolutionary merge optimizer that tunes parameters based on quantitative evaluation metrics. It also features a mixture of experts orchestrator capable of converting dense models into sparse architectures and a tokenizer alignment tool for transplanting embeddings between different models. The toolkit covers a br

    Pythonllamallmmodel-merging
    View on GitHub↗7,156
  • kyegomez/openmythoskyegomez avatar

    kyegomez/OpenMythos

    14,176View on GitHub↗

    OpenMythos is a framework for implementing recurrent large language model architectures. It utilizes recurrent transformer blocks to enable compute-adaptive reasoning and variable processing depth through multiple iterative passes over the same weights. The system features a mixture of experts framework that routes tokens between shared and specialized layers to optimize parameter usage. It also includes parameter-efficient fine-tuning tools using low-rank adaptation modules to modify model behavior with minimal weight updates. The framework covers distributed training pipelines using data p

    Pythonaianthropicattention
    View on GitHub↗14,176
  • afshinea/stanford-cme-295-transformers-large-language-modelsafshinea avatar

    afshinea/stanford-cme-295-transformers-large-language-models

    4,509View on GitHub↗

    This project is a comprehensive technical course study guide and reference for learning the architectures and training methods of Transformers and large language models. It serves as a technical overview for understanding how neural networks process data and how to align model behavior with specific performance goals. The repository provides specialized guides on several key areas of model development. This includes detailed references for transformer architectures, implementation frameworks for retrieval-augmented generation and agentic workflows, and technical guides for model optimization

    View on GitHub↗4,509
  • hiyouga/chatglm-efficient-tuninghiyouga avatar

    hiyouga/ChatGLM-Efficient-Tuning

    3,720View on GitHub↗

    ChatGLM-Efficient-Tuning is a fine-tuning framework and toolkit designed to optimize large language models using parameter-efficient fine-tuning techniques. It provides a pipeline for adjusting model behavior and reducing the memory and compute requirements necessary for training. The project features a web-based trainer and orchestration interface for configuring and executing the fine-tuning process on a single GPU. It supports quantized training in lower precision formats to enable fine-tuning on hardware with limited memory, as well as reinforcement learning from human feedback for model

    Pythonalpacachatglmchatglm2
    View on GitHub↗3,720
Compare all 30 related projects→