Join the conversation

Join the community of Machine Learners and AI enthusiasts.

Sign Up
tomaarsen 
posted an update Jan 29
Post
Sentence Transformers v2.3.0 has been released! It includes several bug fixes, enhanced model loading including custom models & no more unnecessary file downloads, improved performance, a powerful loss function, and much more!

Details:
⬆ Uploading Models to the Hub with save_to_hub.
⬇ Downloading Models from the Hub now downloads only necessary files.
⚙ Custom Models (such as jinaai/jina-embeddings-v2-base-de) can now be loaded with trust_remote_code=True.
🔍 Models can now be loaded at specific revisions (e.g. commit hashes or git branches).
🖥️ Various device fixes; models will now always operate on the device that you specify.
📉 A new "Cached" variant of the powerful Multiple Negatives Ranking Loss allows common hardware to reach performance previously only accessible on multi-gpu clusters.
🐎 Computation time of Community Detection was decreased significantly (7x speedup at 500k sentences :exploding_head:)
🪶 Removed the now unnecessary "torchvision" dependency for a smaller installation.

Check out the full changelog here: https://github.com/UKPLab/sentence-transformers/releases/tag/v2.3.0

I'll be working on much more changes in the near future, so expect more exciting updates. If you encounter any issues, or have any questions or feature requests, don't hesitate to open an issue on the repository: https://github.com/UKPLab/sentence-transformers/issues

I've just uploaded v2.3.1 as well! It includes a niche bug fix for some local models. See more details here: https://github.com/UKPLab/sentence-transformers/releases/tag/v2.3.1

In this post