We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello @tomaarsen , I'm a student who loves using sentence-transformers library.
While looking at the codes, I thought that deduplication could be integrated in CachedGISTEmbedLoss (or just GISTEmbedLoss) by revising the code from
ap_sim[guided_ap_sim > guided_sim] = -torch.inf aa_sim[guided_aa_sim > guided_sim] = -torch.inf pp_sim[guided_pp_sim > guided_sim] = -torch.inf
to
ap_sim[guided_ap_sim >= guided_sim] = -torch.inf aa_sim[guided_aa_sim >= guided_sim] = -torch.inf pp_sim[guided_pp_sim >= guided_sim] = -torch.inf
Just adding the equal sign. How do you think about this?
The text was updated successfully, but these errors were encountered:
cc @JINO-ROHIT
Sorry, something went wrong.
Hi @yjoonjang @tomaarsen we are experimenting with the same in the issue #2756 , do have a look at my comments
Successfully merging a pull request may close this issue.
Hello @tomaarsen , I'm a student who loves using sentence-transformers library.
While looking at the codes, I thought that deduplication could be integrated in CachedGISTEmbedLoss (or just GISTEmbedLoss) by revising the code from
to
Just adding the equal sign. How do you think about this?
The text was updated successfully, but these errors were encountered: