fine-tuning

Solid

Use when considering fine-tuning a model. Covers when fine-tuning beats prompting or RAG, dataset construction, LoRA and full fine-tuning, evaluation, and the failure modes that waste the effort.

AI & Automation 23 stars 2 forks Updated today MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
46
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Fine-Tuning ## Purpose Decide whether fine-tuning is warranted, and do it properly if it is. Most fine-tuning projects should have been prompt engineering or retrieval, and the ones that should be fine-tuning usually fail on dataset quality rather than on the training. ## When to Use - A task where prompting has plateaued below the required accuracy. - A specific output format, style, or domain vocabulary the model will not adopt reliably. - Reducing cost by making a small model do what currently requires a large one. - Evaluating an existing fine-tuned model that underperforms. ## Capabilities - Deciding between prompting, RAG, and fine-tuning. - Dataset construction, curation, and splitting. - LoRA and QLoRA versus full fine-tuning. - Hyperparameter selection and overfitting detection. - Evaluation against the base model on the same set. ## Inputs - The task, and the accuracy prompting achieves on it. - Available training data — its volume, and honestly, its quality. - Latency and cost constraints. ## Outputs - A justified decision to fine-tune, or not to. - A curated dataset with clean train/validation/test splits. - A model measurably better than the base model on a held-out set. ## Workflow 1. **Exhaust prompting first** — Few-shot examples, a clearer output contract, a better model. Fine-tuning cannot teach knowledge the model lacks; it teaches behavior. If the problem is that the model does not *know* something, use retrieval instead. 2. **Decide what fin...

Details

Author
nimadorostkar
Repository
nimadorostkar/Claude-Skills-collection
Created
1 weeks ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

fine-tuning-desk

assess and plan fine tuning only when prompt, retrieval, tool, model routing, and eval evidence justify training a specialized model.

2 Updated 2 days ago
MadewellRD
AI & Automation Solid

fine-tuning-expert

Use when fine-tuning LLMs, training custom models, or optimizing model performance for specific tasks. Invoke for parameter-efficient methods, dataset preparation, or model adaptation.

4 Updated today
zacklecon
AI & Automation Listed

senior-fine-tuning-engineer

Use when scoping, justifying, running, evaluating, or operating a fine tune of an LLM or other foundation model: supervised fine tuning (SFT), direct preference optimization (DPO), RLHF or RLAIF, instruction tuning, continued pretraining, parameter efficient adapters (LoRA, QLoRA, PEFT), knowledge distillation, dataset curation, preference pair labeling, decontamination against eval, hosted fine tuning APIs (OpenAI, Anthropic, Together, Replicate), or bring your own GPU training on `Llama-3.1-70B`, `Mistral-Nemo`, Qwen, Gemma, HuggingFace base models. Triggers: fine tune, fine tuning, SFT, adapter, distillation, reward model, preference pairs, instruction dataset, base model, foundation model, Llama, Mistral, `bitsandbytes`, catastrophic forgetting. Produces fine tune justification docs, dataset cards, training configs, eval delta reports, model cards. Not for the eval harness itself, see senior-eval-engineer; not for the training platform, registry, or serving, see senior-mlops-engineer.

0 Updated 1 weeks ago
iamdemetris