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

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectServer MCPDespreCum realizăm clasamentulPresă
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
arcee-ai avatar

arcee-ai/mergekit

0
View on GitHub↗
7,156 stele·738 fork-uri·Python·LGPL-3.0·16 vizualizări

Mergekit

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 broad range of merging operations, including layer-based model assembly, task vector arithmetic, and various weight interpolation methods such as spherical linear interpolation and linear averaging. It includes utilities for parameter pruning, low-rank weight extraction, and the orchestration of multi-stage merge workflows.

Support is provided for executing resource-intensive operations on remote cloud infrastructure and generating markdown model cards for hosting hubs.

Features

  • Model Merging - Provides a comprehensive toolkit for combining multiple pretrained large language models into a single entity using algorithmic blending.
  • Model Merging - Combines multiple pre-trained models into a single entity using algorithmic blending techniques to unify capabilities.
  • Checkpoint Averaging - Combines multiple pre-trained models using linear weight averaging and task arithmetic.
  • Evolutionary Hyperparameter Tuners - Tunes merge parameters automatically using evolutionary algorithms to maximize evaluation scores.
  • Evolutionary Merge Optimization - Tunes merge parameters automatically using an evolutionary algorithm to maximize scores from evaluation metrics.
  • Task Vector Mergings - Combines specific capabilities by calculating differences from a common base model and adding them together.
  • Evolutionary Parameter Optimizers - Implements an evolutionary algorithm for tuning merge parameters based on quantitative evaluation metrics.
  • Weighted Parameter Averaging - Computes a weighted average of parameters from multiple models to create a combined version.
  • Mixture of Experts - Transforms multiple dense models into a sparse mixture-of-experts architecture by implementing a routing gating structure.
  • Weight Approximation Extraction - Extracts low-rank approximations from fine-tuned models to produce compatible adapter weights.
  • Layer-Wise Model Assembly - Provides capabilities to build hybrid model architectures by selecting and combining specific layer slices from different source checkpoints.
  • Task-Vector Arithmetic - Isolates fine-tuned capabilities by calculating parameter differences from a base model and summing those vectors.
  • Tokenizer Transplantation - Aligns and transplants tokenizer embeddings and vocabularies between models to enable speculative decoding or knowledge distillation.
  • Tokenizer Vocabulary Merging - Aligns donor tokenizers with a base model's embedding space using approximation strategies to merge vocabularies.
  • Weight Interpolation - Computes weighted linear and spherical interpolations of model parameters to blend capabilities from multiple pre-trained sources.
  • Adaptive Parameter Prunings - Retains parameters with the largest magnitude changes to preserve significant modifications during a merge.
  • Direct Checkpoint Manipulation - Implements merging algorithms directly on raw tensor files to reduce memory overhead during model assembly.
  • Checkpoint Tensor Manipulation - Applies merging algorithms directly to raw PyTorch tensor files without requiring a model object instantiation.
  • Merge Quality Benchmarking - Scores merged models using defined tasks and weighted metrics to determine the effectiveness of merge recipes.
  • Variance Masking Merges - Weights model contributions by identifying and keeping parameter positions with the highest variance across vectors.
  • Merge Pipelines - Defines sequences of merge operations where the output of one weight merge stage serves as the input for the next.
  • Sparse Architectures - Constructs sparse architectures by combining attention and normalization from a base model with expert parameters.
  • Dense-to-Sparse Conversions - Merges multiple dense models into a sparse architecture for deployment or further training.
  • Salient Change Fusions - Combines models using importance scores and divergence metrics to merge key parameter differences.
  • Magnitude-Based Parameter Pruning - Filters noise and interference by removing model parameters based on absolute change or variance across sources.
  • Magnitude-Based Prunings - Removes the smallest and largest parameter changes to isolate mid-range modifications and filter noise.
  • Model Sparsification - Implements parameter pruning and sign conflict resolution to create sparse model representations.
  • Selective Parameter Interpolations - Interpolates models by increasing the influence of a secondary model where parameters are similar to the base.
  • Interpolation Parameter Optimization - Calculates optimized weights for linear interpolation based on the geometric similarity between models.
  • Spherical Linear Interpolations - Creates smooth transitions between models using spherical linear interpolation to maintain parameter magnitude.
  • Multi-Stage Pipeline Processing - Orchestrates complex merge recipes as a sequence of interdependent processing steps where outputs feed into subsequent stages.
  • Emerging Trends - Listed in the “Emerging Trends” section of the Llm Course awesome list.
  • Model Utilities - Tools for merging multiple pretrained language models.

Istoric stele

Graficul istoricului de stele pentru arcee-ai/mergekitGraficul istoricului de stele pentru arcee-ai/mergekit

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Mergekit

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Mergekit.
  • cg123/mergekitAvatar cg123

    cg123/mergekit

    7,158Vezi pe GitHub↗

    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 specia

    Python
    Vezi pe GitHub↗7,158
  • sgl-project/sglangAvatar sgl-project

    sgl-project/sglang

    29,079Vezi pe GitHub↗

    Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It provides a programmable interface for orchestrating complex generation workflows, enabling developers to coordinate multi-turn dialogues, tool invocations, and reasoning chains through a domain-specific language. The platform is built to support production-scale deployments, offering an OpenAI-compatible API that allows for integration with existing application ecosystems. The system distinguishes itself through a disaggregated architecture that separates compute-intensive pr

    Pythonattentionblackwellcuda
    Vezi pe GitHub↗29,079
  • xai-org/grok-1Avatar xai-org

    xai-org/grok-1

    51,690Vezi pe GitHub↗

    Grok-1 is an open-weights large language model implementation featuring a sparse mixture-of-experts architecture. It is designed for high-performance text generation and natural language processing by activating only a subset of specialized expert layers per token. The model utilizes 8-bit weight quantization to reduce memory overhead and accelerate loading. To manage its high parameter count, the implementation supports activation sharding, which distributes the memory load across multiple hardware devices during execution. The project covers large-scale model inference, including text comp

    Python
    Vezi pe GitHub↗51,690
  • kohya-ss/sd-scriptsAvatar kohya-ss

    kohya-ss/sd-scripts

    7,133Vezi pe GitHub↗

    sd-scripts is a suite of utilities designed for fine-tuning generative models, preprocessing datasets, and converting model weights. It provides a collection of scripts for executing Stable Diffusion training through methods such as DreamBooth, textual inversion, and full fine-tuning, alongside a framework for creating and managing Low-Rank Adaptation weights. The project features specialized capabilities for model weight conversion between different architectures and precision formats. It includes tools for merging adaptation weights into base models, extracting weights from trained models,

    Python
    Vezi pe GitHub↗7,133
Vezi toate cele 30 alternative pentru Mergekit→

Întrebări frecvente

Ce face arcee-ai/mergekit?

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.

Care sunt principalele funcționalități ale arcee-ai/mergekit?

Principalele funcționalități ale arcee-ai/mergekit sunt: Model Merging, Checkpoint Averaging, Evolutionary Hyperparameter Tuners, Evolutionary Merge Optimization, Task Vector Mergings, Evolutionary Parameter Optimizers, Weighted Parameter Averaging, Mixture of Experts.

Care sunt câteva alternative open-source pentru arcee-ai/mergekit?

Alternativele open-source pentru arcee-ai/mergekit includ: cg123/mergekit — Mergekit is a toolkit for combining multiple pretrained large language models into a single model. It functions as an… sgl-project/sglang — Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It… xai-org/grok-1 — Grok-1 is an open-weights large language model implementation featuring a sparse mixture-of-experts architecture. It… kohya-ss/sd-scripts — sd-scripts is a suite of utilities designed for fine-tuning generative models, preprocessing datasets, and converting… microsoft/deepspeed — DeepSpeed is a distributed deep learning optimization library and framework designed for the training and inference of… facebookresearch/fairseq — Fairseq is a PyTorch toolkit for sequence-to-sequence modeling, specializing in neural machine translation, automatic…