Hugging Face Model Trainer

This skill should be used when users want to train or fine-tune language models using TRL (Transformer Reinforcement Learning) on 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, and model persistence. Should be invoked for tasks involving cloud GPU training, GGUF conversion, or when users mention training on Hugging Face Jobs without local GPU setup.

alejandro-ao caf1a05 18 files · 158.6 KB Updated

File contents

alejandro-ao/hf-skills/tree/main/skills/hugging-face-model-trainer commit caf1a051e8

Frequently asked questions

npx skillmds@latest add alejandro-ao/hugging-face-model-trainer