Skill: Hugging Face Vision Trainer
by Hugging Face
Fine-tune object detection, image classification and SAM/SAM2 segmentation models on Hugging Face Jobs cloud GPUs, with dataset validation before you spend GPU minutes.
Train bi-encoders, rerankers, SPLADE sparse encoders and ColBERT multi-vector models with the loss, evaluator and template each type actually needs.
Hugging Face's sentence-transformers training skill is deliberately built as a router rather than a manual, and that design choice is the point. It first pins down which of four model types you are training — SentenceTransformer (bi-encoder, dense or static embeddings for retrieval, clustering, dedup and paraphrase mining), CrossEncoder (reranker scoring query/passage pairs for two-stage retrieval), SparseEncoder (SPLADE-style sparse vectors for inverted-index backends such as Elasticsearch or OpenSearch), or MultiVectorEncoder (ColBERT-style per-token embeddings scored with MaxSim) — and then tells the agent exactly which reference files and production template to open.
It explicitly forbids synthesising a training script from the skill file alone, and gives the reason: the per-type templates carry load-bearing scaffolding that agents repeatedly reinvent badly — the autocast helper, model-card class, logger-silencing list, force=True, seeding, TF32 handling, version-compatible imports and named-evaluator metric keys.
The reference material is where the hard-won detail lives, and it is unusually specific about silent failure modes: BatchSamplers.NO_DUPLICATES is required for the MNRL loss family; Cached* losses are incompatible with gradient checkpointing; activation_fn=Identity() is mandatory for non-BCE CrossEncoder losses or evaluation rank collapses without an error; save_steps must be a multiple of eval_steps for load_best_model_at_end; models should be loaded in fp32 with bf16/fp16 autocast rather than torch_dtype=bfloat16; and the ModernBERT family carries a max_seq_length=8192 trap.
Also covered: hard-negative mining, evaluator-to-task mapping, distillation, LoRA, Matryoshka embeddings, base-model selection per type, VRAM sizing with multi-GPU/FSDP/DeepSpeed guidance, running on Hugging Face Jobs, and publishing the finished model to the Hub.
The instructions your agent loads, as published by Hugging Face.
by Hugging Face
Fine-tune object detection, image classification and SAM/SAM2 segmentation models on Hugging Face Jobs cloud GPUs, with dataset validation before you spend GPU minutes.
by Hugging Face
Fine-tune language and vision models with TRL or Unsloth — supervised, preference, and reinforcement training methods.
Take an OpenSearch search application from requirements to a running cluster — BM25, dense and sparse vectors, hybrid retrieval, agentic search and RAG, with relevance evaluation built in.
by Weaviate
Weaviate's official skill for searching and managing vector collections — hybrid, semantic and keyword search, schema inspection, filtered fetches and bulk imports.