huggingface/hugging-face-model-trainer
Train models with TRL: SFT, DPO, GRPO, GGUF conversion
Open source
Description
hugging-face-model-trainer is an agent skill from Hugging Face for training and fine-tuning language models on the company's cloud GPU infrastructure, using TRL. It supports SFT, DPO, GRPO and reward modeling. It handles job submission, dataset validation, cost estimation and GGUF conversion for local deployment. The page says that instead of managing cloud machines, writing job configs and remembering to push checkpoints before the environment is destroyed, the skill handles submission, Hub authentication, timeout sizing and Trackio monitoring in one workflow. Example jobs from the page are fine-tuning a Qwen or Llama model on a custom instruction dataset without owning a GPU, running DPO training on preference data to align a model's outputs, converting a freshly trained model to GGUF for use with Ollama or LM Studio, and validating a dataset's column format before spending money on a GPU run. It is for teams and researchers who want to fine-tune open models without buying hardware. Install it with npx skills add https://github.com/huggingface/skills --skill hugging-face-model-trainer. The skill is in the huggingface skills repository on GitHub, labelled official.…
Highlights
- SFT, DPO, GRPO and reward modeling with TRL
- Dataset validation before training
- Cost estimation
- GGUF conversion for local use
- Trackio monitoring and checkpoint handling
Ratings & Reviews
No ratings yet
Be the first to rate huggingface/hugging-face-model-trainer.
People also visit
huggingface/hugging-face-model-trainer FAQ
What training methods does it support?
The page lists SFT, DPO, GRPO and reward modeling, all run with TRL.
Do I need my own GPU?
No. Training runs on Hugging Face's cloud GPU infrastructure, according to the page.
How do I install it?
Run npx skills add https://github.com/huggingface/skills --skill hugging-face-model-trainer.
Can I run the model locally afterward?
Yes. The skill converts a trained model to GGUF for use with Ollama or LM Studio.
Who publishes it?
Hugging Face, in its skills repository on GitHub. The page labels it official.
What are the best huggingface/hugging-face-model-trainer alternatives?
Popular alternatives to huggingface/hugging-face-model-trainer include huggingface-llm-trainer, fine-tuning-expert and tao-finetune-huggingface-model. See all huggingface/hugging-face-model-trainer alternatives








