Toolverse
All skills

model-merging

by davila7

Merge multiple fine-tuned models using mergekit to combine capabilities without retraining. Use when creating specialized models by blending domain-specific expertise (math + coding + chat), improving performance beyond single models, or experimenting rapidly with model

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
davila7
Category
Security

About this skill

Merge multiple fine-tuned models using mergekit to combine capabilities without retraining. Use when creating specialized models by blending domain-specific expertise (math + coding + chat), improving performance beyond single models, or experimenting rapidly with model variants. Covers SLERP, TIES-Merging, DARE, Task Arithmetic, linear merging, and production deployment strategies.

How to use

  1. Zainstaluj mergekit, klonując repozytorium z GitHub (https://github.com/arcee-ai/mergekit.git), wchodząc do folderu i uruchamiając pip install -e ., lub zainstaluj bezpośrednio przez pip: pip install mergekit. Opcjonalnie zainstaluj bibliotekę transformers i torch: pip install transformers torch.

  2. Przygotuj plik konfiguracyjny w formacie YAML (np. config.yml), w którym zdefiniujesz metodę merowania (linear, SLERP, TIES-Merging, DARE lub Task Arithmetic), listę modeli do połączenia z ich wagami oraz typ danych (np. bfloat16). Przykład: ustaw merge_method na "linear", dodaj dwa modele z wagą 0.5 każdy.

  3. Uruchom mergekit z linią poleceń, używając komendy mergekit-yaml config.yml ./merged_model, gdzie config.yml to Twój plik konfiguracyjny, a ./merged_model to ścieżka wyjściowa dla połączonego modelu.

  4. Czekaj na zakończenie procesu merowania — zajmuje to zwykle kilka minut na CPU, w zależności od rozmiaru modeli i wybranej metody.

  5. Zweryfikuj wynik, testując połączony model na swoich danych testowych, aby potwierdzić, że uzyskałeś oczekiwane połączenie możliwości z oryginalnych modeli.

Related skills

payload

by payloadcms

Use when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.

Security
50171

architect-review

by sickn33

Master software architect specializing in modern architecture patterns, clean architecture, microservices, event-driven systems, and DDD. Reviews system designs and code changes for architectural integrity, scalability, and maintainability. Use PROACTIVELY for architectural

Security
2773

security-compliance

by davila7

Guides security professionals in implementing defense-in-depth security architectures, achieving compliance with industry frameworks (SOC2, ISO27001, GDPR, HIPAA), conducting threat modeling and risk assessments, managing security operations and incident response, and embedding

Security
1172

better-auth-best-practices

by novuhq

Skill for integrating Better Auth - the comprehensive TypeScript authentication framework.

Security
1148

solidity-security

by wshobson

Master smart contract security best practices to prevent common vulnerabilities and implement secure Solidity patterns. Use when writing smart contracts, auditing existing contracts, or implementing security measures for blockchain applications.

Security
10105

qmd

by tobi

Search personal markdown knowledge bases, notes, meeting transcripts, and documentation using QMD - a local hybrid search engine. Combines BM25 keyword search, vector semantic search, and LLM re-ranking. Use when users ask to search notes, find documents, look up information in

Security
1951