Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Train or fine-tune vision models on Hugging Face Jobs for detection, classification, and SAM or SAM2 segmentation.
.claude/skills/hugging-face-vision-trainer/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | 346% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 433% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 318% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 457% | 0% |
| case-19 | ✗→✓ | ▲ Improved | 622% | 0% |
Train object detection, image classification, and SAM/SAM2 segmentation models on managed cloud GPUs. No local GPU setup required—results are automatically saved to the Hugging Face Hub.
Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
Use this skill when users want to:
Before starting any training job, verify:
hf_whoami() (tool) or hf auth whoami (terminal)objects column with bbox, category (and optionally area) sub-fieldsimage_id column is optional — generated automatically if missingimage column (PIL images) and a label column (integer class IDs or strings)ClassLabel type (with names) or plain integers/strings — strings are auto-remappedlabel, labels, class, fine_labelimage column (PIL images) and a mask column (binary ground-truth segmentation mask)prompt column with JSON containing {"bbox": [x0,y0,x1,y1]} or {"point": [x,y]}bbox column with [x0,y0,x1,y1] valuespoint column with [x,y] or [[x,y],...] valuesmerve/MicroMat-mini (image matting with bbox prompts)push_to_hub=True, hub_model_id="username/model-name", token in secrets| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-06 | pass→pass | 12,912 | 23,079 | +79% | 1 | 1 | 0% | 2,204 | 13,840 | +528% | 0 | 0 | — |
case-01 | fail→fail | 4,022 | 7,124 | +77% | 1 | 1 | 0% | 538 | 9,161 | +1603% | 0 | 0 | — |
case-02 | fail→fail | 8,194 | 8,251 | +1% | 1 | 1 | 0% | 494 | 9,225 | +1767% | 0 | 0 | — |
case-03 | fail→fail | 23,764 | 10,781 | -55% | 1 | 1 | 0% | 551 | 9,834 | +1685% | 0 | 0 | — |
case-04 | pass→pass | 20,376 | 19,350 | -5% | 1 | 1 | 0% | 4,563 | 12,865 | +182% | 0 | 0 | — |
case-05 | pass→pass | 19,338 | 13,161 | -32% | 1 | 1 | 0% | 3,700 | 10,945 | +196% | 0 | 0 | — |
case-07 | fail→pass | 11,341 | 5,004 | -56% | 1 | 1 | 0% | 2,147 | 9,575 | +346% | 0 | 0 | — |
case-08 | fail→pass | 11,506 | 5,110 | -56% | 1 | 1 | 0% | 1,787 | 9,521 | +433% | 0 | 0 | — |
case-09 | pass→pass | 7,732 | 4,312 | -44% | 1 | 1 | 0% | 1,457 | 9,294 | +538% | 0 | 0 | — |
case-10 | pass→pass | 4,710 | 2,516 | -47% | 1 | 1 | 0% | 858 | 9,008 | +950% | 0 | 0 | — |
case-11 | pass→pass | 9,109 | 6,594 | -28% | 1 | 1 | 0% | 1,721 | 9,734 | +466% | 0 | 0 | — |
case-12 | pass→pass | 7,176 | 3,626 | -49% | 1 | 1 | 0% | 1,313 | 9,248 | +604% | 0 | 0 | — |
case-13 | fail→pass | 13,656 | 8,512 | -38% | 1 | 1 | 0% | 2,423 | 10,124 | +318% | 0 | 0 | — |
case-14 | pass→pass | 8,803 | 3,698 | -58% | 1 | 1 | 0% | 1,248 | 9,226 | +639% | 0 | 0 | — |
case-15 | pass→pass | 7,689 | 4,062 | -47% | 1 | 1 | 0% | 1,237 | 9,347 | +656% | 0 | 0 | — |
case-16 | pass→pass | 21,978 | 5,056 | -77% | 1 | 1 | 0% | 1,697 | 9,433 | +456% | 0 | 0 | — |
case-17 | pass→pass | 7,810 | 2,529 | -68% | 1 | 1 | 0% | 1,165 | 8,923 | +666% | 0 | 0 | — |
case-18 | fail→pass | 9,710 | 5,065 | -48% | 1 | 1 | 0% | 1,704 | 9,490 | +457% | 0 | 0 | — |
case-19 | fail→pass | 8,486 | 2,774 | -67% | 1 | 1 | 0% | 1,239 | 8,950 | +622% | 0 | 0 | — |
case-20 | pass→pass | 7,709 | 3,602 | -53% | 1 | 1 | 0% | 1,276 | 9,132 | +616% | 0 | 0 | — |
case-21 | pass→pass | 15,219 | 9,957 | -35% | 1 | 1 | 0% | 2,935 | 10,454 | +256% | 0 | 0 | — |
case-22 | pass→pass | 10,845 | 7,335 | -32% | 1 | 1 | 0% | 1,811 | 9,796 | +441% | 0 | 0 | — |
case-23 | fail→pass | 7,753 | 3,432 | -56% | 1 | 1 | 0% | 1,555 | 9,153 | +489% | 0 | 0 | — |
case-24 | fail→fail | 20,757 | 5,190 | -75% | 1 | 1 | 0% | 2,596 | 9,581 | +269% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 24 cases were attempted, and 22 counted toward the lift figure. The other 2 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +25 percentage points is the difference between those two pass rates over the 22 comparable cases.
The publisher has shipped newer versions since this run, so these numbers describe v2, not the version currently listed.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 7/30/2026 | +64% |
Other measured skills in the registry, with their headline benchmark lift.