Prototype: votes, saves, and profiles aren't stored on this hosted preview yet. No real accounts, and no emails or texts. Privacy

Recipes / Customer-support chat

Your first fine-tune on HF Jobs (TRL docs)

Qwen2-0.5B-Instruct fine-tuned on the Capybara chat dataset, then pushed to your account.

  • No license stated

Source: TRL docs ↗ · by Hugging Face · last updated Nov 9, 2026

What a local business could build with it

The cheapest way to see a fine-tune end to end. The model is tiny, so this proves your pipeline works; swap in your own chat data and a bigger base model for anything customer-facing.

How to run it

Commands are copied from the source, unchanged except where a notebook cell is cut at 40 lines (marked in the code). Placeholders like <you> are the source's own. Credit goes to the authors named on each block.

A first run

hf jobs uv run \ --flavor a10g-small \ --timeout 30m \ --secrets HF_TOKEN \ -- \ https://raw.githubusercontent.com/huggingface/trl/refs/heads/main/trl/scripts/sft.py \ --model_name_or_path Qwen/Qwen2-0.5B-Instruct \ --dataset_name trl-lib/Capybara \ --max_steps 100 \ --output_dir Qwen2-0.5B-SFT \ --push_to_hub

From TRL docs, Training with Jobs ↗

Licenses

License flags to read before commercial use:

  • Dataset: No license stated. No license stated on the card
PartLicense, as the source or Hub states it
CodeApache-2.0 (huggingface/trl)
Base modelApache-2.0
DatasetNo license stated on the card

Checked against the Hugging Face API and each repo on December 4, 2026. A grouping like “$10M revenue cap” is our shorthand, not legal advice.