Skip to content
IJK

Finetuning Sentence Transformers: The Components and the Trainer

By IJK ·

What a Hugging Face post says Sentence Transformers is, which components finetuning involves and what the trainer uses.

What the library is

Sentence Transformers is a Python library for using and training embedding models for a wide range of applications, such as retrieval augmented generation, semantic search, semantic textual similarity, paraphrase mining, and more. [1]

Which components finetuning involves

Finetuning Sentence Transformers involves several components, including datasets, loss functions, training arguments, evaluators, and the trainer itself. [2]

involvesincludesSentence Transformersa Python library for using and training embedding...Finetuning componentsdatasets, loss functions, training arguments, eva...SentenceTransformerTraineruses datasets.Dataset or datasets.DatasetDict ins...
What does finetuning involve?

What the trainer uses

The SentenceTransformerTrainer uses datasets.Dataset or datasets.DatasetDict instances for training and evaluation. [3]

Sources

  1. The Hugging Face source says: Sentence Transformers is a Python library for using and training embedding models for a wide range of applications, such as retrieval augmented generation, semantic search, semantic textual similarity, paraphrase mining, and more. Training and Finetuning Embedding Models with Sentence Transformers
  2. The Hugging Face source says: Finetuning Sentence Transformers involves several components, including datasets, loss functions, training arguments, evaluators, and the trainer itself. Training and Finetuning Embedding Models with Sentence Transformers
  3. The Hugging Face source says: The SentenceTransformerTrainer uses datasets.Dataset or datasets.DatasetDict instances for training and evaluation. Training and Finetuning Embedding Models with Sentence Transformers

Editorial (AI-assisted; automatically checked, not human-reviewed). Each statement is linked to its source; check the source before relying on a detail.

  • sentence transformers
  • embeddings
  • fine tuning
  • hugging face