This blog post covers how to use Unsloth and Hugging Face Jobs for fast LLM fine-tuning (specifically LiquidAI/LFM2.5-1.2B-Instruct ) through coding agents like Claude Code and Codex. Unsloth provides ~2x faster training and ~60% less VRAM usage compared to standard methods, so training small models can cost just a few dollars.
Why a small model? Small language models like LFM2.5-1.2B-Instruct are ideal candidates for fine-tuning. They are cheap to train, fast to iterate on, and increasingly competitive with much larger models on focused tasks. LFM2.5-1.2B-Instruct runs under 1GB of memory and is optimized for on-device deployment, so what you fine-tune can be served on CPUs, phones, and laptops.
We are giving away free credits to fine-tune models on Hugging Face Jobs. Join the Unsloth Jobs Explorers organization to claim your free credits and one-month Pro subscription.
If you want to train a model using HF Jobs and Unsloth, you can simply use the hf jobs CLI to submit a job.
First, you need to install the hf CLI. You can do this by running the following command:.
Next you can run the following command to submit a job:.
Check out the training script and Hugging Face Jobs documentation for more details.
Industry observers note that hugging Face model training skill lowers barrier of entry to train a model by simply prompting. First, install the skill with your coding agent.
Claude Code discovers skills through its plugin system, so we need to install the Hugging Face skills first. To do so:.
For more details, see the documentation on using the hub with skills or the Claude Code Skills docs.
Codex discovers skills through AGENTS.md files and .agents/skills/ directories.
Install individual skills with $skill-installer:.
For more details, see the Codex Skills docs and the AGENTS.md guide.
A generic install method is simply to clone the skills repository and copy the skill to your agent's skills directory.
Once the skill is installed, ask your coding agent to train a model:.
The agent will generate a training script based on an example in the skill, submit the training to HF Jobs, and provide a monitoring link via Trackio.
Training jobs run on Hugging Face Jobs, fully managed cloud GPUs. The agent:.
The skill generates scripts like this based on the example in the skill.
For a full overview of Hugging Face Spaces pricing, check out the guide here.
Fake advertising unfortunately.