smithery/pluginagentmarketplace

fine-tuning

LLM fine-tuning and prompt-tuning techniques

Installation

$ npx skills add smithery/pluginagentmarketplace --skill fine-tuning

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/pluginagentmarketplace · top by installs.

npx skills add smithery/pluginagentmarketplace

Browse all from smithery/pluginagentmarketplace

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,666 B
  • docs SUMMARY.md 63 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Fine-Tuning Skill

Bonded to: prompt-optimization-agent


Quick Start

Skill("custom-plugin-prompt-engineering:fine-tuning")

Parameter Schema

parameters:
  tuning_method:
    type: enum
    values: [full, lora, qlora, prompt_tuning, prefix_tuning]
    default: lora

  dataset_size:
    type: enum
    values: [small, medium, large]
    description: "<1k, 1k-10k, >10k examples"

  compute_budget:
    type: enum
    values: [low, medium, high]
    default: medium

Tuning Methods Comparison

Method Parameters Compute Quality Best For
Full Fine-tune All Very High Highest Maximum customization
LoRA ~0.1% Low High Resource-constrained
QLoRA ~0.1% Very Low Good Consumer GPUs
Prompt Tuning <0.01% Minimal Good Simple tasks
Prefix Tuning ~0.1% Low Good Generation tasks

Dataset Preparation

Format Templates

formats:
  instruction:
    template: |
      ### Instruction
      {instruction}

      ### Response
      {response}

  chat:
    template: |
      <|user|>
      {user_message}
      <|assistant|>
      {assistant_response}

  completion:
    template: "{input}{output}"

Quality Criteria

quality_checklist:
  - [ ] No duplicate examples
  - [ ] Consistent formatting
  - [ ] Diverse examples
  - [ ] Balanced categories
  - [ ] High-quality outputs
  - [ ] No harmful content

Training Configuration

training_config:
  hyperparameters:
    learning_rate: 2e-5
    batch_size: 8
    epochs: 3
    warmup_ratio: 0.1

  lora_config:
    r: 16
    alpha: 32
    dropout: 0.05
    target_modules: ["q_proj", "v_proj"]

  evaluation:
    eval_steps: 100
    save_steps: 500
    metric: loss

Evaluation Framework

Metric Purpose Target
Loss Training progress Decreasing
Accuracy Task performance >90%
Perplexity Model confidence <10
Human eval Quality assessment Preferred >80%

Troubleshooting

Issue Cause Solution
Overfitting Small dataset Add regularization
Underfitting Low epochs Increase training
Catastrophic forgetting Aggressive tuning Lower learning rate
Poor generalization Data bias Diversify dataset

References

See: Hugging Face PEFT, OpenAI Fine-tuning Guide