huggingface-llm-trainer
Skill0 starsChanged 7 months agoApache-2.0View on GitHub
Guardrail for training, evaluating, exporting, and publishing local or cloud Hugging Face LLM fine-tuning runs.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- vijaysuperpositionist/skillstheir own version, first seen Nov 1, 2026
- PracticalSwan/agent-skillstheir own version, first seen Oct 19, 2026
- The-Utopia-Studio/skillstheir own version, first seen Oct 13, 2026
- waybarrios/opencode-power-packtheir own version, first seen Oct 13, 2026
- huggingface/skillstheir own version, first seen Oct 1, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- huggingface/skills★ 11ksame name
- waybarrios/opencode-power-pack★ 547same name
- PracticalSwan/agent-skills★ 22same name
- The-Utopia-Studio/skills★ 6same name
- vijaysuperpositionist/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository57 other files it gives its agents.
- ai-app-integrationSkill
- anti-llm-frontend-designSkill
- aspnet-core-web-developmentSkill
- async-python-patternsSkill
- browser-game-foundationsSkill
- browser-local-qaSkill
- build-mcp-server-sdk-v2Skill
- canva-design-opsSkill
- check-completionSkill
- cli-tool-creatorSkill
- cloudflare-agents-mcpSkill
- cloudflare-durable-objectsSkill
- cloudflare-workers-platformSkill
- deployment-preview-workflowsSkill
- docx-document-artifactsSkill
- durable-workflow-orchestrationSkill
- dynamic-og-imagesSkill
- eval-auditSkill
- evaluate-ragSkill
- figma-design-to-code-rulesSkill
- fine-tuningSkill
- frontend-product-builderSkill
- game-asset-pipeline-expansionSkill
- game-ui-playtestSkill
- generate-synthetic-dataSkill
- github-pr-ci-opsSkill
- gmail-inbox-opsSkill
- golden-datasetSkill
- javascript-monorepo-buildsSkill
- linear-issue-managementSkill
- media-generation-transcriptionSkill
- millrace-rs-contract-paritySkill
- minecraft-mod-qa-automationSkill
- notion-workspace-flowsSkill
- openai-docsSkill
- optimize-agentic-cliSkill
- pdf-artifact-workflowSkill
- phaser-2d-game-developmentSkill
- postgres-query-performanceSkill
- product-ui-polish-reviewSkill
- pydantic-v2-patternsSkill
- python-repo-refactoring-hygieneSkill
- rag-corpus-hygieneSkill
- react-next-performance-reviewSkill
- rust-best-practicesSkill
- shadcn-ui-compositionSkill
- skill-evaluation-harnessSkill
- tauri-desktopSkill
- tauri-mcp-cliSkill
- tauri-ptySkill
- tile-pixel-art-transitionsSkill
- train-sentence-transformersSkill
- typer-cli-patternsSkill
- using-dbt-for-analytics-engineeringSkill
- validate-evaluatorSkill
- visual-asset-pipelineSkill
- watchdog-file-watcher-patternsSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
Run a smoke job before long training.
- Distinctive: line 37
Do not start cloud jobs without confirming cost and artifact destinations.
- Distinctive: line 38
Do not push private data, tokens, or unsafe model cards to the Hub.
- Distinctive: line 39
Do not assume CPU training is practical beyond demos.
- Distinctive: line 40
Do not export GGUF or merged adapters until checkpoint quality is known.
- Distinctive: line 41
Keep environment, package versions, model revision, and command records.
- Distinctive: line 73
Start with data, model, hardware, and objective.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Hugging Face LLM Trainer
Purpose
Help agents run Hugging Face-based LLM training workflows with clear hardware planning, dataset validation, Trainer or TRL configuration, checkpoint evaluation, Hub persistence, and optional export.
Quick Start
- Confirm model, dataset, objective, hardware, and license constraints.
- Validate dataset format and token length before training.
- Choose local or cloud execution based on fit and budget.
- Run a smoke job before long training.
- Evaluate checkpoints against a baseline.
- Push or export artifacts only after validation and privacy checks.
Operating Constraints
- Do not start cloud jobs without confirming cost and artifact destinations.
- Do not push private data, tokens, or unsafe model cards to the Hub.
- Do not assume CPU training is practical beyond demos.
- Do not export GGUF or merged adapters until checkpoint quality is known.
- Keep environment, package versions, model revision, and command records.
Inputs This Skill Expects
- Base model, dataset, objective, expected output format, and split files.
- Hardware profile or cloud provider target.
- Training method: full fine-tune, LoRA, QLoRA, SFT, preference tuning, or export.
- Evaluation command, target metric, and baseline.
- Hub repo or local artifact policy.
Output Contract
- Provide a training plan with hardware fit, data validation, command/config, smoke run, full run, evaluation, and artifact handling.
- State blocked conditions before training.
- Report checkpoint comparison and artifact locations.
- State whether the result should be adopted, iterated, or rejected.
Procedure
- Inspect dataset and model compatibility.
- Choose training method and hardware path.
- Validate tokenization, splits, and sensitive content.
- Prepare config and smoke run.
- Execute training and monitor logs.
- Evaluate checkpoints against baseline.
- Push, export, or archive artifacts according to policy.
Pitfalls And Gotchas
- Discovering sequence length or memory problems after launching a long job.
- Losing artifacts from ephemeral cloud jobs.
- Publishing private data through model cards, examples, or repository names.
- Treating adapter merge/export as validation.
- Ignoring package version drift.
Progressive Disclosure
Start with data, model, hardware, and objective. Expand into cloud jobs, Unsloth, TRL variants, GGUF export, Hub automation, or multi-GPU only when the run requires those branches.
Verification Pattern
- Confirm dataset validation and token-length checks pass.
- Confirm smoke training finishes.
- Confirm checkpoint evaluation compares to baseline.
- Confirm artifacts are stored or pushed according to policy.
- Confirm final instructions include reproduce and rollback paths.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

