Hub documentation

Examples & Tutorials

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Examples & Tutorials

Train models

The launch commands for Transformers, TRL, Unsloth and Axolotl are on Train Models on Jobs. Each one links to the library’s own guide.

Process data at scale

DataTrove provides an experimental JobsPipelineExecutor for distributing data processing pipelines across a pool of Jobs. It supports concurrency limits, multi-stage dependencies, retries, and resumable runs — re-running a pipeline skips tasks that already completed and only runs the remaining ones.

See the ready-to-run examples for:

UV Scripts

The uv-scripts organization maintains a collection of self-contained uv scripts that run on Jobs with a single command. Scripts cover OCR, batch inference, text classification, object detection, dataset statistics, embedding visualization, and more.

Unsloth also provides ready-to-run training scripts for fine-tuning LLMs and VLMs on Jobs.

Coding Agent Skills

Coding agents like Claude Code, Codex and Cursor can submit and monitor Jobs for you. Install the hf CLI skill, generated from your installed CLI so it stays current:

hf skills add

See Hugging Face CLI for AI agents for setup per agent, and Agent Skills for training and other workflow skills.

Sandboxes

The expose ports feature of Jobs makes them a great fit for building sandboxes, i.e. temporary self-contained environments used by agents and LLM applications.

Community Tutorials and Projects


Have a tutorial or project using Jobs? Open a PR to add it here.

Update on GitHub