Skip to content

(Bug) Update sentence_encoder.py: clamping cos_sim between -1 and 1 to avoid floating point precision errors in torch.acos(cos_sim)#804

Open
Aniloid2 wants to merge 1 commit intoQData:masterfrom Aniloid2:patch-1

Commits

Commits on Sep 19, 2024