Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add oyi77/1ai-skills --skill model-fine-tuninggit clone --depth 1 https://github.com/oyi77/1ai-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/oyi77/1ai-skills/model-fine-tuning)<a href="https://agentmods.dev/skills/oyi77/1ai-skills/model-fine-tuning"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/model-fine-tuning/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/model-fine-tuning"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/model-fine-tuning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.01948 |
| Opus 5.5 | $0.00020 | $0.00779 |
| Sonnet 5.5 | $0.00010 | $0.00390 |
| Haiku 4.5 | $0.00005 | $0.00195 |
Grade A, and why
model-fine-tuning scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 284 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Overview
Fine-tune pre-trained models for specific tasks. Covers LoRA/QLoRA for efficient training, dataset preparation, evaluation, and deployment of custom models.
Capabilities
- Fine-tune LLMs with LoRA and QLoRA (low-rank adaptation)
- Prepare datasets in instruction/chat format
- Use Hugging Face Transformers + PEFT for training
- Evaluate fine-tuned models with benchmarks
- Merge LoRA adapters back into base models
- Deploy fine-tuned models via vLLM or Ollama
When to Use
Trigger phrases:
-
"model fine tuning"
-
"Fine-tune LLMs and ML models — LoRA, QLoRA, PEFT, Hugging Face"
-
Need a model specialized for a specific domain (legal, medical, code)
-
Want better performance on specific tasks than general models
-
Have domain-specific data that improves with training
-
Need to reduce model size while maintaining quality
-
Building a product that needs a custom AI model
When NOT to Use
- Task is outside your authorization scope
- You need to implement controls (use implementing-* skills)
- Task is about analysis, not action (use analyzing-* skills)
- You don't have access to target systems
- Task requires compliance expertise (consult professionals)
- Task is about defense, not offense (use defensive skills)
Pseudo Code
# Example workflow for this skill
def execute(input_data):
# Step 1: Validate input
if not input_data:
raise ValueError("Input data is required")
# Step 2: Process core logic
result = process(input_data)
# Step 3: Validate output
validate_output(result)
return result
Dataset Preparation (Hugging Face Format)
from datasets import Dataset
# Instruction format
data = [
{"instruction": "Summarize this text", "input": "Long article...", "output": "Summary..."},
{"instruction": "Translate to French", "input": "Hello world", "output": "Bonjour le monde"},
]
# Chat format (for chat models)
data = [
{"messages": [
{"role": "system", "content": "You are a legal assistant."},
{"role": "user", "content": "What is a contract?"},
{"role": "assistant", "content": "A contract is a legally binding agreement..."}
]},
]
dataset = Dataset.from_list(data)
dataset.push_to_hub("username/my-dataset")
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 284 lines · 49 tokens per session scan A 0d51490f1af3
model-fine-tuning is a skill published in the GitHub repository oyi77/1ai-skills (19 stars, last pushed 2d ago), licensed MIT. It adds 49 tokens to every session and 1,948 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
model-fine-tuning compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| model-fine-tuningoyi77/1ai-skills | Skill | 19 | 2d ago | MIT | A | 49 | Claude Code |
| knowledge-orgbojieli/ai-agent-book | Skill | 61k | yesterday | Apache-2.0 | A | 96 | Claude Code, Codex |
| execution-hygienesynthetic-sciences/openscience | Skill | 4.5k | today | Apache-2.0 | A | 150 | Claude Code |
| generate-imagesynthetic-sciences/openscience | Skill | 4.5k | today | Apache-2.0 | A | 103 | Claude Code |
| browserwing-adminMemTensor/MemOS | Skill | 13k | yesterday | Apache-2.0 | B | 47 | Claude Code, Codex |
| memmachine-memoryMemMachine/MemMachine | Skill | 3.1k | today | Apache-2.0 | A | 96 | Codex |
| wegent-knowledgewecode-ai/Wegent | Skill | 897 | yesterday | Apache-2.0 | A | 60 | Claude Code, Codex |