Skill / SKILL.md

Train Sentence Transformers

huggingface/skills

Train or fine-tune sentence-transformers models across `SentenceTransformer` (bi-encoder, dense or static embedding model for retrieval, similarity, clustering, classification, paraphrase mining, dedup, multimodal), `CrossEncoder` (reranker, pair scoring for two-stage retrieval / pair classification), `SparseEncoder` (SPLADE, sparse embedding model for learned-sparse retrieval), and `MultiVectorEncoder` (ColBERT / late-interaction, per-token embeddings scored with MaxSim). Covers loss selection, hard-negative mining, evaluators, distillation, LoRA, Matryoshka, and Hugging Face Hub publishing. Use for any sentence-transformers training task.
3 views 11,414 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Train or fine-tune sentence-transformers models across `SentenceTransformer` (bi-encoder, dense or static embedding model for retrieval, similarity, clustering, classification, paraphrase mining, dedup, multimodal), `CrossEncoder` (reranker, pair scoring for two-stage retrieval / pair classification), `SparseEncoder` (SPLADE, sparse embedding model for learned-sparse retrieval), and `MultiVectorEncoder` (ColBERT / late-interaction, per-token embeddings scored with MaxSim). Covers loss selection, hard-negative mining, evaluators, distillation, LoRA, Matryoshka, and Hugging Face Hub publishing. Use for any sentence-transformers training task.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/huggingface/skills' skill-source

Use the complete skill-source/skills/train-sentence-transformers directory with your client’s skill installer.

  • skills/train-sentence-transformers

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/train-sentence-transformers

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
31 included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
a37590f8cc36c18596e9c3ca1bc75950ed9e6e80996038e8ec0695a616f88aa7
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills