Breaking Changes in Sentence Transformers v6.0: transformers v5 Floor, API Shifts

tomaarsen · x · 2026-08-18

Key breaking changes in v6.0: transformers v5 & torch 2.2 are now the floor; similarity/similaritypairwise are methods, not properties; custom module classes need trustremotecode=True (local paths included); a bare list of chat messages is now one conversation, not a batch. The post also highlights that CrossEncoder.predict now upcasts logits to float32 before the activation, since sigmoid in bfloat16 saturates and randomizes top-candidate ordering — NanoBEIR nDCG@10 goes from 0.1849 to 0.6795.

Related event: Sentence Transformers v6.0 Ships Late-Interaction Multi-Vector Models(27 posts)→

Original post →

More from coding & agent

coding & agent channel →