Torna al catalogo
Curato dal modelloAltro

Dossier della skill

fine-tuning-expert

Dichiarazione di fonte

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 descrizione originale dell'autore, conservata in inglese. Descrive l'intento, non prestazioni verificate.

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

I contenuti di ricerca di questo sito sono pubblicati in inglese e cinese e qui sono mostrati in inglese.

Sintesi della ricerca

Curato dal modello

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.

Ambito della revisione

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.

Capacità osservabili

  • 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.

Limiti e ambito

  • 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.

Utile per

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

Cosa contiene la skill

L'inventario dei file proviene dal sorgente raccolto al commit registrato. Percorsi e dimensioni sono osservazioni strutturali, non una misura di qualità.

file
6
File Markdown
6
script
0
riferimenti
5
Dimensione
84 KB
Complessità strutturale
Bassa

Inventario dei file

PercorsoTipoByte
skills/fine-tuning-expert/references/dataset-preparation.mdRiferimento16,1 KB
skills/fine-tuning-expert/references/deployment-optimization.mdRiferimento16,7 KB
skills/fine-tuning-expert/references/evaluation-metrics.mdRiferimento17,6 KB
skills/fine-tuning-expert/references/hyperparameter-tuning.mdRiferimento16,2 KB
skills/fine-tuning-expert/references/lora-peft.mdRiferimento10,8 KB
skills/fine-tuning-expert/SKILL.mdIstruzione6,6 KB

Frontmatter di 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 lettura della sequenza operativa

Questo workflow ricostruisce la sequenza apparente a partire dal materiale sorgente. A meno che sia registrata esplicitamente una valutazione controllata, è provvisorio e non una traccia osservata.

  1. 01
    Input

    Prepare the dataset

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

  2. 02
    Azione

    Select method and train

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

  3. 03
    Decisione

    Check validation loss

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

  4. 04
    Output

    Evaluate and deploy

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

Possibili superfici di rischio

I rilievi statici indicano i punti da esaminare prima dell'installazione. Non stabiliscono che una skill sia sicura, dannosa o efficace.

Attenzione consigliata

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.

Accesso alla reteOsservato
Scritture su fileOsservato
Uso di credenzialiOsservato
Nota

File modification is described or implemented

64 occorrenze

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.

Alto

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.

Medio

Network access is mentioned

6 occorrenze

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.

Alto

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.

Esamina tutti i rilievi di sicurezza (76 rilievi)
Alto

Dynamic command execution is referenced

4 occorrenze

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 di sicurezza editoriale

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

Dove può essere consumato il contesto

I livelli di individuazione, attivazione e risorse hanno significati diversi. I valori esatti compaiono solo quando il metodo ufficiale di conteggio è stato eseguito con un modello indicato.

Conteggio esatto dei token non disponibile

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

Non è stata registrata alcuna misura dei token con il metodo ufficiale richiesto. Questo dossier non la sostituisce con conteggi di caratteri, dimensioni dei file o stime.

Valutazione controllata

Nessuna valutazione controllata

Questa skill dispone solo delle evidenze indicate sopra. Non si afferma alcun tasso di successo, efficienza in token, latenza o vantaggio di qualità.

Non testato

Usare tenendo il sorgente in vista

Comando di installazione
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.
Verifica dell'installazione

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

Prerequisiti

  • 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.

Prompt di esempio

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.

Un giudizio, con i suoi limiti

Punti di forza

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

Aspetti da valutare

  • Example hyperparameters are starting points and need tuning for each task.
  • Training and deployment steps can be costly in compute and time.
Conclusione della ricerca

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

Tracciabile per costruzione

Il dossier è una lettura circoscritta nel tempo di un artefatto pubblico, non un'approvazione. Usa il link al sorgente per esaminare il materiale upstream esatto.

Jeffallanclaude-skillsskills/fine-tuning-expert
Tipo di fonte
Community
Commit
67c1961b180dc92cf08983344627109e983e8f51
Raccolta
20 nov 2026
Ultimo controllo
20 nov 2026
Licenza upstream
MIT
Stelle del repository
12.469
Base dei contenuti

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.