Volver al catálogo
Curado por modeloOtros

Dosier de la skill

fine-tuning-expert

Declaración de origen

Use when fine-tuning LLMs, training custom models, or adapting foundation models for specific tasks. Invoke for configuring LoRA/QLoRA adapters, preparing JSONL training datasets, setting hyperparameters for fine-tuning runs, adapter training, transfer learning, finetuning with Hugging Face PEFT, OpenAI fine-tuning, instruction tuning, RLHF, DPO, or quantizing and deploying fine-tuned models. Trigger terms include: LoRA, QLoRA, PEFT, finetuning, fine-tuning, adapter tuning, LLM training, model training, custom model.

La descripción original del autor, conservada en inglés. Describe la intención, no un rendimiento verificado.

Use when fine-tuning LLMs, training custom models, or adapting foundation models for specific tasks. Invoke for configuring LoRA/QLoRA adapters, preparing JSONL training datasets, setting hyperparameters for fine-tuning runs, adapter training, transfer learning, finetuning with Hugging Face PEFT, OpenAI fine-tuning, instruction tuning, RLHF, DPO, or quantizing and deploying fine-tuned models. Trigger terms include: LoRA, QLoRA, PEFT, finetuning, fine-tuning, adapter tuning, LLM training, model training, custom model.

references

El contenido de investigación de este sitio está publicado en inglés y chino, y aquí se muestra en inglés.

Resumen de la investigación

Curado por modelo

Skill Atlas model curation · model-curated-1.0.0

A machine learning Skill for fine-tuning LLMs with LoRA and QLoRA, covering dataset validation, hyperparameters, evaluation against the base model and adapter merging for deployment.

Alcance de la revisión

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Capacidades observables

  • Validates and formats JSONL training data before training starts.
  • Selects a PEFT method: LoRA for most tasks and QLoRA when GPU memory is constrained.
  • Configures Hugging Face PEFT and TRL training with warmup and monitors validation loss.
  • Evaluates against a held-out set and the base model, then merges the adapter and quantizes for deployment.

Limitaciones y alcance

  • Needs GPU resources and model access; the example uses a Llama model ID that may require access approval.
  • It references a validate_dataset.py script that the skill file itself does not provide.
  • No training run or result quality has been verified here.

Relevante para

  • ML engineers adapting open models to specific tasks
  • Teams with constrained GPU memory using QLoRA

Qué incluye la skill

El inventario de archivos procede del código fuente recopilado en el commit registrado. Las rutas y los tamaños son observaciones estructurales, no una medida de calidad.

archivos
6
Archivos Markdown
6
scripts
0
referencias
5
Tamaño
84 KB
Complejidad estructural
Baja

Inventario de archivos

RutaTipoBytes
skills/fine-tuning-expert/references/dataset-preparation.mdReferencia16,1 KB
skills/fine-tuning-expert/references/deployment-optimization.mdReferencia16,7 KB
skills/fine-tuning-expert/references/evaluation-metrics.mdReferencia17,6 KB
skills/fine-tuning-expert/references/hyperparameter-tuning.mdReferencia16,2 KB
skills/fine-tuning-expert/references/lora-peft.mdReferencia10,8 KB
skills/fine-tuning-expert/SKILL.mdInstrucción6,6 KB

Frontmatter de SKILL.md

{
  "name": "fine-tuning-expert",
  "description": "Use when fine-tuning LLMs, training custom models, or adapting foundation models for specific tasks. Invoke for configuring LoRA/QLoRA adapters, preparing JSONL training datasets, setting hyperparameters for fine-tuning runs, adapter training, transfer learning, finetuning with Hugging Face PEFT, OpenAI fine-tuning, instruction tuning, RLHF, DPO, or quantizing and deploying fine-tuned models. Trigger terms include: LoRA, QLoRA, PEFT, finetuning, fine-tuning, adapter tuning, LLM training, model training, custom model.",
  "license": "MIT",
  "metadata": {
    "author": "https://github.com/Jeffallan",
    "company": "https://synergetic.solutions",
    "version": "1.1.0",
    "domain": "data-ml",
    "triggers": "fine-tuning, fine tuning, finetuning, LoRA, QLoRA, PEFT, adapter tuning, transfer learning, model training, custom model, LLM training, instruction tuning, RLHF, model optimization, quantization",
    "role": "expert",
    "scope": "implementation",
    "output-format": "code",
    "related-skills": "devops-engineer"
  }
}

Una lectura de la secuencia de funcionamiento

Este flujo de trabajo reconstruye la secuencia aparente a partir del material de origen. A menos que se registre explícitamente una evaluación controlada, es provisional y no un seguimiento observado.

  1. 01
    Entrada

    Prepare the dataset

    Validate and format the data and run quality checks before training starts.

  2. 02
    Acción

    Select method and train

    Choose LoRA or QLoRA based on GPU memory, then configure hyperparameters and monitor loss curves.

  3. 03
    Decisión

    Check validation loss

    Validation loss must decrease; a plateau or increase signals overfitting.

  4. 04
    Salida

    Evaluate and deploy

    Benchmark against the base model, then merge adapter weights, quantize and measure throughput before serving.

Posibles superficies de riesgo

Los hallazgos estáticos señalan puntos que conviene revisar antes de instalar. No establecen que una skill sea segura, maliciosa ni eficaz.

Se recomienda atención

76 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

Acceso a la redObservado
Escrituras de archivosObservado
Uso de credencialesObservado
Nota

File modification is described or implemented

64 ocurrencias

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 64 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Alta

File deletion is described or implemented

Deletion syntax occurs in this line, including possible documentation. Review its exact target, recursive scope, and safeguards. The analyzer did not execute it. This rule matched 1 location(s) in the collected text; 1 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Media

Network access is mentioned

6 ocurrencias

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 6 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Alta

Credential or secret material is referenced

This line resembles a credential literal or reads a sensitive environment value. Do not expose its contents; verify whether it is a placeholder, required secret, or accidentally committed material. This rule matched 1 location(s) in the collected text; 1 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Examinar todos los hallazgos de seguridad (76 hallazgos)
Alta

Dynamic command execution is referenced

4 ocurrencias

A shell, dynamic evaluation, or process execution primitive appears here. Inspect arguments and input control. Presence in source does not prove a command ran. This rule matched 4 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Nota de seguridad editorial

Check dataset provenance and licensing, and review any scripts before running them on GPU infrastructure or sensitive data.

Dónde puede consumirse el contexto

Las capas de descubrimiento, activación y recursos tienen significados distintos. Los valores exactos solo aparecen cuando el método oficial de recuento se ejecutó con un modelo identificado.

Recuento exacto de tokens no disponible

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

No se registró ninguna medición de tokens con el método oficial requerido. Este dosier no la sustituye por recuentos de caracteres, tamaños de archivo ni estimaciones.

Evaluación controlada

Sin evaluación controlada

Esta skill solo cuenta con las evidencias indicadas arriba. No se afirma ninguna tasa de éxito, eficiencia de tokens, latencia ni ventaja de calidad.

Sin probar

Úsala con el código fuente a la vista

Comando de instalación
git clone https://github.com/Jeffallan/claude-skills.git cd claude-skills # Copy this skill directory into one of: # ~/.claude/skills/fine-tuning-expert # .claude/skills/fine-tuning-expert
  1. Open the pinned source at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/fine-tuning-expert/SKILL.md.
  2. Review the license, prerequisites and all bundled reference files.
  3. Copy the skill directory into a personal or project-level Claude Code skills directory.
  4. Restart or refresh Claude Code so the skill can be discovered.
Verificar la instalación

Ask Claude Code to draft a LoRA config and dataset validation plan, and confirm it includes evaluation before deployment.

Requisitos previos

  • Needs GPU resources and model access; the example uses a Llama model ID that may require access approval.
  • It references a validate_dataset.py script that the skill file itself does not provide.
  • No training run or result quality has been verified here.

Prompts de ejemplo

Representative task

Use the fine-tuning-expert skill to plan a QLoRA fine-tune of a 7B model on my instruction JSONL file: validate the dataset, propose LoraConfig and TrainingArguments, and define evaluation against the base model.

Inspect before use

Read the fine-tuning-expert skill at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/fine-tuning-expert/SKILL.md. Explain its workflow, required tools, permissions and the main risks before I decide whether to install it.

Una decisión, con sus límites

Fortalezas

  • Defines checkpoints at each stage including data quality and loss curves.
  • Forbids deploying without held-out evaluation and a latency benchmark.

Aspectos a considerar

  • Example hyperparameters are starting points and need tuning for each task.
  • Training and deployment steps can be costly in compute and time.
Conclusión de la investigación

A well-structured workflow for parameter-efficient fine-tuning that still relies on you to supply data, compute and judgment.

Trazable por construcción

El dosier es una lectura acotada en el tiempo de un artefacto público, no un respaldo. Usa el enlace al código fuente para inspeccionar el material original exacto.

Jeffallanclaude-skillsskills/fine-tuning-expert
Tipo de origen
Comunidad
Commit
67c1961b180dc92cf08983344627109e983e8f51
Recopilado
20 nov 2026
Última comprobación
20 nov 2026
Licencia original
MIT
Estrellas del repositorio
12.469
Base del contenido

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.