CachedMultipleNegativesRankingLoss
Found in 1 package: sentence-transformers
sentence-transformers(5 releases)
v5.7.0BreakingThis release focuses on correctness and performance, rebuilding gradient-cached losses on a shared engine for faster training and fixing several gradient bugs. It also significantly improves inference speed when using `model.compile()`.
v5.6.0This minor release focuses on correctness and robustness, fixing silent scoring bugs related to chat-template truncation and improving stability for hard-negative mining and GIST losses. It also introduces MPS support and restores TSDAE functionality on recent `transformers` versions.
v5.3.0This minor release enhances contrastive learning with new loss formulations and hardness weighting for MultipleNegativesRankingLoss, and introduces memory-efficient CachedSpladeLoss and GlobalOrthogonalRegularizationLoss. Bug fixes include addressing issues with GroupByLabelBatchSampler.
v4.0.1BreakingVersion 4.0.1 introduces a complete overhaul of the CrossEncoder training pipeline with a new `CrossEncoderTrainer`, dataset‑based inputs, multi‑GPU and bf16 support, and many training‑related enhancements, while keeping inference unchanged.
v3.4.1Version 3.4.1 adds native Model2Vec support to SentenceTransformer and fixes several documentation and network‑request bugs.
Track Symbol Changes
Use the Change8 MCP server or GitHub Action to get notified when CachedMultipleNegativesRankingLoss changes.
Learn More