train-sentence-transformers

Automate training and fine-tuning of sentence-transformers models for AI tasks.

10.9k|724|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/huggingface/skills --skill train-sentence-transformers-huggingface
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: train-sentence-transformers
Source: https://github.com/huggingface/skills/tree/main/skills/train-sentence-transformers
Command: npx skills add https://github.com/huggingface/skills --skill train-sentence-transformers-huggingface

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sentence-transformers, datasets, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the training and fine-tuning of sentence-transformers models for a variety of AI tasks, including retrieval, similarity, clustering, classification, paraphrase mining, deduplication, and multimodal tasks. It streamlines the process and helps improve model performance.

Core Features & Use Cases

  • Model Training and Fine-Tuning: Automate the training and fine-tuning process for sentence-transformers models.
  • Task Support: Supports various AI tasks like retrieval, similarity, clustering, classification, paraphrase mining, deduplication, and multimodal tasks.
  • Use Case: For example, you can use this Skill to train a sentence-transformers model for similarity search or clustering documents.

Quick Start

Run the skill with the following command: train-sentence-transformers <model_type> <dataset>

Frequently Asked Questions about train-sentence-transformers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fine-tune sentence-transformers models for semantic retrieval?

This Skill automates the training and fine-tuning of sentence-transformers models for retrieval tasks. It streamlines the process to help improve model performance on natural language processing workflows.

What natural language processing tasks can I train sentence-transformers for?

You can train sentence-transformers for retrieval, similarity, clustering, classification, paraphrase mining, deduplication, and multimodal tasks. The Skill automates training for these natural language processing workflows.

How do I start training a sentence-transformers model with my dataset?

Run the quick start command `train-sentence-transformers <model_type> <dataset>` to begin training. This automates the fine-tuning process for your specific natural language processing task.

Do I need the datasets library to train sentence-transformers models?

Yes, you need the `sentence-transformers` and `datasets` dependencies installed. These provide the necessary framework and data handling required to train and fine-tune your models.

Can I use sentence-transformers for paraphrase mining and deduplication?

Yes, you can train sentence-transformers for paraphrase mining and deduplication. The Skill supports automating the training process for these specific natural language processing applications.