Skip to content

2.27.8

Choose a tag to compare

@KennethEnevoldsen KennethEnevoldsen released this 10 Nov 14:04
· 89 commits to main since this release

2.27.8 (2026-11-10)

Fix

  • fix: delegate pairwise similarity to the sentence-transformers model (#5864)

SentenceTransformerEncoderWrapper delegated similarity() to the wrapped
model but not similarity_pairwise(). For a model whose similarity_fn_name
is euclidean or manhattan, AbsEncoder.similarity_pairwise raised
"Similarity function not specified.", so STS and pair classification
tasks crashed. Pairwise scores now use the same function as similarity(). (f459fcb)

Unknown

  • import dataclass from the standard library in test_languages (#5862)

Signed-off-by: Ting Zhang <181050363+GPT-AGI@users.noreply.github.com>
Co-authored-by: Ting Zhang <181050363+GPT-AGI@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com> (2029daa)