MyGit

v3.0.1

UKPLab/sentence-transformers

版本发布时间: 2024-06-07 21:01:30

UKPLab/sentence-transformers最新发布版本:v3.0.1(2024-06-07 21:01:30)

This patch release introduces some improvements for the SentenceTransformerTrainer, as well as some updates for the automatic model card generation. It also patches some minor evaluator bugs and a bug with MatryoshkaLoss. Lastly, every single Sentence Transformer model can now be saved and loaded with the safer model.safetensors files.

Install this version with

# Full installation:
pip install sentence-transformers[train]==3.0.1

# Inference only:
pip install sentence-transformers==3.0.1

SentenceTransformerTrainer improvements

Model Cards

This patch release improves on the automatically generated model cards in several ways:

...
# Download from the 🤗 Hub
model = SentenceTransformer("sentence_transformers_model_id")
...

This now gets replaced with your new model ID on Hugging Face (#2714)

Evaluators fixes

Losses fixes

Security

All changes

New Contributors

Full Changelog: https://github.com/UKPLab/sentence-transformers/compare/v3.0.0...v3.0.1

相关地址:原始地址 下载(tar) 下载(zip)

查看:2024-06-07发行的版本