Huggingface LLM Trainer

Train or fine-tune language and vision models using TRL (Transformer Reinforcement Learning) or Unsloth with Hugging Face Jobs infrastructure. Covers SFT, DPO, GRPO and reward modeling training methods, plus GGUF conversion for local deployment. Includes guidance on the TRL Jobs package, UV scripts with PEP 723 format, dataset preparation and validation, hardware selection, cost estimation, Trackio monitoring, Hub authentication, model selection/leaderboards and model persistence. Use for tasks involving cloud GPU training, GGUF conversion, or when users mention training on Hugging Face Jobs without local GPU setup.

practicalswan 92c1dfb 21 files · 199.7 KB Updated

File contents

practicalswan/agent-skills/tree/main/huggingface-llm-trainer commit 92c1dfb739

Frequently asked questions

npx skillmds add practicalswan/huggingface-llm-trainer