train-sentence-transformers
A Hugging Face skill for training or fine-tuning models with the sentence-transformers library: dense or static embedding models, cross-encoder rerankers, SPLADE-style sparse encoders and ColBERT-style multi-vector encoders.
スキルの内容
A Hugging Face skill for training or fine-tuning models with the sentence-transformers library: dense or static embedding models, cross-encoder rerankers, SPLADE-style sparse encoders and ColBERT-style multi-vector encoders. The SKILL.md acts as a router: it helps the agent pick the model type, lists the reference files to read in full, sets defaults and constraints, and tells the agent to start from one of the bundled example training scripts rather than writing one from scratch. Bundled scripts cover distillation, LoRA, Matryoshka, multilingual and multi-dataset training, plus hard-negative mining.
できること
- Fine-tune embedding models with sentence-transformers
- Train cross-encoder rerankers
- Train sparse and multi-vector encoders
- Mine hard negatives for training data
概要
- 公開元
- Hugging Face
- ツール
- Hugging Face
インストール
- すべてのクライアントに追加するには、次のコマンドを実行します:
hf skills add train-sentence-transformers
含まれるファイル
- references/base_model_selection.md
- references/dataset_formats.md
- references/evaluators_cross_encoder.md
- references/evaluators_multi_vector_encoder.md
- references/evaluators_sentence_transformer.md
- references/evaluators_sparse_encoder.md
- references/hardware_guide.md
- references/hf_jobs_execution.md
- references/losses_cross_encoder.md
- references/losses_multi_vector_encoder.md
- references/losses_sentence_transformer.md
- references/losses_sparse_encoder.md
- references/model_architectures.md
- references/prompts_and_instructions.md
- references/training_args.md
- references/troubleshooting.md
- scripts/mine_hard_negatives.py
- scripts/train_cross_encoder_distillation_example.py
- scripts/train_cross_encoder_example.py
- scripts/train_cross_encoder_listwise_example.py
- scripts/train_multi_vector_encoder_example.py
- scripts/train_sentence_transformer_distillation_example.py
- scripts/train_sentence_transformer_example.py
- scripts/train_sentence_transformer_make_multilingual_example.py
- scripts/train_sentence_transformer_matryoshka_example.py
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
このスキルには、エージェントが実行する可能性のあるスクリプトが含まれています。
詳細
| 項目 | 内容 | 出典 |
|---|---|---|
| 種類 | スキル | |
| ツール | Hugging Face | |
| 公開元 | Hugging Face | 出典 |
| 公式かどうか | 公式Hugging Face Hub docs link to the huggingface/skills repository | 出典 |
| APIキーまたはサインインが必要 | ドキュメントに記載なし | |
| スクリプトを含む | はい | 出典 |
| プラットフォーム | ドキュメントに記載なし | |
| AIクライアント | Claude Code, Cursor, Codex, Gemini CLI | 出典 |
| ライセンス | Apache-2.0 | 出典 |
| 料金 | ドキュメントに記載なし | |
| 活動状況 | 最終コミット 2026年11月11日GitHubスター 11,334ダウンロード数のデータなし(npm・PyPIで未公開) | 出典 |
| リンク | リポジトリ Webサイト |
出典
- README(README.md)github.com/huggingface/skills · 根拠となる項目:AIクライアント2026年11月13日
- スキルファイル(SKILL.md)github.com/huggingface/skills2026年11月10日
- ライセンスファイル(LICENSE)github.com/huggingface/skills · 根拠となる項目:ライセンス2026年11月13日
- Webページhuggingface.co · 根拠となる項目:公式かどうか2026年11月13日
- GitHubリポジトリgithub.com/huggingface/skills · 根拠となる項目:公開元, 活動状況, ライセンス2026年11月11日
- リポジトリ内のフォルダ(train-sentence-transformers)github.com/huggingface/skills · 根拠となる項目:スクリプトを含む2026年11月10日