01
It starts by itself
training run requested. Runs in Claude Code.
- ↻ training run requested
on request to train or fine-tune a model
Fine-tuned models saved to Hub.
Install the Hugging Face LLM Trainer skill and make it a habit: follow https://gethabit.dev/skills/huggingface/huggingface-llm-trainer.md
2K installs11K starsApache-2.0 licenceSource on GitHub ↗

Hugging Face LLM Trainer
by huggingface · 2K installs
The skill
The hugging face llm trainer skill fine-tunes language and vision models with TRL or Unsloth on Hugging Face Jobs, with SFT, DPO, GRPO, dataset validation, Trackio monitoring and GGUF conversion, for builders without a local GPU.
Only when you ask.
The habit
Fine-tuned models saved to Hub.
↻ Runs by itselftraining run requested
When does it start? How does it check its work? What does it remember?
Stops after one submitted job per run; no automatic status polling.
Confirm authentication with hf_whoami and a token with write access.
Run the dataset inspector and apply mapping code if it says NEEDS MAPPING.
Use hf_benchmarks.py for a base model and match the flavor to model size.
Offer estimate_cost.py for time and a recommended timeout with buffer.
Base it on train_sft_example.py or a DPO or GRPO template, with Trackio.
Submit inline with hf_jobs, with timeout and HF_TOKEN in secrets.
Give the job ID and monitoring URL, then wait for the user to ask for status.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Hugging Face LLM Trainer skill helps.
The Jobs environment is temporary, so an unpushed model is lost when the job ends.
Yes. After training it can convert the model to GGUF with the conversion guide.
Copy the prompt at the top into your agent. It installs the skill from huggingface/skills and sets up the habit. Or run npx skills add huggingface/skills --skill huggingface-llm-trainer.
Yes. It is published under Apache-2.0. Habit is free too.
Install the Hugging Face LLM Trainer skill and make it a habit: follow https://gethabit.dev/skills/huggingface/huggingface-llm-trainer.md
All huggingface skills →More ops skills →
Works in
Made by huggingface, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?