Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
urigoren authored Oct 2, 2023
2 parents bf4ede9 + fc272de commit 1458a18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion splade4elastic/elastic_splade.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,4 +242,4 @@ def logits2weights(self, word_logits):
ret = [(w[0], np.exp(w[1])) for w in word_logits]
norm_factor = sum(w[1] for w in ret)
ret = [(w[0], w[1]/norm_factor) for w in ret]
return ret
return ret

0 comments on commit 1458a18

Please sign in to comment.