Skip to content

(Bug) Update sentence_encoder.py

a995862
Select commit
Loading
Failed to load commit list.
Open

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

(Bug) Update sentence_encoder.py
a995862
Select commit
Loading
Failed to load commit list.

Workflow runs completed with no jobs