
train-sentence-transformers
Train or fine-tune sentence-transformers models across `SentenceTransformer`
by huggingfaceFree
Description
train-sentence-transformers is an agent skill that routes the work of training or fine-tuning sentence-transformers models. It does not hold the full training method itself. Instead it asks the agent to first identify the model type, then read the required references and copy a production training template from the skill's scripts folder. The four types are SentenceTransformer for bi-encoder embeddings used in retrieval, similarity, clustering and classification; CrossEncoder for rerankers that score a query and passage together; SparseEncoder for learned sparse vectors such as SPLADE; and MultiVectorEncoder for ColBERT-style late-interaction retrieval, including ColPali and ColQwen for multimodal work. The skill includes tiebreak rules, so a request for an embedding model or vector search maps to SentenceTransformer, while words like rerank or two-stage map to CrossEncoder. The templates hold scaffolding that the skill says earlier attempts often missed, such as seed and evaluator handling, so the agent should not write a training script from memory. It is installed with the skills command in a compatible agent.…
Highlights
- Routes to bi-encoder, reranker, sparse and ColBERT types
- Tiebreak rules for ambiguous requests
- Production training templates to copy
- Reference notes for losses, evaluators and training arguments
Ratings & Reviews
No ratings yet
Be the first to rate train-sentence-transformers.
People also visit

embedding-strategies
Select and optimize embedding models for semantic search and RAG applications

nemo-automodel-recipe-development
Create and modify NeMo AutoModel training and evaluation recipes
huggingface/hugging-face-model-trainer
Train models with TRL: SFT, DPO, GRPO, GGUF conversion
train-sentence-transformers FAQ
What does this skill do?
It guides an agent to pick the right sentence-transformers model type, read the matching references, and start from a tested training template.
Which model types does it cover?
SentenceTransformer bi-encoders, CrossEncoder rerankers, SparseEncoder SPLADE models and MultiVectorEncoder ColBERT-style models.
Why does it ask the agent to use templates?
The skill says that training scripts written from memory often leave out required setup, so it directs the agent to copy the per-type template.
How do I install it?
Run: npx skills add https://github.com/huggingface/skills --skill train-sentence-transformers
Is it free?
Yes. The skill is free to add to a compatible agent.
What security audits has it passed?
Gen Agent Trust Hub and Socket passed. Snyk shows a warning.
What are the best train-sentence-transformers alternatives?
Popular alternatives to train-sentence-transformers include fine-tuning-expert, embedding-strategies and nemo-automodel-recipe-development. See all train-sentence-transformers alternatives






