You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(deps)(deps): Bump sentence-transformers from 6.0.0 to 6.2.0 - #55
v6.2.0 - Model merging, faster loading, and distributed evaluation
This release adds model merging for all four model types, reduces redundant Hub requests when loading models, and distributes evaluator inference across DDP ranks. It also includes lower-memory training losses, more flexible multi-vector compression, and fixes throughout inference, training, and evaluation.
Install this version with
# Inference only, use one of:
pip install sentence-transformers==6.2.0
pip install sentence-transformers[openvino]==6.2.0
Multimodal dependencies (optional):
pip install sentence-transformers[image]==6.2.0
pip install sentence-transformers[audio]==6.2.0
pip install sentence-transformers[video]==6.2.0
Training + Inference
pip install sentence-transformers[train]==6.2.0
pip install sentence-transformers[merge]==6.2.0
Or combine as needed:
pip install sentence-transformers[train,image]==6.2.0
Combine compatible fine-tuned checkpoints without another training run using SentenceTransformer.merge, SparseEncoder.merge, CrossEncoder.merge, or MultiVectorEncoder.merge. The integration uses Arcee AI's mergekit and supports well over a dozen methods such as Linear, SLERP, TIES, and DARE.
Install the merge extra with pip install "sentence-transformers[merge]". For example, take a weighted average of two compatible MiniLM models:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps sentence-transformers from 6.0.0 to 6.2.0.
Release notes
Sourced from sentence-transformers's releases.
... (truncated)
Commits
0b6937dRelease v6.2.045682edUpdate documentation announcement for v6.2 (#4243)aed573bForward gradient checkpointing options to Transformers (#4241)c7adf47Skip bfloat16 transformer head tests on affected Windows runners (#4242)1b4b624Fix blank rows in CrossEncoder and RRF evaluator CSVs on Windows (#4077)ea5435cTreat a string positive or negative as one document in RerankingEvaluator (#4...3a5232bFollow only duplicate pairs in the paraphrase mining transitive closure (#4120)7d64d3bKeep the RRF fusion order the same from run to run (#4067)67f11a3Evaluate the main similarity function in TripletEvaluator (#4088)fd6b188Accept a string main_score_function in NanoBEIREvaluator (#4034)